Class SyntheticsTestResultDnsRecord

java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultDnsRecord

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultDnsRecord extends Object
A DNS record returned in a DNS test response.
  • Field Details

  • Constructor Details

    • SyntheticsTestResultDnsRecord

      public SyntheticsTestResultDnsRecord()
  • Method Details

    • type

    • getType

      @Nullable public String getType()
      DNS record type (for example, A, AAAA, CNAME).
      Returns:
      type
    • setType

      public void setType(String type)
    • values

      public SyntheticsTestResultDnsRecord values(List<String> values)
    • addValuesItem

      public SyntheticsTestResultDnsRecord addValuesItem(String valuesItem)
    • getValues

      @Nullable public List<String> getValues()
      Values associated with the DNS record.
      Returns:
      values
    • setValues

      public void setValues(List<String> values)
    • putAdditionalProperty

      public SyntheticsTestResultDnsRecord putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      SyntheticsTestResultDnsRecord
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this SyntheticsTestResultDnsRecord object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object