Class LookupMtaStsDomainResults
LookupMtaStsDomainResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "LookupMtaStsDomainResults")]
public class LookupMtaStsDomainResults : IEquatable<LookupMtaStsDomainResults>, IValidatableObject
Constructors
View SourceLookupMtaStsDomainResults()
Initializes a new instance of the LookupMtaStsDomainResults class.
Declaration
[JsonConstructor]
protected LookupMtaStsDomainResults()
LookupMtaStsDomainResults(bool, DNSLookupOptions, List<DNSLookupResult>, string, bool, string, List<string>, List<string>)
Initializes a new instance of the LookupMtaStsDomainResults class.
Declaration
public LookupMtaStsDomainResults(bool valid = false, DNSLookupOptions query = null, List<DNSLookupResult> records = null, string wellKnownQuery = null, bool wellKnownPresent = false, string wellKnownValue = null, List<string> errors = null, List<string> warnings = null)
Parameters
Type | Name | Description |
---|---|---|
bool | valid | valid (required). |
DNSLookupOptions | query | query (required). |
System.Collections.Generic.List<T><DNSLookupResult> | records | records (required). |
string | wellKnownQuery | wellKnownQuery (required). |
bool | wellKnownPresent | wellKnownPresent (required). |
string | wellKnownValue | wellKnownValue (required). |
System.Collections.Generic.List<T><string> | errors | errors (required). |
System.Collections.Generic.List<T><string> | warnings | warnings (required). |
Properties
View SourceErrors
Gets or Sets Errors
Declaration
[DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = true)]
public List<string> Errors { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><string> |
Query
Gets or Sets Query
Declaration
[DataMember(Name = "query", IsRequired = true, EmitDefaultValue = true)]
public DNSLookupOptions Query { get; set; }
Property Value
Type | Description |
---|---|
DNSLookupOptions |
Records
Gets or Sets Records
Declaration
[DataMember(Name = "records", IsRequired = true, EmitDefaultValue = true)]
public List<DNSLookupResult> Records { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><DNSLookupResult> |
Valid
Gets or Sets Valid
Declaration
[DataMember(Name = "valid", IsRequired = true, EmitDefaultValue = true)]
public bool Valid { get; set; }
Property Value
Type | Description |
---|---|
bool |
Warnings
Gets or Sets Warnings
Declaration
[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = true)]
public List<string> Warnings { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><string> |
WellKnownPresent
Gets or Sets WellKnownPresent
Declaration
[DataMember(Name = "wellKnownPresent", IsRequired = true, EmitDefaultValue = true)]
public bool WellKnownPresent { get; set; }
Property Value
Type | Description |
---|---|
bool |
WellKnownQuery
Gets or Sets WellKnownQuery
Declaration
[DataMember(Name = "wellKnownQuery", IsRequired = true, EmitDefaultValue = true)]
public string WellKnownQuery { get; set; }
Property Value
Type | Description |
---|---|
string |
WellKnownValue
Gets or Sets WellKnownValue
Declaration
[DataMember(Name = "wellKnownValue", IsRequired = true, EmitDefaultValue = true)]
public string WellKnownValue { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceEquals(LookupMtaStsDomainResults)
Returns true if LookupMtaStsDomainResults instances are equal
Declaration
public bool Equals(LookupMtaStsDomainResults input)
Parameters
Type | Name | Description |
---|---|---|
LookupMtaStsDomainResults | input | Instance of LookupMtaStsDomainResults to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Equals(object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
object | input | Object to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Overrides
View SourceGetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Hash code |
Overrides
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 |
Overrides
Validate(ValidationContext)
To validate all properties of the instance
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
IEnumerable<ValidationResult> | Validation Result |