@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricOrigin extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_METRIC_TYPE |
static String |
JSON_PROPERTY_PRODUCT |
static String |
JSON_PROPERTY_SERVICE |
boolean |
unparsed |
| Constructor and Description |
|---|
MetricOrigin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this MetricOrigin object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Integer |
getMetricType()
The origin metric type code maximum: 1000
|
Integer |
getProduct()
The origin product code maximum: 1000
|
Integer |
getService()
The origin service code maximum: 1000
|
int |
hashCode() |
MetricOrigin |
metricType(Integer metricType) |
MetricOrigin |
product(Integer product) |
MetricOrigin |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MetricOrigin |
service(Integer service) |
void |
setMetricType(Integer metricType) |
void |
setProduct(Integer product) |
void |
setService(Integer service) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_METRIC_TYPE
public static final String JSON_PROPERTY_PRODUCT
public static final String JSON_PROPERTY_SERVICE
public MetricOrigin metricType(Integer metricType)
@Nullable public Integer getMetricType()
public void setMetricType(Integer metricType)
public MetricOrigin product(Integer product)
@Nullable public Integer getProduct()
public void setProduct(Integer product)
public MetricOrigin service(Integer service)
@Nullable public Integer getService()
public void setService(Integer service)
public MetricOrigin putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.