Search Results for

    Show / Hide Table of Contents

    Class DomainDto

    Domain plus verification records and status

    Inheritance
    object
    DomainDto
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "DomainDto")]
    public class DomainDto : IValidatableObject

    Constructors

    View Source

    DomainDto()

    Initializes a new instance of the DomainDto class.

    Declaration
    [JsonConstructor]
    protected DomainDto()
    View Source

    DomainDto(Guid, Guid, string, string, List<string>, string, bool, string, bool, bool, List<DomainNameRecord>, Guid?, DateTime, DateTime, DomainTypeEnum)

    Initializes a new instance of the DomainDto class.

    Declaration
    public DomainDto(Guid id = default, Guid userId = default, string domain = null, string verificationToken = null, List<string> dkimTokens = null, string duplicateRecordsMessage = null, bool hasDuplicateRecords = false, string missingRecordsMessage = null, bool hasMissingRecords = false, bool isVerified = false, List<DomainNameRecord> domainNameRecords = null, Guid? catchAllInboxId = null, DateTime createdAt = default, DateTime updatedAt = default, DomainDto.DomainTypeEnum domainType = (DomainDto.DomainTypeEnum)0)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid userId

    userId (required).

    string domain

    Custom domain name (required).

    string verificationToken

    Verification tokens (required).

    List<string> dkimTokens

    Unique token DKIM tokens (required).

    string duplicateRecordsMessage

    If the domain is duplicate records..

    bool hasDuplicateRecords

    Whether the domain has duplicated required records. If true then see the domain in the dashboard app. (required).

    string missingRecordsMessage

    If the domain is missing records then show which pairs are missing..

    bool hasMissingRecords

    Whether the domain has missing required records. If true then see the domain in the dashboard app. (required).

    bool isVerified

    Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records. (required).

    List<DomainNameRecord> domainNameRecords

    List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider. (required).

    Guid? catchAllInboxId

    The optional catch all inbox that will receive emails sent to the domain that cannot be matched..

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    DomainDto.DomainTypeEnum domainType

    Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. (required).

    Properties

    View Source

    CatchAllInboxId

    The optional catch all inbox that will receive emails sent to the domain that cannot be matched.

    Declaration
    [DataMember(Name = "catchAllInboxId", EmitDefaultValue = true)]
    public Guid? CatchAllInboxId { get; set; }
    Property Value
    Type Description
    Guid?

    The optional catch all inbox that will receive emails sent to the domain that cannot be matched.

    View Source

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    DkimTokens

    Unique token DKIM tokens

    Declaration
    [DataMember(Name = "dkimTokens", IsRequired = true, EmitDefaultValue = true)]
    public List<string> DkimTokens { get; set; }
    Property Value
    Type Description
    List<string>

    Unique token DKIM tokens

    View Source

    Domain

    Custom domain name

    Declaration
    [DataMember(Name = "domain", IsRequired = true, EmitDefaultValue = true)]
    public string Domain { get; set; }
    Property Value
    Type Description
    string

    Custom domain name

    View Source

    DomainNameRecords

    List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.

    Declaration
    [DataMember(Name = "domainNameRecords", IsRequired = true, EmitDefaultValue = true)]
    public List<DomainNameRecord> DomainNameRecords { get; set; }
    Property Value
    Type Description
    List<DomainNameRecord>

    List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.

    View Source

    DomainType

    Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.

    Declaration
    [DataMember(Name = "domainType", IsRequired = true, EmitDefaultValue = true)]
    public DomainDto.DomainTypeEnum DomainType { get; set; }
    Property Value
    Type Description
    DomainDto.DomainTypeEnum

    Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.

    View Source

    DuplicateRecordsMessage

    If the domain is duplicate records.

    Declaration
    [DataMember(Name = "duplicateRecordsMessage", EmitDefaultValue = true)]
    public string DuplicateRecordsMessage { get; set; }
    Property Value
    Type Description
    string

    If the domain is duplicate records.

    View Source

    HasDuplicateRecords

    Whether the domain has duplicated required records. If true then see the domain in the dashboard app.

    Declaration
    [DataMember(Name = "hasDuplicateRecords", IsRequired = true, EmitDefaultValue = true)]
    public bool HasDuplicateRecords { get; set; }
    Property Value
    Type Description
    bool

    Whether the domain has duplicated required records. If true then see the domain in the dashboard app.

    View Source

    HasMissingRecords

    Whether the domain has missing required records. If true then see the domain in the dashboard app.

    Declaration
    [DataMember(Name = "hasMissingRecords", IsRequired = true, EmitDefaultValue = true)]
    public bool HasMissingRecords { get; set; }
    Property Value
    Type Description
    bool

    Whether the domain has missing required records. If true then see the domain in the dashboard app.

    View Source

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    IsVerified

    Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records.

    Declaration
    [DataMember(Name = "isVerified", IsRequired = true, EmitDefaultValue = true)]
    public bool IsVerified { get; set; }
    Property Value
    Type Description
    bool

    Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records.

    View Source

    MissingRecordsMessage

    If the domain is missing records then show which pairs are missing.

    Declaration
    [DataMember(Name = "missingRecordsMessage", EmitDefaultValue = true)]
    public string MissingRecordsMessage { get; set; }
    Property Value
    Type Description
    string

    If the domain is missing records then show which pairs are missing.

    View Source

    UpdatedAt

    Gets or Sets UpdatedAt

    Declaration
    [DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    UserId

    Gets or Sets UserId

    Declaration
    [DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
    public Guid UserId { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    VerificationToken

    Verification tokens

    Declaration
    [DataMember(Name = "verificationToken", IsRequired = true, EmitDefaultValue = true)]
    public string VerificationToken { get; set; }
    Property Value
    Type Description
    string

    Verification tokens

    Methods

    View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.