Class LookupSpfDomainOptions
LookupSpfDomainOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "LookupSpfDomainOptions")]
public class LookupSpfDomainOptions : IValidatableObject
Constructors
View SourceLookupSpfDomainOptions()
Initializes a new instance of the LookupSpfDomainOptions class.
Declaration
[JsonConstructor]
protected LookupSpfDomainOptions()
LookupSpfDomainOptions(string)
Initializes a new instance of the LookupSpfDomainOptions class.
Declaration
public LookupSpfDomainOptions(string host = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | host | Root domain to inspect for SPF (required). |
Properties
View SourceHost
Root domain to inspect for SPF
Declaration
[DataMember(Name = "host", IsRequired = true, EmitDefaultValue = true)]
public string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Root domain to inspect for SPF |
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 |