@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsInterval extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_MILLISECONDS |
static String |
JSON_PROPERTY_START_TIME |
static String |
JSON_PROPERTY_TIMES |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
ProductAnalyticsInterval() |
| Modifier and Type | Method and Description |
|---|---|
ProductAnalyticsInterval |
addTimesItem(Long timesItem) |
boolean |
equals(Object o)
Return true if this ProductAnalyticsInterval object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getMilliseconds()
The duration of each time bucket in milliseconds.
|
Long |
getStartTime()
The start of this interval as an epoch timestamp in milliseconds.
|
List<Long> |
getTimes()
Epoch timestamps (in milliseconds) for each bucket in this interval.
|
String |
getType()
The interval type (e.g., fixed or auto-computed bucket size).
|
int |
hashCode() |
ProductAnalyticsInterval |
milliseconds(Long milliseconds) |
ProductAnalyticsInterval |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setMilliseconds(Long milliseconds) |
void |
setStartTime(Long startTime) |
void |
setTimes(List<Long> times) |
void |
setType(String type) |
ProductAnalyticsInterval |
startTime(Long startTime) |
ProductAnalyticsInterval |
times(List<Long> times) |
String |
toString() |
ProductAnalyticsInterval |
type(String type) |
public boolean unparsed
public static final String JSON_PROPERTY_MILLISECONDS
public static final String JSON_PROPERTY_START_TIME
public static final String JSON_PROPERTY_TIMES
public static final String JSON_PROPERTY_TYPE
public ProductAnalyticsInterval milliseconds(Long milliseconds)
@Nullable public Long getMilliseconds()
public void setMilliseconds(Long milliseconds)
public ProductAnalyticsInterval startTime(Long startTime)
@Nullable public Long getStartTime()
public void setStartTime(Long startTime)
public ProductAnalyticsInterval times(List<Long> times)
public ProductAnalyticsInterval addTimesItem(Long timesItem)
@Nullable public List<Long> getTimes()
public ProductAnalyticsInterval type(String type)
@Nullable public String getType()
public void setType(String type)
public ProductAnalyticsInterval putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.