Table of Contents

Class CreateSendingDomainRequest

Namespace
Mailtrap.SendingDomains.Requests
Assembly
Mailtrap.Abstractions.dll

Request object for creating sending domain.

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

Constructors

CreateSendingDomainRequest(string)

Primary instance constructor.

public CreateSendingDomainRequest(string domainName)

Parameters

domainName string

Name for the domain to create.

Properties

DomainName

Gets sending domain name.

[JsonPropertyName("domain_name")]
[JsonPropertyOrder(1)]
public string DomainName { get; }

Property Value

string

Sending domain name.