Package com.datadog.api.client.v1.model
Class Series
java.lang.Object
com.datadog.api.client.v1.model.Series
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Series
extends Object
A metric to submit to Datadog. See Datadog
metrics.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPointsItem(List<Double> pointsItem) addTagsItem(String tagsItem) booleanReturn true if this Series object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getHost()The name of the host that produced the metric.If the type of the metric is rate or count, define the corresponding interval in seconds.org.openapitools.jackson.nullable.JsonNullable<Long>The name of the timeseries.Points relating to a metric.getTags()A list of tags associated with the metric.getType()The type of the metric.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetInterval(Long interval) voidsetInterval_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> interval) voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_POINTS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
Series
public Series() -
Series
-
-
Method Details
-
host
-
getHost
The name of the host that produced the metric.- Returns:
- host
-
setHost
-
interval
-
getInterval
If the type of the metric is rate or count, define the corresponding interval in seconds.- Returns:
- interval
-
getInterval_JsonNullable
-
setInterval_JsonNullable
-
setInterval
-
metric
-
getMetric
The name of the timeseries.- Returns:
- metric
-
setMetric
-
points
-
addPointsItem
-
getPoints
Points relating to a metric. All points must be tuples with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.- Returns:
- points
-
setPoints
-
tags
-
addTagsItem
-
getTags
A list of tags associated with the metric.- Returns:
- tags
-
setTags
-
type
-
getType
The type of the metric. Valid types are "",count,gauge, andrate.- Returns:
- type
-
setType
-
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:
- Series
-
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 Series object is equal to o. -
hashCode
public int hashCode() -
toString
-