Package com.datadog.api.client.v1.model
Class ComparisonCustomTimeframe
java.lang.Object
com.datadog.api.client.v1.model.ComparisonCustomTimeframe
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ComparisonCustomTimeframe
extends Object
Fixed time range for a
custom_timeframe comparison.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ComparisonCustomTimeframe 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.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
-
Constructor Details
-
ComparisonCustomTimeframe
public ComparisonCustomTimeframe() -
ComparisonCustomTimeframe
-
-
Method Details
-
from
-
getFrom
Start time in milliseconds since epoch.- Returns:
- from
-
setFrom
-
to
-
getTo
End time in milliseconds since epoch.- Returns:
- to
-
setTo
-
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:
- ComparisonCustomTimeframe
-
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 ComparisonCustomTimeframe object is equal to o. -
hashCode
public int hashCode() -
toString
-