Class MetricsQueryMetadata

java.lang.Object
com.datadog.api.client.v1.model.MetricsQueryMetadata

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricsQueryMetadata extends Object
Object containing all metric names returned and their associated metadata.
  • Field Details

  • Constructor Details

    • MetricsQueryMetadata

      public MetricsQueryMetadata()
  • Method Details

    • getAggr

      @Nullable public String getAggr()
      Aggregation type.
      Returns:
      aggr
    • getAggr_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getAggr_JsonNullable()
    • getDisplayName

      @Nullable public String getDisplayName()
      Display name of the metric.
      Returns:
      displayName
    • getEnd

      @Nullable public Long getEnd()
      End of the time window, milliseconds since Unix epoch.
      Returns:
      end
    • getExpression

      @Nullable public String getExpression()
      Metric expression.
      Returns:
      expression
    • getInterval

      @Nullable public Long getInterval()
      Number of milliseconds between data samples.
      Returns:
      interval
    • getLength

      @Nullable public Long getLength()
      Number of data samples.
      Returns:
      length
    • getMetric

      @Nullable public String getMetric()
      Metric name.
      Returns:
      metric
    • getPointlist

      @Nullable public List<List<Double>> getPointlist()
      List of points of the timeseries in milliseconds.
      Returns:
      pointlist
    • getQueryIndex

      @Nullable public Long getQueryIndex()
      The index of the series' query within the request.
      Returns:
      queryIndex
    • getScope

      @Nullable public String getScope()
      Metric scope, comma separated list of tags.
      Returns:
      scope
    • getStart

      @Nullable public Long getStart()
      Start of the time window, milliseconds since Unix epoch.
      Returns:
      start
    • getTagSet

      @Nullable public List<String> getTagSet()
      Unique tags identifying this series.
      Returns:
      tagSet
    • getUnit

      @Nullable public List<MetricsQueryUnit> getUnit()
      Detailed information about the metric 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
    • putAdditionalProperty

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