Table of Contents

Class BlacklistReportItem

Namespace
Mailtrap.TestingMessages.Models
Assembly
Mailtrap.Abstractions.dll

Represents blacklist report entry from a particular reporting resource.

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

Properties

Blacklisted

Gets flag indicating if message was put in a black list.

[JsonPropertyName("in_black_list")]
[JsonPropertyOrder(3)]
public bool? Blacklisted { get; set; }

Property Value

bool?

true if the message was put in black list.
false otherwise.

Name

Gets name of the reporting resource.

[JsonPropertyName("name")]
[JsonPropertyOrder(1)]
public string? Name { get; set; }

Property Value

string

Name of the reporting resource.

Url

Gets URL of the reporting resource.

[JsonPropertyName("url")]
[JsonPropertyOrder(2)]
public Uri? Url { get; set; }

Property Value

Uri

URL of the reporting resource.