@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricsQueryUnit extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FAMILY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PLURAL |
static String |
JSON_PROPERTY_SCALE_FACTOR |
static String |
JSON_PROPERTY_SHORT_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
MetricsQueryUnit() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this MetricsQueryUnit 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.
|
String |
getFamily()
Unit family, allows for conversion between units of the same family, for scaling.
|
String |
getName()
Unit name
|
String |
getPlural()
Plural form of the unit name.
|
Double |
getScaleFactor()
Factor for scaling between units of the same family.
|
String |
getShortName()
Abbreviation of the unit.
|
int |
hashCode() |
MetricsQueryUnit |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_FAMILY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PLURAL
public static final String JSON_PROPERTY_SCALE_FACTOR
public static final String JSON_PROPERTY_SHORT_NAME
@Nullable public String getFamily()
@Nullable public String getName()
@Nullable public String getPlural()
@Nullable public Double getScaleFactor()
@Nullable public String getShortName()
public MetricsQueryUnit 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.