Search Results for

    Show / Hide Table of Contents

    Class DomainInformation

    DomainInformation

    Inheritance
    object
    DomainInformation
    Implements
    IEquatable<DomainInformation>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "DomainInformation")]
    public class DomainInformation : IEquatable<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

    Equals(DomainInformation)

    Returns true if DomainInformation instances are equal

    Declaration
    public bool Equals(DomainInformation input)
    Parameters
    Type Name Description
    DomainInformation input

    Instance of DomainInformation to be compared

    Returns
    Type Description
    bool

    Boolean

    View Source

    Equals(object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    object input

    Object to be compared

    Returns
    Type Description
    bool

    Boolean

    Overrides
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    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()
    View Source

    Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext

    Validation context

    Returns
    Type Description
    IEnumerable<ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.