Class DomainRegionInformation
DomainRegionInformation
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DomainRegionInformation")]
public class DomainRegionInformation : IValidatableObject
Constructors
View SourceDomainRegionInformation()
Initializes a new instance of the DomainRegionInformation class.
Declaration
[JsonConstructor]
protected DomainRegionInformation()
DomainRegionInformation(string, bool, DomainTypeEnum, AccountRegionEnum?, bool, bool, bool)
Initializes a new instance of the DomainRegionInformation class.
Declaration
public DomainRegionInformation(string domainName = null, bool verified = false, DomainRegionInformation.DomainTypeEnum domainType = (DomainRegionInformation.DomainTypeEnum)0, DomainRegionInformation.AccountRegionEnum? accountRegion = null, bool creationEnabled = false, bool sendingEnabled = false, bool active = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | domainName | domainName (required). |
| bool | verified | verified (required). |
| DomainRegionInformation.DomainTypeEnum | domainType | Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. (required). |
| DomainRegionInformation.AccountRegionEnum? | accountRegion | accountRegion. |
| bool | creationEnabled | creationEnabled (required). |
| bool | sendingEnabled | sendingEnabled (required). |
| bool | active | active (required). |
Properties
View SourceAccountRegion
Gets or Sets AccountRegion
Declaration
[DataMember(Name = "accountRegion", EmitDefaultValue = true)]
public DomainRegionInformation.AccountRegionEnum? AccountRegion { get; set; }
Property Value
| Type | Description |
|---|---|
| DomainRegionInformation.AccountRegionEnum? |
Active
Gets or Sets Active
Declaration
[DataMember(Name = "active", IsRequired = true, EmitDefaultValue = true)]
public bool Active { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CreationEnabled
Gets or Sets CreationEnabled
Declaration
[DataMember(Name = "creationEnabled", IsRequired = true, EmitDefaultValue = true)]
public bool CreationEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DomainName
Gets or Sets DomainName
Declaration
[DataMember(Name = "domainName", IsRequired = true, EmitDefaultValue = true)]
public string DomainName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DomainType
Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
Declaration
[DataMember(Name = "domainType", IsRequired = true, EmitDefaultValue = true)]
public DomainRegionInformation.DomainTypeEnum DomainType { get; set; }
Property Value
| Type | Description |
|---|---|
| DomainRegionInformation.DomainTypeEnum | Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. |
SendingEnabled
Gets or Sets SendingEnabled
Declaration
[DataMember(Name = "sendingEnabled", IsRequired = true, EmitDefaultValue = true)]
public bool SendingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Verified
Gets or Sets Verified
Declaration
[DataMember(Name = "verified", IsRequired = true, EmitDefaultValue = true)]
public bool Verified { 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 |