Class CreateConnectorImapConnectionOptions
Options for IMAP connection to external email inbox. Allows syncing emails via IMAP.
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateConnectorImapConnectionOptions")]
public class CreateConnectorImapConnectionOptions : IValidatableObject
Constructors
View SourceCreateConnectorImapConnectionOptions()
Initializes a new instance of the CreateConnectorImapConnectionOptions class.
Declaration
[JsonConstructor]
protected CreateConnectorImapConnectionOptions()
CreateConnectorImapConnectionOptions(bool?, string, string, string, string, int?, string, bool?, bool?, bool?, int?, string, string, List<string>, string, List<string>)
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, bool? startTls = null, bool? proxyEnabled = null, int? proxyPort = null, string proxyHost = null, string localHostName = null, List<string> mechanisms = null, string sslTrust = null, List<string> sslProtocols = 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. |
| bool? | startTls | startTls. |
| bool? | proxyEnabled | proxyEnabled. |
| int? | proxyPort | proxyPort. |
| string | proxyHost | proxyHost. |
| string | localHostName | localHostName. |
| List<string> | mechanisms | List of IMAP mechanisms. |
| string | sslTrust | sslTrust. |
| List<string> | sslProtocols | List of SSL protocols. |
Properties
View SourceEnabled
IMAP server enabled
Declaration
[DataMember(Name = "enabled", EmitDefaultValue = true)]
public bool? Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | IMAP server enabled |
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 |
ImapPassword
Gets or Sets ImapPassword
Declaration
[DataMember(Name = "imapPassword", EmitDefaultValue = true)]
public string ImapPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImapPort
IMAP server port
Declaration
[DataMember(Name = "imapPort", EmitDefaultValue = true)]
public int? ImapPort { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | IMAP server port |
ImapSsl
Gets or Sets ImapSsl
Declaration
[DataMember(Name = "imapSsl", EmitDefaultValue = true)]
public bool? ImapSsl { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ImapUsername
Gets or Sets ImapUsername
Declaration
[DataMember(Name = "imapUsername", EmitDefaultValue = true)]
public string ImapUsername { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LocalHostName
Gets or Sets LocalHostName
Declaration
[DataMember(Name = "localHostName", EmitDefaultValue = true)]
public string LocalHostName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Mechanisms
List of IMAP mechanisms
Declaration
[DataMember(Name = "mechanisms", EmitDefaultValue = true)]
public List<string> Mechanisms { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | List of IMAP mechanisms |
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? |
SearchTerms
Gets or Sets SearchTerms
Declaration
[DataMember(Name = "searchTerms", EmitDefaultValue = true)]
public string SearchTerms { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
SslProtocols
List of SSL protocols
Declaration
[DataMember(Name = "sslProtocols", EmitDefaultValue = true)]
public List<string> SslProtocols { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | List of SSL protocols |
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 |