Search Results for

    Show / Hide Table of Contents

    Class ConnectorSmtpConnectionDto

    ConnectorSmtpConnectionDto

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

    Constructors

    View Source

    ConnectorSmtpConnectionDto()

    Initializes a new instance of the ConnectorSmtpConnectionDto class.

    Declaration
    [JsonConstructor]
    protected ConnectorSmtpConnectionDto()
    View Source

    ConnectorSmtpConnectionDto(Guid, string, int?, string, string, bool?, bool?, List<string>, string, string, int?, bool?, bool?, string, List<string>, DateTime, Guid)

    Initializes a new instance of the ConnectorSmtpConnectionDto class.

    Declaration
    public ConnectorSmtpConnectionDto(Guid connectorId = default, string smtpHost = null, int? smtpPort = null, string smtpUsername = null, string smtpPassword = null, bool? smtpSsl = null, bool? startTls = null, List<string> smtpMechanisms = null, string localHostName = null, string proxyHost = null, int? proxyPort = null, bool? proxyEnabled = null, bool? enabled = null, string sslTrust = null, List<string> sslProtocols = null, DateTime createdAt = default, Guid id = default)
    Parameters
    Type Name Description
    Guid connectorId

    connectorId (required).

    string smtpHost

    smtpHost (required).

    int? smtpPort

    smtpPort.

    string smtpUsername

    smtpUsername.

    string smtpPassword

    smtpPassword.

    bool? smtpSsl

    smtpSsl.

    bool? startTls

    startTls.

    List<string> smtpMechanisms

    smtpMechanisms.

    string localHostName

    localHostName.

    string proxyHost

    proxyHost.

    int? proxyPort

    proxyPort.

    bool? proxyEnabled

    proxyEnabled.

    bool? enabled

    enabled.

    string sslTrust

    sslTrust.

    List<string> sslProtocols

    sslProtocols.

    DateTime createdAt

    createdAt (required).

    Guid id

    id (required).

    Properties

    View Source

    ConnectorId

    Gets or Sets ConnectorId

    Declaration
    [DataMember(Name = "connectorId", IsRequired = true, EmitDefaultValue = true)]
    public Guid ConnectorId { get; set; }
    Property Value
    Type Description
    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

    Enabled

    Gets or Sets Enabled

    Declaration
    [DataMember(Name = "enabled", EmitDefaultValue = true)]
    public bool? Enabled { 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
    Guid
    View Source

    LocalHostName

    Gets or Sets LocalHostName

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

    ProxyEnabled

    Gets or Sets ProxyEnabled

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

    ProxyHost

    Gets or Sets ProxyHost

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

    ProxyPort

    Gets or Sets ProxyPort

    Declaration
    [DataMember(Name = "proxyPort", EmitDefaultValue = true)]
    public int? ProxyPort { get; set; }
    Property Value
    Type Description
    int?
    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

    SmtpMechanisms

    Gets or Sets SmtpMechanisms

    Declaration
    [DataMember(Name = "smtpMechanisms", EmitDefaultValue = true)]
    public List<string> SmtpMechanisms { get; set; }
    Property Value
    Type Description
    List<string>
    View Source

    SmtpPassword

    Gets or Sets SmtpPassword

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

    SmtpPort

    Gets or Sets SmtpPort

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

    SmtpSsl

    Gets or Sets SmtpSsl

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

    SmtpUsername

    Gets or Sets SmtpUsername

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

    SslProtocols

    Gets or Sets SslProtocols

    Declaration
    [DataMember(Name = "sslProtocols", EmitDefaultValue = true)]
    public List<string> SslProtocols { get; set; }
    Property Value
    Type Description
    List<string>
    View Source

    SslTrust

    Gets or Sets SslTrust

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

    StartTls

    Gets or Sets StartTls

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