Table of Contents

Class TemplateListFilter

Namespace
Mailtrap.Templates.Models
Assembly
Mailtrap.Abstractions.dll

Represents a set of pagination parameters for listing templates.

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

Properties

PerPage

Gets or sets the number of templates per page.

public int? PerPage { get; set; }

Property Value

int?

Number of templates per page. The API clamps the value rather than rejecting it: below 1 becomes 50 and above 100 becomes 100.

Token

Gets or sets the page number to retrieve (page-token pagination).

public int? Token { get; set; }

Property Value

int?

Page number to retrieve. Defaults to 1 when not specified.