Search Results for

    Show / Hide Table of Contents

    Class ProviderSettings

    ProviderSettings

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

    Constructors

    View Source

    ProviderSettings()

    Initializes a new instance of the ProviderSettings class.

    Declaration
    [JsonConstructor]
    protected ProviderSettings()
    View Source

    ProviderSettings(MailProviderEnum, string, int, bool, bool, string, int, bool, bool)

    Initializes a new instance of the ProviderSettings class.

    Declaration
    public ProviderSettings(ProviderSettings.MailProviderEnum mailProvider = (ProviderSettings.MailProviderEnum)0, string imapHost = null, int imapPort = 0, bool imapSsl = false, bool imapStartTls = false, string smtpHost = null, int smtpPort = 0, bool smtpSsl = false, bool smtpStartTls = false)
    Parameters
    Type Name Description
    ProviderSettings.MailProviderEnum mailProvider

    mailProvider (required).

    string imapHost

    imapHost (required).

    int imapPort

    imapPort (required).

    bool imapSsl

    imapSsl (required).

    bool imapStartTls

    imapStartTls.

    string smtpHost

    smtpHost (required).

    int smtpPort

    smtpPort (required).

    bool smtpSsl

    smtpSsl (required).

    bool smtpStartTls

    smtpStartTls.

    Properties

    View Source

    ImapHost

    Gets or Sets ImapHost

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

    ImapPort

    Gets or Sets ImapPort

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

    ImapSsl

    Gets or Sets ImapSsl

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

    ImapStartTls

    Gets or Sets ImapStartTls

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

    MailProvider

    Gets or Sets MailProvider

    Declaration
    [DataMember(Name = "mailProvider", IsRequired = true, EmitDefaultValue = true)]
    public ProviderSettings.MailProviderEnum MailProvider { get; set; }
    Property Value
    Type Description
    ProviderSettings.MailProviderEnum
    View Source

    SmtpHost

    Gets or Sets SmtpHost

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

    SmtpPort

    Gets or Sets SmtpPort

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

    SmtpSsl

    Gets or Sets SmtpSsl

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

    SmtpStartTls

    Gets or Sets SmtpStartTls

    Declaration
    [DataMember(Name = "smtpStartTls", EmitDefaultValue = true)]
    public bool SmtpStartTls { 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.