Class GenerateMtaStsRecordResults
GenerateMtaStsRecordResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GenerateMtaStsRecordResults")]
public class GenerateMtaStsRecordResults : IEquatable<GenerateMtaStsRecordResults>, IValidatableObject
Constructors
View SourceGenerateMtaStsRecordResults()
Initializes a new instance of the GenerateMtaStsRecordResults class.
Declaration
[JsonConstructor]
protected GenerateMtaStsRecordResults()
GenerateMtaStsRecordResults(string, TypeEnum, int, string, string, string)
Initializes a new instance of the GenerateMtaStsRecordResults class.
Declaration
public GenerateMtaStsRecordResults(string name = null, GenerateMtaStsRecordResults.TypeEnum type = (GenerateMtaStsRecordResults.TypeEnum)0, int ttl = 0, string value = null, string wellKnownValue = null, string wellKnownUrl = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | name (required). |
GenerateMtaStsRecordResults.TypeEnum | type | Domain Name Server Record Types (required). |
int | ttl | ttl (required). |
string | value | value (required). |
string | wellKnownValue | wellKnownValue (required). |
string | wellKnownUrl | wellKnownUrl (required). |
Properties
View SourceName
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 GenerateMtaStsRecordResults.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
GenerateMtaStsRecordResults.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 |
WellKnownUrl
Gets or Sets WellKnownUrl
Declaration
[DataMember(Name = "wellKnownUrl", IsRequired = true, EmitDefaultValue = true)]
public string WellKnownUrl { 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(GenerateMtaStsRecordResults)
Returns true if GenerateMtaStsRecordResults instances are equal
Declaration
public bool Equals(GenerateMtaStsRecordResults input)
Parameters
Type | Name | Description |
---|---|---|
GenerateMtaStsRecordResults | input | Instance of GenerateMtaStsRecordResults 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 |