Table of Contents

Class EmailLogsListResponse

Namespace
Mailtrap.EmailLogs.Models
Assembly
Mailtrap.Abstractions.dll

Response for listing email logs.

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

Properties

Messages

Page of messages.

[JsonPropertyName("messages")]
public IList<EmailLogMessage> Messages { get; set; }

Property Value

IList<EmailLogMessage>

NextPageCursor

Message UUID to use as search_after for the next page, or null if no more pages.

[JsonPropertyName("next_page_cursor")]
public string? NextPageCursor { get; set; }

Property Value

string

TotalCount

Total number of messages matching the filters (before pagination).

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

Property Value

int