@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsUnit extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FAMILY |
static String |
JSON_PROPERTY_ID |
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 |
|---|
ProductAnalyticsUnit() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ProductAnalyticsUnit object is equal to o.
|
ProductAnalyticsUnit |
family(String family) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getFamily()
The unit family (e.g., time, bytes).
|
Long |
getId()
Numeric identifier for the unit.
|
String |
getName()
The full name of the unit (e.g., nanosecond).
|
String |
getPlural()
Plural form of the unit name (e.g., nanoseconds).
|
Double |
getScaleFactor()
Conversion factor relative to the base unit of the family.
|
String |
getShortName()
Abbreviated unit name (e.g., ns).
|
int |
hashCode() |
ProductAnalyticsUnit |
id(Long id) |
ProductAnalyticsUnit |
name(String name) |
ProductAnalyticsUnit |
plural(String plural) |
ProductAnalyticsUnit |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ProductAnalyticsUnit |
scaleFactor(Double scaleFactor) |
void |
setFamily(String family) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setPlural(String plural) |
void |
setScaleFactor(Double scaleFactor) |
void |
setShortName(String shortName) |
ProductAnalyticsUnit |
shortName(String shortName) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_FAMILY
public static final String JSON_PROPERTY_ID
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
public ProductAnalyticsUnit family(String family)
@Nullable public String getFamily()
public void setFamily(String family)
public ProductAnalyticsUnit id(Long id)
@Nullable public Long getId()
public void setId(Long id)
public ProductAnalyticsUnit name(String name)
@Nullable public String getName()
public void setName(String name)
public ProductAnalyticsUnit plural(String plural)
@Nullable public String getPlural()
public void setPlural(String plural)
public ProductAnalyticsUnit scaleFactor(Double scaleFactor)
@Nullable public Double getScaleFactor()
public void setScaleFactor(Double scaleFactor)
public ProductAnalyticsUnit shortName(String shortName)
@Nullable public String getShortName()
public void setShortName(String shortName)
public ProductAnalyticsUnit 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 © 2026. All rights reserved.