Search Results for

    Show / Hide Table of Contents

    Class DNSLookupResult

    DNS lookup result. Includes record type, time to live, raw response, and name value for the name server response.

    Inheritance
    object
    DNSLookupResult
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "DNSLookupResult")]
    public class DNSLookupResult : IValidatableObject

    Constructors

    View Source

    DNSLookupResult()

    Initializes a new instance of the DNSLookupResult class.

    Declaration
    [JsonConstructor]
    protected DNSLookupResult()
    View Source

    DNSLookupResult(RecordTypeEnum, long, List<string>, string)

    Initializes a new instance of the DNSLookupResult class.

    Declaration
    public DNSLookupResult(DNSLookupResult.RecordTypeEnum recordType = (DNSLookupResult.RecordTypeEnum)0, long ttl = 0, List<string> recordEntries = null, string name = null)
    Parameters
    Type Name Description
    DNSLookupResult.RecordTypeEnum recordType

    Domain Name Server Record Types (required).

    long ttl

    ttl (required).

    List<string> recordEntries

    recordEntries (required).

    string name

    name (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

    RecordEntries

    Gets or Sets RecordEntries

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

    RecordType

    Domain Name Server Record Types

    Declaration
    [DataMember(Name = "recordType", IsRequired = true, EmitDefaultValue = true)]
    public DNSLookupResult.RecordTypeEnum RecordType { get; set; }
    Property Value
    Type Description
    DNSLookupResult.RecordTypeEnum

    Domain Name Server Record Types

    View Source

    Ttl

    Gets or Sets Ttl

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

    Methods

    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()

    Implements

    IValidatableObject
    • View Source
    In this article
    • Constructors
      • DNSLookupResult()
      • DNSLookupResult(RecordTypeEnum, long, List<string>, string)
    • Properties
      • Name
      • RecordEntries
      • RecordType
      • Ttl
    • Methods
      • ToJson()
      • ToString()
    • Implements
    Back to top See MailSlurp website for more information.