Table of Contents

Class TemplateList

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

Represents a paginated page of templates.

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

Properties

Data

Gets the page of templates.

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

Property Value

IList<Template>

Page of templates.

Pagination

Gets or sets the page-token pagination metadata.

[JsonPropertyName("pagination")]
[JsonPropertyOrder(2)]
public Pagination? Pagination { get; set; }

Property Value

Pagination

Pagination metadata, or null when not present.