Table of Contents

Class EmailCampaignList

Namespace
Mailtrap.EmailCampaigns.Models
Assembly
Mailtrap.Abstractions.dll

Represents a paginated page of email campaigns.

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

Properties

Data

Gets the page of email campaigns, newest first.

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

Property Value

IList<EmailCampaign>

Page of email campaigns.

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.