Package com.datadog.api.client.v2.model
Class MetricPayload
java.lang.Object
com.datadog.api.client.v2.model.MetricPayload
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricPayload
extends Object
The metrics' payload.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSeriesItem(MetricSeries seriesItem) booleanReturn true if this MetricPayload object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of timeseries to submit to Datadog.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.series(List<MetricSeries> series) voidsetSeries(List<MetricSeries> series) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_SERIES
- See Also:
-
-
Constructor Details
-
MetricPayload
public MetricPayload() -
MetricPayload
-
-
Method Details
-
series
-
addSeriesItem
-
getSeries
A list of timeseries to submit to Datadog.- Returns:
- series
-
setSeries
-
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:
- MetricPayload
-
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 MetricPayload object is equal to o. -
hashCode
public int hashCode() -
toString
-