Package com.datadog.api.client.v1.model
Class MetricMetadata
java.lang.Object
com.datadog.api.client.v1.model.MetricMetadata
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricMetadata
extends Object
Object with all metric related metadata.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this MetricMetadata object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Metric description.Name of the integration that sent the metric if applicable.Per unit of the metric such assecondinbytes per second.A more human-readable and abbreviated version of the metric name.StatsD flush interval of the metric in seconds if applicable.getType()Metric type such asgaugeorrate.getUnit()Primary unit of the metric such asbyteoroperation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetPerUnit(String perUnit) voidsetShortName(String shortName) voidsetStatsdInterval(Long statsdInterval) voidvoidstatsdInterval(Long statsdInterval) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_INTEGRATION
- See Also:
-
JSON_PROPERTY_PER_UNIT
- See Also:
-
JSON_PROPERTY_SHORT_NAME
- See Also:
-
JSON_PROPERTY_STATSD_INTERVAL
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
-
Constructor Details
-
MetricMetadata
public MetricMetadata()
-
-
Method Details
-
description
-
getDescription
Metric description.- Returns:
- description
-
setDescription
-
getIntegration
Name of the integration that sent the metric if applicable.- Returns:
- integration
-
perUnit
-
getPerUnit
Per unit of the metric such assecondinbytes per second.- Returns:
- perUnit
-
setPerUnit
-
shortName
-
getShortName
A more human-readable and abbreviated version of the metric name.- Returns:
- shortName
-
setShortName
-
statsdInterval
-
getStatsdInterval
StatsD flush interval of the metric in seconds if applicable.- Returns:
- statsdInterval
-
setStatsdInterval
-
type
-
getType
Metric type such asgaugeorrate.- Returns:
- type
-
setType
-
unit
-
getUnit
Primary unit of the metric such asbyteoroperation.- 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:
- MetricMetadata
-
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 MetricMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-