Package com.datadog.api.client.v2.model
Class MetricOrigin
java.lang.Object
com.datadog.api.client.v2.model.MetricOrigin
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricOrigin
extends Object
Metric origin information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MetricOrigin object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The origin metric type code maximum: 1000The origin product code maximum: 1000The origin service code maximum: 1000inthashCode()metricType(Integer metricType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMetricType(Integer metricType) voidsetProduct(Integer product) voidsetService(Integer service) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_METRIC_TYPE
- See Also:
-
JSON_PROPERTY_PRODUCT
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
-
Constructor Details
-
MetricOrigin
public MetricOrigin()
-
-
Method Details
-
metricType
-
getMetricType
The origin metric type code maximum: 1000- Returns:
- metricType
-
setMetricType
-
product
-
getProduct
The origin product code maximum: 1000- Returns:
- product
-
setProduct
-
service
-
getService
The origin service code maximum: 1000- Returns:
- service
-
setService
-
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:
- MetricOrigin
-
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 MetricOrigin object is equal to o. -
hashCode
public int hashCode() -
toString
-