Search Results for

    Show / Hide Table of Contents

    Class CreateConnectorImapConnectionOptions

    Options for IMAP connection to external email inbox. Allows syncing emails iva IMAP.

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

    Constructors

    View Source

    CreateConnectorImapConnectionOptions()

    Initializes a new instance of the CreateConnectorImapConnectionOptions class.

    Declaration
    [JsonConstructor]
    protected CreateConnectorImapConnectionOptions()
    View Source

    CreateConnectorImapConnectionOptions(bool?, string, string, string, string, int?, string, bool?)

    Initializes a new instance of the CreateConnectorImapConnectionOptions class.

    Declaration
    public CreateConnectorImapConnectionOptions(bool? imapSsl = null, string imapUsername = null, string imapPassword = null, string selectFolder = null, string searchTerms = null, int? imapPort = null, string imapHost = null, bool? enabled = null)
    Parameters
    Type Name Description
    bool? imapSsl

    imapSsl.

    string imapUsername

    imapUsername.

    string imapPassword

    imapPassword.

    string selectFolder

    Optional folder to select during IMAP connection.

    string searchTerms

    searchTerms.

    int? imapPort

    IMAP server port.

    string imapHost

    IMAP server host (required).

    bool? enabled

    IMAP server enabled.

    Properties

    View Source

    Enabled

    IMAP server enabled

    Declaration
    [DataMember(Name = "enabled", EmitDefaultValue = true)]
    public bool? Enabled { get; set; }
    Property Value
    Type Description
    bool?

    IMAP server enabled

    View Source

    ImapHost

    IMAP server host

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

    IMAP server host

    View Source

    ImapPassword

    Gets or Sets ImapPassword

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

    ImapPort

    IMAP server port

    Declaration
    [DataMember(Name = "imapPort", EmitDefaultValue = true)]
    public int? ImapPort { get; set; }
    Property Value
    Type Description
    int?

    IMAP server port

    View Source

    ImapSsl

    Gets or Sets ImapSsl

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

    ImapUsername

    Gets or Sets ImapUsername

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

    SearchTerms

    Gets or Sets SearchTerms

    Declaration
    [DataMember(Name = "searchTerms", EmitDefaultValue = true)]
    public string SearchTerms { get; set; }
    Property Value
    Type Description
    string
    View Source

    SelectFolder

    Optional folder to select during IMAP connection

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

    Optional folder to select during IMAP connection

    Methods

    View Source

    Equals(CreateConnectorImapConnectionOptions)

    Returns true if CreateConnectorImapConnectionOptions instances are equal

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

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