Class DatasetResponseSingle

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DatasetResponseSingle extends Object
Response containing a single dataset object.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_DATA

      public static final String JSON_PROPERTY_DATA
      See Also:
  • Constructor Details

    • DatasetResponseSingle

      public DatasetResponseSingle()
  • Method Details

    • data

    • getData

      @Nullable public DatasetResponse getData()
      Datasets Object Constraints - Tag Limit per Dataset: - Each restricted dataset supports a maximum of 10 key:value pairs per product.
      • Tag Key Rules per Telemetry Type:
      • Only one tag key or attribute may be used to define access within a single telemetry type.
      • The same or different tag key may be used across different telemetry types.

      • Tag Value Uniqueness:

      • Tag values must be unique within a single dataset.
      • A tag value used in one dataset cannot be reused in another dataset of the same telemetry type.
      Returns:
      data
    • setData

      public void setData(DatasetResponse data)
    • putAdditionalProperty

      public DatasetResponseSingle 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:
      DatasetResponseSingle
    • 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 DatasetResponseSingle 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