Search Results for

    Show / Hide Table of Contents

    Class DomainPreview

    Preview object for domain entity

    Inheritance
    object
    DomainPreview
    Implements
    IEquatable<DomainPreview>
    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 = "DomainPreview")]
    public class DomainPreview : IEquatable<DomainPreview>, IValidatableObject

    Constructors

    View Source

    DomainPreview()

    Initializes a new instance of the DomainPreview class.

    Declaration
    [JsonConstructor]
    protected DomainPreview()
    View Source

    DomainPreview(Guid, string, Guid?, DateTime, DomainTypeEnum, bool, bool)

    Initializes a new instance of the DomainPreview class.

    Declaration
    public DomainPreview(Guid id = default, string domain = null, Guid? catchAllInboxId = null, DateTime createdAt = default, DomainPreview.DomainTypeEnum domainType = (DomainPreview.DomainTypeEnum)0, bool isVerified = false, bool hasMissingRecords = false)
    Parameters
    Type Name Description
    System.Guid id

    id (required).

    string domain

    domain (required).

    System.Guid? catchAllInboxId

    catchAllInboxId.

    DateTime createdAt

    createdAt (required).

    DomainPreview.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).

    bool isVerified

    isVerified (required).

    bool hasMissingRecords

    hasMissingRecords (required).

    Properties

    View Source

    CatchAllInboxId

    Gets or Sets CatchAllInboxId

    Declaration
    [DataMember(Name = "catchAllInboxId", EmitDefaultValue = true)]
    public Guid? CatchAllInboxId { get; set; }
    Property Value
    Type Description
    System.Guid?
    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

    Domain

    Gets or Sets Domain

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

    HasMissingRecords

    Gets or Sets HasMissingRecords

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

    Id

    Gets or Sets Id

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

    IsVerified

    Gets or Sets IsVerified

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

    Methods

    View Source

    Equals(DomainPreview)

    Returns true if DomainPreview instances are equal

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

    Instance of DomainPreview 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.