Package com.datadog.api.client.v1.model
Class DashboardFixedTimeframe
java.lang.Object
com.datadog.api.client.v1.model.DashboardFixedTimeframe
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DashboardFixedTimeframe
extends Object
A fixed dashboard timeframe.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDashboardFixedTimeframe(Long from, Long to, DashboardFixedTimeframeType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DashboardFixedTimeframe 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.getTo()End time in milliseconds since epoch.getType()Type of fixed timeframe.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
DashboardFixedTimeframe
public DashboardFixedTimeframe() -
DashboardFixedTimeframe
-
-
Method Details
-
from
-
getFrom
Start time in milliseconds since epoch. minimum: 0- Returns:
- from
-
setFrom
-
to
-
getTo
End time in milliseconds since epoch. minimum: 0- Returns:
- to
-
setTo
-
type
-
getType
Type of fixed timeframe.- 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:
- DashboardFixedTimeframe
-
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 DashboardFixedTimeframe object is equal to o. -
hashCode
public int hashCode() -
toString
-