@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WidgetNewFixedSpan 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 |
|---|
WidgetNewFixedSpan() |
WidgetNewFixedSpan(Long from,
Long to,
WidgetNewFixedSpanType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this WidgetNewFixedSpan object is equal to o.
|
WidgetNewFixedSpan |
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 seconds since epoch.
|
Long |
getTo()
End time in seconds since epoch.
|
WidgetNewFixedSpanType |
getType()
Type "fixed" denotes a fixed span.
|
int |
hashCode() |
WidgetNewFixedSpan |
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(WidgetNewFixedSpanType type) |
WidgetNewFixedSpan |
to(Long to) |
String |
toString() |
WidgetNewFixedSpan |
type(WidgetNewFixedSpanType 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 WidgetNewFixedSpan()
public WidgetNewFixedSpan(Long from, Long to, WidgetNewFixedSpanType type)
public WidgetNewFixedSpan from(Long from)
public Long getFrom()
public void setFrom(Long from)
public WidgetNewFixedSpan to(Long to)
public Long getTo()
public void setTo(Long to)
public WidgetNewFixedSpan type(WidgetNewFixedSpanType type)
public WidgetNewFixedSpanType getType()
public void setType(WidgetNewFixedSpanType type)
public WidgetNewFixedSpan 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.