Class GenerateSpfRecordResults
GenerateSpfRecordResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GenerateSpfRecordResults")]
public class GenerateSpfRecordResults : IValidatableObject
Constructors
View SourceGenerateSpfRecordResults()
Initializes a new instance of the GenerateSpfRecordResults class.
Declaration
[JsonConstructor]
protected GenerateSpfRecordResults()
GenerateSpfRecordResults(string, TypeEnum, int, string, int, List<string>)
Initializes a new instance of the GenerateSpfRecordResults class.
Declaration
public GenerateSpfRecordResults(string name = null, GenerateSpfRecordResults.TypeEnum type = (GenerateSpfRecordResults.TypeEnum)0, int ttl = 0, string value = null, int estimatedLookupCount = 0, List<string> warnings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | name (required). |
| GenerateSpfRecordResults.TypeEnum | type | Domain Name Server Record Types (required). |
| int | ttl | ttl (required). |
| string | value | value (required). |
| int | estimatedLookupCount | estimatedLookupCount (required). |
| List<string> | warnings | warnings (required). |
Properties
View SourceEstimatedLookupCount
Gets or Sets EstimatedLookupCount
Declaration
[DataMember(Name = "estimatedLookupCount", IsRequired = true, EmitDefaultValue = true)]
public int EstimatedLookupCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ttl
Gets or Sets Ttl
Declaration
[DataMember(Name = "ttl", IsRequired = true, EmitDefaultValue = true)]
public int Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Type
Domain Name Server Record Types
Declaration
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public GenerateSpfRecordResults.TypeEnum Type { get; set; }
Property Value
| Type | Description |
|---|---|
| GenerateSpfRecordResults.TypeEnum | Domain Name Server Record Types |
Value
Gets or Sets Value
Declaration
[DataMember(Name = "value", IsRequired = true, EmitDefaultValue = true)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |