Package com.datadog.api.client.v1.model
Class WidgetNewLiveSpan
java.lang.Object
com.datadog.api.client.v1.model.WidgetNewLiveSpan
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetNewLiveSpan
extends Object
Used for arbitrary live span times, such as 17 minutes or 6 hours.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWidgetNewLiveSpan(WidgetNewLiveSpanType type, WidgetLiveSpanUnit unit, Long value) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WidgetNewLiveSpan object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether to hide incomplete cost data in the widget.getType()Type "live" denotes a live span in the new format.getUnit()Unit of the time span.getValue()Value of the time span.inthashCode()hideIncompleteCostData(Boolean hideIncompleteCostData) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetHideIncompleteCostData(Boolean hideIncompleteCostData) voidsetType(WidgetNewLiveSpanType type) voidsetUnit(WidgetLiveSpanUnit unit) voidtoString()type(WidgetNewLiveSpanType type) unit(WidgetLiveSpanUnit unit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HIDE_INCOMPLETE_COST_DATA
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
WidgetNewLiveSpan
public WidgetNewLiveSpan() -
WidgetNewLiveSpan
-
-
Method Details
-
hideIncompleteCostData
-
getHideIncompleteCostData
Whether to hide incomplete cost data in the widget.- Returns:
- hideIncompleteCostData
-
setHideIncompleteCostData
-
type
-
getType
Type "live" denotes a live span in the new format.- Returns:
- type
-
setType
-
unit
-
getUnit
Unit of the time span.- Returns:
- unit
-
setUnit
-
value
-
getValue
Value of the time span. minimum: 1- Returns:
- value
-
setValue
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- WidgetNewLiveSpan
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this WidgetNewLiveSpan object is equal to o. -
hashCode
public int hashCode() -
toString
-