Class LookupTlsReportingDomainResults
LookupTlsReportingDomainResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "LookupTlsReportingDomainResults")]
public class LookupTlsReportingDomainResults : IEquatable<LookupTlsReportingDomainResults>, IValidatableObject
Constructors
View SourceLookupTlsReportingDomainResults()
Initializes a new instance of the LookupTlsReportingDomainResults class.
Declaration
[JsonConstructor]
protected LookupTlsReportingDomainResults()
LookupTlsReportingDomainResults(bool, DNSLookupOptions, List<DNSLookupResult>, List<string>, List<string>)
Initializes a new instance of the LookupTlsReportingDomainResults class.
Declaration
public LookupTlsReportingDomainResults(bool valid = false, DNSLookupOptions query = null, List<DNSLookupResult> records = 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). |
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> |
Methods
View SourceEquals(LookupTlsReportingDomainResults)
Returns true if LookupTlsReportingDomainResults instances are equal
Declaration
public bool Equals(LookupTlsReportingDomainResults input)
Parameters
Type | Name | Description |
---|---|---|
LookupTlsReportingDomainResults | input | Instance of LookupTlsReportingDomainResults 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 |