@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsRetentionCalendarTimeInterval extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
ProductAnalyticsRetentionCalendarTimeInterval() |
ProductAnalyticsRetentionCalendarTimeInterval(ProductAnalyticsRetentionCalendarTimeIntervalType type,
ProductAnalyticsCalendarInterval value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ProductAnalyticsRetentionCalendarTimeInterval 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.
|
ProductAnalyticsRetentionCalendarTimeIntervalType |
getType()
The discriminator identifying a calendar-aligned retention interval.
|
ProductAnalyticsCalendarInterval |
getValue()
A calendar-aligned bucket definition, such as "every 1 week starting on Monday".
|
int |
hashCode() |
ProductAnalyticsRetentionCalendarTimeInterval |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setType(ProductAnalyticsRetentionCalendarTimeIntervalType type) |
void |
setValue(ProductAnalyticsCalendarInterval value) |
String |
toString() |
ProductAnalyticsRetentionCalendarTimeInterval |
type(ProductAnalyticsRetentionCalendarTimeIntervalType type) |
ProductAnalyticsRetentionCalendarTimeInterval |
value(ProductAnalyticsCalendarInterval value) |
public boolean unparsed
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VALUE
public ProductAnalyticsRetentionCalendarTimeInterval()
public ProductAnalyticsRetentionCalendarTimeInterval(ProductAnalyticsRetentionCalendarTimeIntervalType type, ProductAnalyticsCalendarInterval value)
public ProductAnalyticsRetentionCalendarTimeInterval type(ProductAnalyticsRetentionCalendarTimeIntervalType type)
public ProductAnalyticsRetentionCalendarTimeIntervalType getType()
public void setType(ProductAnalyticsRetentionCalendarTimeIntervalType type)
public ProductAnalyticsRetentionCalendarTimeInterval value(ProductAnalyticsCalendarInterval value)
public ProductAnalyticsCalendarInterval getValue()
public void setValue(ProductAnalyticsCalendarInterval value)
public ProductAnalyticsRetentionCalendarTimeInterval 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.