Table of Contents

Class InboundThreadsListResponse

Namespace
Mailtrap.Inbound.Responses
Assembly
Mailtrap.Abstractions.dll

Response for listing inbound threads.

public sealed record InboundThreadsListResponse : IEquatable<InboundThreadsListResponse>
Inheritance
InboundThreadsListResponse
Implements

Properties

Data

Gets the page of threads.

[JsonPropertyName("data")]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public IList<InboundThread> Data { get; }

Property Value

IList<InboundThread>

Page of threads.

LastId

Gets or sets the pagination cursor to pass as lastId for the next page, or null when there are no more pages.

[JsonPropertyName("last_id")]
public string? LastId { get; set; }

Property Value

string

Pagination cursor, or null when there are no more pages.

TotalCount

Gets or sets the total number of threads in the inbox.

[JsonPropertyName("total_count")]
public int TotalCount { get; set; }

Property Value

int

Total number of threads in the inbox.