Search Results for

    Show / Hide Table of Contents

    Class DomainInformation

    DomainInformation

    Inheritance
    object
    DomainInformation
    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 = "DomainInformation")]
    public class DomainInformation : IValidatableObject

    Constructors

    View Source

    DomainInformation()

    Initializes a new instance of the DomainInformation class.

    Declaration
    [JsonConstructor]
    protected DomainInformation()
    View Source

    DomainInformation(string, bool, DomainTypeEnum)

    Initializes a new instance of the DomainInformation class.

    Declaration
    public DomainInformation(string domainName = null, bool verified = false, DomainInformation.DomainTypeEnum domainType = (DomainInformation.DomainTypeEnum)0)
    Parameters
    Type Name Description
    string domainName

    domainName (required).

    bool verified

    verified (required).

    DomainInformation.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

    DomainName

    Gets or Sets DomainName

    Declaration
    [DataMember(Name = "domainName", IsRequired = true, EmitDefaultValue = true)]
    public string DomainName { get; set; }
    Property Value
    Type Description
    string
    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 DomainInformation.DomainTypeEnum DomainType { get; set; }
    Property Value
    Type Description
    DomainInformation.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

    Verified

    Gets or Sets Verified

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

    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.