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