Table of Contents

Class SendingDomainDnsRecord

Namespace
Mailtrap.SendingDomains.Models
Assembly
Mailtrap.Abstractions.dll

Represents sending domain DNS record information.

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

Properties

Domain

Gets the DNS record domain.

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

Property Value

string

DNS record domain.

Key

Gets DNS record key.

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

Property Value

string

DNS record key.

Name

Gets DNS record name.

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

Property Value

string

DNS record name.

Status

Gets DNS record status.

[JsonPropertyName("status")]
[JsonPropertyOrder(5)]
public SendingDomainDnsRecordStatus Status { get; set; }

Property Value

SendingDomainDnsRecordStatus

DNS record status.

Type

Gets DNS record type.

[JsonPropertyName("type")]
[JsonPropertyOrder(3)]
public string? Type { get; set; }

Property Value

string

DNS record type.

Value

Gets DNS record value.

[JsonPropertyName("value")]
[JsonPropertyOrder(4)]
public string? Value { get; set; }

Property Value

string

DNS record value.