Search Results for

    Show / Hide Table of Contents

    Class GenerateDmarcRecordResults

    GenerateDmarcRecordResults

    Inheritance
    object
    GenerateDmarcRecordResults
    Implements
    IEquatable<GenerateDmarcRecordResults>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "GenerateDmarcRecordResults")]
    public class GenerateDmarcRecordResults : IEquatable<GenerateDmarcRecordResults>, IValidatableObject

    Constructors

    View Source

    GenerateDmarcRecordResults()

    Initializes a new instance of the GenerateDmarcRecordResults class.

    Declaration
    [JsonConstructor]
    protected GenerateDmarcRecordResults()
    View Source

    GenerateDmarcRecordResults(string, TypeEnum, int, string)

    Initializes a new instance of the GenerateDmarcRecordResults class.

    Declaration
    public GenerateDmarcRecordResults(string name = null, GenerateDmarcRecordResults.TypeEnum type = (GenerateDmarcRecordResults.TypeEnum)0, int ttl = 0, string value = null)
    Parameters
    Type Name Description
    string name

    name (required).

    GenerateDmarcRecordResults.TypeEnum type

    Domain Name Server Record Types (required).

    int ttl

    ttl (required).

    string value

    value (required).

    Properties

    View Source

    Name

    Gets or Sets Name

    Declaration
    [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    Ttl

    Gets or Sets Ttl

    Declaration
    [DataMember(Name = "ttl", IsRequired = true, EmitDefaultValue = true)]
    public int Ttl { get; set; }
    Property Value
    Type Description
    int
    View Source

    Type

    Domain Name Server Record Types

    Declaration
    [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
    public GenerateDmarcRecordResults.TypeEnum Type { get; set; }
    Property Value
    Type Description
    GenerateDmarcRecordResults.TypeEnum

    Domain Name Server Record Types

    View Source

    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 Source

    Equals(GenerateDmarcRecordResults)

    Returns true if GenerateDmarcRecordResults instances are equal

    Declaration
    public bool Equals(GenerateDmarcRecordResults input)
    Parameters
    Type Name Description
    GenerateDmarcRecordResults input

    Instance of GenerateDmarcRecordResults to be compared

    Returns
    Type Description
    bool

    Boolean

    View Source

    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
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()
    View Source

    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

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.