Package com.datadog.api.client.v1.model
Class DashboardLiveTimeframe
java.lang.Object
com.datadog.api.client.v1.model.DashboardLiveTimeframe
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DashboardLiveTimeframe
extends Object
A live dashboard timeframe.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDashboardLiveTimeframe(DashboardLiveTimeframeType type, WidgetLiveSpanUnit unit, Long value) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DashboardLiveTimeframe object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getType()Type of live timeframe.getUnit()Unit of the time span.getValue()Value of the live timeframe span.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetUnit(WidgetLiveSpanUnit unit) voidtoString()unit(WidgetLiveSpanUnit unit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
DashboardLiveTimeframe
public DashboardLiveTimeframe() -
DashboardLiveTimeframe
-
-
Method Details
-
type
-
getType
Type of live timeframe.- Returns:
- type
-
setType
-
unit
-
getUnit
Unit of the time span.- Returns:
- unit
-
setUnit
-
value
-
getValue
Value of the live timeframe 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:
- DashboardLiveTimeframe
-
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 DashboardLiveTimeframe object is equal to o. -
hashCode
public int hashCode() -
toString
-