Class TimeseriesResponseSeries

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TimeseriesResponseSeries extends Object
A single series in a timeseries query response, containing the query index, unit information, and group tags.
  • Field Details

  • Constructor Details

    • TimeseriesResponseSeries

      public TimeseriesResponseSeries()
  • Method Details

    • groupTags

      public TimeseriesResponseSeries groupTags(List<String> groupTags)
    • addGroupTagsItem

      public TimeseriesResponseSeries addGroupTagsItem(String groupTagsItem)
    • getGroupTags

      @Nullable public List<String> getGroupTags()
      List of tags that apply to a single response value.
      Returns:
      groupTags
    • setGroupTags

      public void setGroupTags(List<String> groupTags)
    • queryIndex

      public TimeseriesResponseSeries queryIndex(Integer queryIndex)
    • getQueryIndex

      @Nullable public Integer getQueryIndex()
      The index of the query in the "formulas" array (or "queries" array if no "formulas" was specified). maximum: 2147483647
      Returns:
      queryIndex
    • setQueryIndex

      public void setQueryIndex(Integer queryIndex)
    • unit

      public TimeseriesResponseSeries unit(List<Unit> unit)
    • addUnitItem

      public TimeseriesResponseSeries addUnitItem(Unit unitItem)
    • getUnit

      @Nullable public List<Unit> getUnit()
      Detailed information about the unit. The first element describes the "primary unit" (for example, bytes in bytes per second). The second element describes the "per unit" (for example, second in bytes per second). If the second element is not present, the API returns null.
      Returns:
      unit
    • getUnit_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<Unit>> getUnit_JsonNullable()
    • setUnit_JsonNullable

      public void setUnit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<Unit>> unit)
    • setUnit

      public void setUnit(List<Unit> unit)
    • putAdditionalProperty

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