Search Results for

    Show / Hide Table of Contents

    Class ImapAccessDetails

    Access details for inbox using IMAP

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

    Constructors

    View Source

    ImapAccessDetails()

    Initializes a new instance of the ImapAccessDetails class.

    Declaration
    [JsonConstructor]
    protected ImapAccessDetails()
    View Source

    ImapAccessDetails(string, int, string, string, string, int, string, string, string)

    Initializes a new instance of the ImapAccessDetails class.

    Declaration
    public ImapAccessDetails(string secureImapServerHost = null, int secureImapServerPort = 0, string secureImapUsername = null, string secureImapPassword = null, string imapServerHost = null, int imapServerPort = 0, string imapUsername = null, string imapPassword = null, string imapMailbox = null)
    Parameters
    Type Name Description
    string secureImapServerHost

    Secure TLS IMAP server host domain (required).

    int secureImapServerPort

    Secure TLS IMAP server host port (required).

    string secureImapUsername

    Secure TLS IMAP username for login (required).

    string secureImapPassword

    Secure TLS IMAP password for login (required).

    string imapServerHost

    IMAP server host domain (required).

    int imapServerPort

    IMAP server host port (required).

    string imapUsername

    IMAP username for login (required).

    string imapPassword

    IMAP password for login (required).

    string imapMailbox

    IMAP mailbox to SELECT (required).

    Properties

    View Source

    ImapMailbox

    IMAP mailbox to SELECT

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

    IMAP mailbox to SELECT

    View Source

    ImapPassword

    IMAP password for login

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

    IMAP password for login

    View Source

    ImapServerHost

    IMAP server host domain

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

    IMAP server host domain

    View Source

    ImapServerPort

    IMAP server host port

    Declaration
    [DataMember(Name = "imapServerPort", IsRequired = true, EmitDefaultValue = true)]
    public int ImapServerPort { get; set; }
    Property Value
    Type Description
    int

    IMAP server host port

    View Source

    ImapUsername

    IMAP username for login

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

    IMAP username for login

    View Source

    SecureImapPassword

    Secure TLS IMAP password for login

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

    Secure TLS IMAP password for login

    View Source

    SecureImapServerHost

    Secure TLS IMAP server host domain

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

    Secure TLS IMAP server host domain

    View Source

    SecureImapServerPort

    Secure TLS IMAP server host port

    Declaration
    [DataMember(Name = "secureImapServerPort", IsRequired = true, EmitDefaultValue = true)]
    public int SecureImapServerPort { get; set; }
    Property Value
    Type Description
    int

    Secure TLS IMAP server host port

    View Source

    SecureImapUsername

    Secure TLS IMAP username for login

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

    Secure TLS IMAP username for login

    Methods

    View Source

    Equals(ImapAccessDetails)

    Returns true if ImapAccessDetails instances are equal

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

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