Table of Contents

Class Pagination

Namespace
Mailtrap.Core.Models
Assembly
Mailtrap.Abstractions.dll

Represents page-token pagination metadata for a paginated list response.

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

Properties

CurrentUrl

Gets or sets the URL of the current page.

[JsonPropertyName("current_url")]
[JsonPropertyOrder(6)]
public Uri? CurrentUrl { get; set; }

Property Value

Uri

URL of the current page.

FirstUrl

Gets or sets the URL of the first page.

[JsonPropertyName("first_url")]
[JsonPropertyOrder(4)]
public Uri? FirstUrl { get; set; }

Property Value

Uri

URL of the first page.

NextToken

Gets or sets the next page number.

[JsonPropertyName("next_token")]
[JsonPropertyOrder(3)]
public int? NextToken { get; set; }

Property Value

int?

Next page number, or null on the last page.

NextUrl

Gets or sets the URL of the next page.

[JsonPropertyName("next_url")]
[JsonPropertyOrder(7)]
public Uri? NextUrl { get; set; }

Property Value

Uri

URL of the next page, or null on the last page.

PrevToken

Gets or sets the previous page number.

[JsonPropertyName("prev_token")]
[JsonPropertyOrder(2)]
public int? PrevToken { get; set; }

Property Value

int?

Previous page number, or null on the first page.

PrevUrl

Gets or sets the URL of the previous page.

[JsonPropertyName("prev_url")]
[JsonPropertyOrder(5)]
public Uri? PrevUrl { get; set; }

Property Value

Uri

URL of the previous page, or null on the first page.

Token

Gets or sets the current page number.

[JsonPropertyName("token")]
[JsonPropertyOrder(1)]
public int Token { get; set; }

Property Value

int

Current page number.