Class DescribeMailServerDomainResult
Name Server lookup result
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DescribeMailServerDomainResult")]
public class DescribeMailServerDomainResult : IValidatableObject
Constructors
View SourceDescribeMailServerDomainResult()
Initializes a new instance of the Describe
Declaration
[JsonConstructor]
protected DescribeMailServerDomainResult()
DescribeMailServerDomainResult(List<NameServerRecord>, string, string)
Initializes a new instance of the Describe
Declaration
public DescribeMailServerDomainResult(List<NameServerRecord> mxRecords = null, string domain = null, string message = null)
Parameters
Type | Name | Description |
---|---|---|
List<Name |
mxRecords | mxRecords (required). |
string | domain | domain (required). |
string | message | message. |
Properties
View SourceDomain
Gets or Sets Domain
Declaration
[DataMember(Name = "domain", IsRequired = true, EmitDefaultValue = true)]
public string Domain { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
Gets or Sets Message
Declaration
[DataMember(Name = "message", EmitDefaultValue = true)]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
MxRecords
Gets or Sets MxRecords
Declaration
[DataMember(Name = "mxRecords", IsRequired = true, EmitDefaultValue = true)]
public List<NameServerRecord> MxRecords { get; set; }
Property Value
Type | Description |
---|---|
List<Name |
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 |