@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsRetentionCohortScope extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TARGET |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
ProductAnalyticsRetentionCohortScope() |
ProductAnalyticsRetentionCohortScope(ProductAnalyticsRetentionCohortTarget target,
ProductAnalyticsRetentionCohortScopeType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ProductAnalyticsRetentionCohortScope 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.
|
ProductAnalyticsRetentionCohortTarget |
getTarget()
Selects a cohort, either by index or by the aggregation that rolls all cohorts together.
|
ProductAnalyticsRetentionCohortScopeType |
getType()
The discriminator identifying a scope narrowed to one cohort.
|
int |
hashCode() |
ProductAnalyticsRetentionCohortScope |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setTarget(ProductAnalyticsRetentionCohortTarget target) |
void |
setType(ProductAnalyticsRetentionCohortScopeType type) |
ProductAnalyticsRetentionCohortScope |
target(ProductAnalyticsRetentionCohortTarget target) |
String |
toString() |
ProductAnalyticsRetentionCohortScope |
type(ProductAnalyticsRetentionCohortScopeType type) |
public boolean unparsed
public static final String JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TYPE
public ProductAnalyticsRetentionCohortScope()
public ProductAnalyticsRetentionCohortScope(ProductAnalyticsRetentionCohortTarget target, ProductAnalyticsRetentionCohortScopeType type)
public ProductAnalyticsRetentionCohortScope target(ProductAnalyticsRetentionCohortTarget target)
public ProductAnalyticsRetentionCohortTarget getTarget()
public void setTarget(ProductAnalyticsRetentionCohortTarget target)
public ProductAnalyticsRetentionCohortScope type(ProductAnalyticsRetentionCohortScopeType type)
public ProductAnalyticsRetentionCohortScopeType getType()
public void setType(ProductAnalyticsRetentionCohortScopeType type)
public ProductAnalyticsRetentionCohortScope 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.