Class CreateConnectorOptions
Options for creating an inbox connection with an external mail provider
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateConnectorOptions")]
public class CreateConnectorOptions : IValidatableObject
Constructors
View SourceCreateConnectorOptions(string, string, bool?)
Initializes a new instance of the CreateConnectorOptions class.
Declaration
public CreateConnectorOptions(string name = null, string emailAddress = null, bool? enabled = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of connector. |
string | emailAddress | Email address of external inbox. |
bool? | enabled | Is connector enabled. |
Properties
View SourceEmailAddress
Email address of external inbox
Declaration
[DataMember(Name = "emailAddress", EmitDefaultValue = true)]
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string | Email address of external inbox |
Enabled
Is connector enabled
Declaration
[DataMember(Name = "enabled", EmitDefaultValue = true)]
public bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Is connector enabled |
Name
Name of connector
Declaration
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of connector |
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 |