Table of Contents

Class TrackingOptOutList

Namespace
Mailtrap.TrackingOptOuts.Models
Assembly
Mailtrap.Abstractions.dll

Represents a page of tracking opt-outs together with the cursor for the next page.

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

Properties

Items

Gets the tracking opt-outs on this page.

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

Property Value

IList<TrackingOptOut>

Tracking opt-outs on this page.

LastId

Gets or sets the cursor for the next page.

[JsonPropertyName("last_id")]
[JsonPropertyOrder(2)]
public string? LastId { get; set; }

Property Value

string

Identifier to pass as the filter cursor, or null when there are no more pages.