Table of Contents

Class StatsFilter

Namespace
Mailtrap.Stats.Models
Assembly
Mailtrap.Abstractions.dll

Represents a set of filtering parameters for the stats fetching.

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

Properties

Categories

Gets categories to filter by.

public IList<string> Categories { get; }

Property Value

IList<string>

EmailServiceProviders

Gets email service providers to filter by.

public IList<string> EmailServiceProviders { get; }

Property Value

IList<string>

EndDate

Gets or sets the end date for the stats period.

public string EndDate { get; set; }

Property Value

string

SendingDomainIds

Gets sending domain IDs to filter by.

public IList<long> SendingDomainIds { get; }

Property Value

IList<long>

SendingStreams

Gets sending streams to filter by.

public IList<string> SendingStreams { get; }

Property Value

IList<string>

StartDate

Gets or sets the start date for the stats period.

public string StartDate { get; set; }

Property Value

string