Class LookupSpfDomainResults
LookupSpfDomainResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "LookupSpfDomainResults")]
public class LookupSpfDomainResults : IValidatableObject
Constructors
View SourceLookupSpfDomainResults()
Initializes a new instance of the LookupSpfDomainResults class.
Declaration
[JsonConstructor]
protected LookupSpfDomainResults()
LookupSpfDomainResults(bool, string, string, string, int, List<SpfMechanismResult>, List<string>, List<string>)
Initializes a new instance of the LookupSpfDomainResults class.
Declaration
public LookupSpfDomainResults(bool valid = false, string host = null, string record = null, string flattenedRecord = null, int lookupCount = 0, List<SpfMechanismResult> mechanisms = null, List<string> warnings = null, List<string> errors = null)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | valid | valid (required). |
| string | host | host (required). |
| string | record | record. |
| string | flattenedRecord | flattenedRecord. |
| int | lookupCount | lookupCount (required). |
| List<SpfMechanismResult> | mechanisms | mechanisms (required). |
| List<string> | warnings | warnings (required). |
| List<string> | errors | errors (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 |
|---|---|
| List<string> |
FlattenedRecord
Gets or Sets FlattenedRecord
Declaration
[DataMember(Name = "flattenedRecord", EmitDefaultValue = false)]
public string FlattenedRecord { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Host
Gets or Sets Host
Declaration
[DataMember(Name = "host", IsRequired = true, EmitDefaultValue = true)]
public string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LookupCount
Gets or Sets LookupCount
Declaration
[DataMember(Name = "lookupCount", IsRequired = true, EmitDefaultValue = true)]
public int LookupCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Mechanisms
Gets or Sets Mechanisms
Declaration
[DataMember(Name = "mechanisms", IsRequired = true, EmitDefaultValue = true)]
public List<SpfMechanismResult> Mechanisms { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SpfMechanismResult> |
Record
Gets or Sets Record
Declaration
[DataMember(Name = "record", EmitDefaultValue = false)]
public string Record { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
|---|---|
| List<string> |
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 |