Package com.datadog.api.client.v2.model
Class CommitmentsTimeseriesMetric
java.lang.Object
com.datadog.api.client.v2.model.CommitmentsTimeseriesMetric
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CommitmentsTimeseriesMetric
extends Object
A timeseries metric containing timestamps, series values, and optional unit metadata.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddTimesItem(Long timesItem) booleanReturn true if this CommitmentsTimeseriesMetric object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Timeseries data as a map of series names to their corresponding value arrays.getTimes()Unix timestamps in seconds for the timeseries data points.getUnit()Unit metadata for a numeric metric.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putSeriesItem(String key, List<Double> seriesItem) voidvoidvoidsetUnit(CommitmentsUnit unit) toString()unit(CommitmentsUnit unit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_SERIES
- See Also:
-
JSON_PROPERTY_TIMES
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
-
Constructor Details
-
CommitmentsTimeseriesMetric
public CommitmentsTimeseriesMetric() -
CommitmentsTimeseriesMetric
-
-
Method Details
-
series
-
putSeriesItem
-
getSeries
Timeseries data as a map of series names to their corresponding value arrays.- Returns:
- series
-
setSeries
-
times
-
addTimesItem
-
getTimes
Unix timestamps in seconds for the timeseries data points.- Returns:
- times
-
setTimes
-
unit
-
getUnit
Unit metadata for a numeric metric.- Returns:
- unit
-
setUnit
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- CommitmentsTimeseriesMetric
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this CommitmentsTimeseriesMetric object is equal to o. -
hashCode
public int hashCode() -
toString
-