@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DashboardLiveTimeframe extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_UNIT |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
DashboardLiveTimeframe() |
DashboardLiveTimeframe(DashboardLiveTimeframeType type,
WidgetLiveSpanUnit unit,
Long value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this DashboardLiveTimeframe 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.
|
DashboardLiveTimeframeType |
getType()
Type of live timeframe.
|
WidgetLiveSpanUnit |
getUnit()
Unit of the time span.
|
Long |
getValue()
Value of the live timeframe span.
|
int |
hashCode() |
DashboardLiveTimeframe |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setType(DashboardLiveTimeframeType type) |
void |
setUnit(WidgetLiveSpanUnit unit) |
void |
setValue(Long value) |
String |
toString() |
DashboardLiveTimeframe |
type(DashboardLiveTimeframeType type) |
DashboardLiveTimeframe |
unit(WidgetLiveSpanUnit unit) |
DashboardLiveTimeframe |
value(Long value) |
public boolean unparsed
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_UNIT
public static final String JSON_PROPERTY_VALUE
public DashboardLiveTimeframe()
public DashboardLiveTimeframe(DashboardLiveTimeframeType type, WidgetLiveSpanUnit unit, Long value)
public DashboardLiveTimeframe type(DashboardLiveTimeframeType type)
public DashboardLiveTimeframeType getType()
public void setType(DashboardLiveTimeframeType type)
public DashboardLiveTimeframe unit(WidgetLiveSpanUnit unit)
public WidgetLiveSpanUnit getUnit()
public void setUnit(WidgetLiveSpanUnit unit)
public DashboardLiveTimeframe value(Long value)
public Long getValue()
public void setValue(Long value)
public DashboardLiveTimeframe 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.