@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Metric extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
Metric() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this Metric object is equal to o.
|
String |
getId()
The metric name for this resource.
|
MetricType |
getType()
The metric resource type.
|
int |
hashCode() |
Metric |
id(String id) |
void |
setId(String id) |
void |
setType(MetricType type) |
String |
toString() |
Metric |
type(MetricType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
@Nullable public String getId()
public void setId(String id)
public Metric type(MetricType type)
@Nullable public MetricType getType()
public void setType(MetricType type)
public boolean equals(Object o)
Copyright © 2023. All rights reserved.