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