Class SuppressionFilter
- Namespace
- Mailtrap.Suppressions.Models
- Assembly
- Mailtrap.Abstractions.dll
Represents a set of filtering parameters for the suppression fetching.
public sealed record SuppressionFilter : IEquatable<SuppressionFilter>
- Inheritance
-
SuppressionFilter
- Implements
Properties
Gets or sets an email address of suppressions that will be returned by fetch.
If specified, only suppressions with particular email address are returned.
public string? Email { get; set; }
Property Value
- string
Email address of suppressions that will be returned by fetch.
EndTime
Gets or sets the upper bound of the creation timestamp.
public DateTimeOffset? EndTime { get; set; }
Property Value
- DateTimeOffset?
Only suppressions 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 suppressions created at or after this moment are returned.