@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsCalendarInterval extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALIGNMENT |
static String |
JSON_PROPERTY_QUANTITY |
static String |
JSON_PROPERTY_TIMEZONE |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
ProductAnalyticsCalendarInterval() |
ProductAnalyticsCalendarInterval(ProductAnalyticsCalendarIntervalType type) |
| Modifier and Type | Method and Description |
|---|---|
ProductAnalyticsCalendarInterval |
alignment(String alignment) |
boolean |
equals(Object o)
Return true if this ProductAnalyticsCalendarInterval 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.
|
String |
getAlignment()
Where each bucket starts within the calendar unit.
|
Long |
getQuantity()
Number of calendar units per bucket.
|
String |
getTimezone()
Timezone used to align the buckets.
|
ProductAnalyticsCalendarIntervalType |
getType()
Calendar unit used to bucket cohorts.
|
int |
hashCode() |
ProductAnalyticsCalendarInterval |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ProductAnalyticsCalendarInterval |
quantity(Long quantity) |
void |
setAlignment(String alignment) |
void |
setQuantity(Long quantity) |
void |
setTimezone(String timezone) |
void |
setType(ProductAnalyticsCalendarIntervalType type) |
ProductAnalyticsCalendarInterval |
timezone(String timezone) |
String |
toString() |
ProductAnalyticsCalendarInterval |
type(ProductAnalyticsCalendarIntervalType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ALIGNMENT
public static final String JSON_PROPERTY_QUANTITY
public static final String JSON_PROPERTY_TIMEZONE
public static final String JSON_PROPERTY_TYPE
public ProductAnalyticsCalendarInterval()
public ProductAnalyticsCalendarInterval(ProductAnalyticsCalendarIntervalType type)
public ProductAnalyticsCalendarInterval alignment(String alignment)
@Nullable public String getAlignment()
day (for
example 1am or 14), a day name for week (for example
monday), or an ordinal for month (for example 1st).public void setAlignment(String alignment)
public ProductAnalyticsCalendarInterval quantity(Long quantity)
@Nullable public Long getQuantity()
public void setQuantity(Long quantity)
public ProductAnalyticsCalendarInterval timezone(String timezone)
@Nullable public String getTimezone()
public void setTimezone(String timezone)
public ProductAnalyticsCalendarInterval type(ProductAnalyticsCalendarIntervalType type)
public ProductAnalyticsCalendarIntervalType getType()
public void setType(ProductAnalyticsCalendarIntervalType type)
public ProductAnalyticsCalendarInterval 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.