Package com.datadog.api.client.v2.model
Class ProductAnalyticsInterval
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsInterval
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsInterval
extends Object
An interval definition in a timeseries response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTimesItem(Long timesItem) booleanReturn true if this ProductAnalyticsInterval object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The duration of each time bucket in milliseconds.The start of this interval as an epoch timestamp in milliseconds.getTimes()Epoch timestamps (in milliseconds) for each bucket in this interval.getType()The interval type (e.g., fixed or auto-computed bucket size).inthashCode()milliseconds(Long milliseconds) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMilliseconds(Long milliseconds) voidsetStartTime(Long startTime) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MILLISECONDS
- See Also:
-
JSON_PROPERTY_START_TIME
- See Also:
-
JSON_PROPERTY_TIMES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ProductAnalyticsInterval
public ProductAnalyticsInterval()
-
-
Method Details
-
milliseconds
-
getMilliseconds
The duration of each time bucket in milliseconds.- Returns:
- milliseconds
-
setMilliseconds
-
startTime
-
getStartTime
The start of this interval as an epoch timestamp in milliseconds.- Returns:
- startTime
-
setStartTime
-
times
-
addTimesItem
-
getTimes
Epoch timestamps (in milliseconds) for each bucket in this interval.- Returns:
- times
-
setTimes
-
type
-
getType
The interval type (e.g., fixed or auto-computed bucket size).- 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:
- ProductAnalyticsInterval
-
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 ProductAnalyticsInterval object is equal to o. -
hashCode
public int hashCode() -
toString
-