Class TrackingOptOutFilter
- Namespace
- Mailtrap.TrackingOptOuts.Models
- Assembly
- Mailtrap.Abstractions.dll
Represents a set of filtering parameters for tracking opt-out fetching.
public sealed record TrackingOptOutFilter : IEquatable<TrackingOptOutFilter>
- Inheritance
-
TrackingOptOutFilter
- Implements
Properties
Gets or sets the email address to filter by.
public string? Email { get; set; }
Property Value
- string
Email address, matched case-insensitively.
EndTime
Gets or sets the upper bound of the creation timestamp.
public DateTimeOffset? EndTime { get; set; }
Property Value
- DateTimeOffset?
Only opt-outs created at or before this moment are returned.
LastId
Gets or sets the pagination cursor.
public string? LastId { get; set; }
Property Value
- string
Identifier from the previous response, to fetch records after it.
StartTime
Gets or sets the lower bound of the creation timestamp.
public DateTimeOffset? StartTime { get; set; }
Property Value
- DateTimeOffset?
Only opt-outs created at or after this moment are returned.