@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DashboardFixedTimeframe extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FROM |
static String |
JSON_PROPERTY_TO |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
DashboardFixedTimeframe() |
DashboardFixedTimeframe(Long from,
Long to,
DashboardFixedTimeframeType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this DashboardFixedTimeframe object is equal to o.
|
DashboardFixedTimeframe |
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.
|
DashboardFixedTimeframeType |
getType()
Type of fixed timeframe.
|
int |
hashCode() |
DashboardFixedTimeframe |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFrom(Long from) |
void |
setTo(Long to) |
void |
setType(DashboardFixedTimeframeType type) |
DashboardFixedTimeframe |
to(Long to) |
String |
toString() |
DashboardFixedTimeframe |
type(DashboardFixedTimeframeType type) |
public boolean unparsed
public static final String JSON_PROPERTY_FROM
public static final String JSON_PROPERTY_TO
public static final String JSON_PROPERTY_TYPE
public DashboardFixedTimeframe()
public DashboardFixedTimeframe(Long from, Long to, DashboardFixedTimeframeType type)
public DashboardFixedTimeframe from(Long from)
public Long getFrom()
public void setFrom(Long from)
public DashboardFixedTimeframe to(Long to)
public Long getTo()
public void setTo(Long to)
public DashboardFixedTimeframe type(DashboardFixedTimeframeType type)
public DashboardFixedTimeframeType getType()
public void setType(DashboardFixedTimeframeType type)
public DashboardFixedTimeframe 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.