@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ComparisonCustomTimeframe extends Object
custom_timeframe comparison.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FROM |
static String |
JSON_PROPERTY_TO |
boolean |
unparsed |
| Constructor and Description |
|---|
ComparisonCustomTimeframe() |
ComparisonCustomTimeframe(Long from,
Long to) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ComparisonCustomTimeframe object is equal to o.
|
ComparisonCustomTimeframe |
from(Long from) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getFrom()
Start time in milliseconds since epoch.
|
Long |
getTo()
End time in milliseconds since epoch.
|
int |
hashCode() |
ComparisonCustomTimeframe |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFrom(Long from) |
void |
setTo(Long to) |
ComparisonCustomTimeframe |
to(Long to) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_FROM
public static final String JSON_PROPERTY_TO
public ComparisonCustomTimeframe from(Long from)
public Long getFrom()
public void setFrom(Long from)
public ComparisonCustomTimeframe to(Long to)
public Long getTo()
public void setTo(Long to)
public ComparisonCustomTimeframe 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.