Class CreateConnectorSmtpConnectionOptions
CreateConnectorSmtpConnectionOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateConnectorSmtpConnectionOptions")]
public class CreateConnectorSmtpConnectionOptions : IValidatableObject
Constructors
View SourceCreateConnectorSmtpConnectionOptions()
Initializes a new instance of the CreateConnectorSmtpConnectionOptions class.
Declaration
[JsonConstructor]
protected CreateConnectorSmtpConnectionOptions()
CreateConnectorSmtpConnectionOptions(bool?, string, int?, bool?, string, string, List<string>, bool?, string, string, int?, bool?, string, List<string>)
Initializes a new instance of the CreateConnectorSmtpConnectionOptions class.
Declaration
public CreateConnectorSmtpConnectionOptions(bool? enabled = null, string smtpHost = null, int? smtpPort = null, bool? smtpSsl = null, string smtpUsername = null, string smtpPassword = null, List<string> smtpMechanisms = null, bool? startTls = null, string localHostName = null, string proxyHost = null, int? proxyPort = null, bool? proxyEnabled = null, string sslTrust = null, List<string> sslProtocols = null)
Parameters
Type | Name | Description |
---|---|---|
bool? | enabled | enabled. |
string | smtpHost | smtpHost (required). |
int? | smtpPort | smtpPort. |
bool? | smtpSsl | smtpSsl. |
string | smtpUsername | smtpUsername. |
string | smtpPassword | smtpPassword. |
List<string> | smtpMechanisms | smtpMechanisms. |
bool? | startTls | startTls. |
string | localHostName | localHostName. |
string | proxyHost | proxyHost. |
int? | proxyPort | proxyPort. |
bool? | proxyEnabled | proxyEnabled. |
string | sslTrust | sslTrust. |
List<string> | sslProtocols | sslProtocols. |
Properties
View SourceEnabled
Gets or Sets Enabled
Declaration
[DataMember(Name = "enabled", EmitDefaultValue = true)]
public bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
LocalHostName
Gets or Sets LocalHostName
Declaration
[DataMember(Name = "localHostName", EmitDefaultValue = true)]
public string LocalHostName { get; set; }
Property Value
Type | Description |
---|---|
string |
ProxyEnabled
Gets or Sets ProxyEnabled
Declaration
[DataMember(Name = "proxyEnabled", EmitDefaultValue = true)]
public bool? ProxyEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ProxyHost
Gets or Sets ProxyHost
Declaration
[DataMember(Name = "proxyHost", EmitDefaultValue = true)]
public string ProxyHost { get; set; }
Property Value
Type | Description |
---|---|
string |
ProxyPort
Gets or Sets ProxyPort
Declaration
[DataMember(Name = "proxyPort", EmitDefaultValue = true)]
public int? ProxyPort { get; set; }
Property Value
Type | Description |
---|---|
int? |
SmtpHost
Gets or Sets SmtpHost
Declaration
[DataMember(Name = "smtpHost", IsRequired = true, EmitDefaultValue = true)]
public string SmtpHost { get; set; }
Property Value
Type | Description |
---|---|
string |
SmtpMechanisms
Gets or Sets SmtpMechanisms
Declaration
[DataMember(Name = "smtpMechanisms", EmitDefaultValue = true)]
public List<string> SmtpMechanisms { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
SmtpPassword
Gets or Sets SmtpPassword
Declaration
[DataMember(Name = "smtpPassword", EmitDefaultValue = true)]
public string SmtpPassword { get; set; }
Property Value
Type | Description |
---|---|
string |
SmtpPort
Gets or Sets SmtpPort
Declaration
[DataMember(Name = "smtpPort", EmitDefaultValue = true)]
public int? SmtpPort { get; set; }
Property Value
Type | Description |
---|---|
int? |
SmtpSsl
Gets or Sets SmtpSsl
Declaration
[DataMember(Name = "smtpSsl", EmitDefaultValue = true)]
public bool? SmtpSsl { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SmtpUsername
Gets or Sets SmtpUsername
Declaration
[DataMember(Name = "smtpUsername", EmitDefaultValue = true)]
public string SmtpUsername { get; set; }
Property Value
Type | Description |
---|---|
string |
SslProtocols
Gets or Sets SslProtocols
Declaration
[DataMember(Name = "sslProtocols", EmitDefaultValue = true)]
public List<string> SslProtocols { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
SslTrust
Gets or Sets SslTrust
Declaration
[DataMember(Name = "sslTrust", EmitDefaultValue = true)]
public string SslTrust { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTls
Gets or Sets StartTls
Declaration
[DataMember(Name = "startTls", EmitDefaultValue = true)]
public bool? StartTls { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |