@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricPoint extends Object
{POSIX_timestamp, numeric_value}.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TIMESTAMP |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
MetricPoint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this MetricPoint 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.
|
Long |
getTimestamp()
The timestamp should be in seconds and current.
|
Double |
getValue()
The numeric value format should be a 64bit float gauge-type value.
|
int |
hashCode() |
MetricPoint |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setTimestamp(Long timestamp) |
void |
setValue(Double value) |
MetricPoint |
timestamp(Long timestamp) |
String |
toString() |
MetricPoint |
value(Double value) |
public boolean unparsed
public static final String JSON_PROPERTY_TIMESTAMP
public static final String JSON_PROPERTY_VALUE
public MetricPoint timestamp(Long timestamp)
@Nullable public Long getTimestamp()
public void setTimestamp(Long timestamp)
public MetricPoint value(Double value)
@Nullable public Double getValue()
public void setValue(Double value)
public MetricPoint 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.