Package com.datadog.api.client.v1.model
Class WidgetNewFixedSpan
java.lang.Object
com.datadog.api.client.v1.model.WidgetNewFixedSpan
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetNewFixedSpan
extends Object
Used for fixed span times, such as 'March 1 to March 7'.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WidgetNewFixedSpan object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFrom()Start time in milliseconds since epoch.Whether to hide incomplete cost data in the widget.getTo()End time in milliseconds since epoch.getType()Type "fixed" denotes a fixed span.inthashCode()hideIncompleteCostData(Boolean hideIncompleteCostData) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetHideIncompleteCostData(Boolean hideIncompleteCostData) voidvoidtoString()type(WidgetNewFixedSpanType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_HIDE_INCOMPLETE_COST_DATA
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
WidgetNewFixedSpan
public WidgetNewFixedSpan() -
WidgetNewFixedSpan
-
-
Method Details
-
from
-
getFrom
Start time in milliseconds since epoch. minimum: 0- Returns:
- from
-
setFrom
-
hideIncompleteCostData
-
getHideIncompleteCostData
Whether to hide incomplete cost data in the widget.- Returns:
- hideIncompleteCostData
-
setHideIncompleteCostData
-
to
-
getTo
End time in milliseconds since epoch. minimum: 0- Returns:
- to
-
setTo
-
type
-
getType
Type "fixed" denotes a fixed span.- Returns:
- type
-
setType
-
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:
- WidgetNewFixedSpan
-
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 WidgetNewFixedSpan object is equal to o. -
hashCode
public int hashCode() -
toString
-