@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsRetentionIndexTarget extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
ProductAnalyticsRetentionIndexTarget() |
ProductAnalyticsRetentionIndexTarget(ProductAnalyticsRetentionIndexTargetType type,
Long value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ProductAnalyticsRetentionIndexTarget 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.
|
ProductAnalyticsRetentionIndexTargetType |
getType()
The discriminator identifying a target selected by index.
|
Long |
getValue()
Zero-based index of the targeted cohort or return period.
|
int |
hashCode() |
ProductAnalyticsRetentionIndexTarget |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setType(ProductAnalyticsRetentionIndexTargetType type) |
void |
setValue(Long value) |
String |
toString() |
ProductAnalyticsRetentionIndexTarget |
type(ProductAnalyticsRetentionIndexTargetType type) |
ProductAnalyticsRetentionIndexTarget |
value(Long value) |
public boolean unparsed
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VALUE
public ProductAnalyticsRetentionIndexTarget()
public ProductAnalyticsRetentionIndexTarget(ProductAnalyticsRetentionIndexTargetType type, Long value)
public ProductAnalyticsRetentionIndexTarget type(ProductAnalyticsRetentionIndexTargetType type)
public ProductAnalyticsRetentionIndexTargetType getType()
public void setType(ProductAnalyticsRetentionIndexTargetType type)
public ProductAnalyticsRetentionIndexTarget value(Long value)
public Long getValue()
public void setValue(Long value)
public ProductAnalyticsRetentionIndexTarget 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.