Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionCellScope
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionCellScope
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionCellScope
extends Object
Narrows a retention query to a single cell, at the intersection of one cohort and one return
period.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductAnalyticsRetentionCellScope(ProductAnalyticsRetentionCohortTarget cohortTarget, ProductAnalyticsRetentionIndexTarget returnPeriodTarget, ProductAnalyticsRetentionCellScopeType type) -
Method Summary
Modifier and TypeMethodDescriptioncohortTarget(ProductAnalyticsRetentionCohortTarget cohortTarget) booleanReturn true if this ProductAnalyticsRetentionCellScope object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Selects a cohort, either by index or by the aggregation that rolls all cohorts together.Selects a cohort or return period by its zero-based position in the grid.getType()The discriminator identifying a scope narrowed to one grid cell.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.returnPeriodTarget(ProductAnalyticsRetentionIndexTarget returnPeriodTarget) voidsetCohortTarget(ProductAnalyticsRetentionCohortTarget cohortTarget) voidsetReturnPeriodTarget(ProductAnalyticsRetentionIndexTarget returnPeriodTarget) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COHORT_TARGET
- See Also:
-
JSON_PROPERTY_RETURN_PERIOD_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionCellScope
public ProductAnalyticsRetentionCellScope() -
ProductAnalyticsRetentionCellScope
public ProductAnalyticsRetentionCellScope(ProductAnalyticsRetentionCohortTarget cohortTarget, ProductAnalyticsRetentionIndexTarget returnPeriodTarget, ProductAnalyticsRetentionCellScopeType type)
-
-
Method Details
-
cohortTarget
public ProductAnalyticsRetentionCellScope cohortTarget(ProductAnalyticsRetentionCohortTarget cohortTarget) -
getCohortTarget
Selects a cohort, either by index or by the aggregation that rolls all cohorts together.- Returns:
- cohortTarget
-
setCohortTarget
-
returnPeriodTarget
public ProductAnalyticsRetentionCellScope returnPeriodTarget(ProductAnalyticsRetentionIndexTarget returnPeriodTarget) -
getReturnPeriodTarget
Selects a cohort or return period by its zero-based position in the grid.- Returns:
- returnPeriodTarget
-
setReturnPeriodTarget
-
type
-
getType
The discriminator identifying a scope narrowed to one grid cell.- Returns:
- type
-
setType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ProductAnalyticsRetentionCellScope
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ProductAnalyticsRetentionCellScope object is equal to o. -
hashCode
public int hashCode() -
toString
-