Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionGridResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionGridResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionGridResponseAttributes
extends Object
Attributes of a retention grid response, containing the cohort rows and the period columns.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCohortsItem(ProductAnalyticsRetentionGridCohort cohortsItem) addRetentionPeriodsItem(ProductAnalyticsRetentionPeriod retentionPeriodsItem) addUnitItem(ProductAnalyticsUnit unitItem) cohorts(List<ProductAnalyticsRetentionGridCohort> cohorts) booleanReturn true if this ProductAnalyticsRetentionGridResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The cohorts forming the rows of the grid.The entity whose retention was measured.The return periods forming the columns of the grid.getUnit()Unit definitions for the grid values.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.retentionEntity(String retentionEntity) retentionPeriods(List<ProductAnalyticsRetentionPeriod> retentionPeriods) voidvoidsetRetentionEntity(String retentionEntity) voidsetRetentionPeriods(List<ProductAnalyticsRetentionPeriod> retentionPeriods) voidsetUnit(List<ProductAnalyticsUnit> unit) toString()unit(List<ProductAnalyticsUnit> unit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COHORTS
- See Also:
-
JSON_PROPERTY_RETENTION_ENTITY
- See Also:
-
JSON_PROPERTY_RETENTION_PERIODS
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionGridResponseAttributes
public ProductAnalyticsRetentionGridResponseAttributes()
-
-
Method Details
-
cohorts
public ProductAnalyticsRetentionGridResponseAttributes cohorts(List<ProductAnalyticsRetentionGridCohort> cohorts) -
addCohortsItem
public ProductAnalyticsRetentionGridResponseAttributes addCohortsItem(ProductAnalyticsRetentionGridCohort cohortsItem) -
getCohorts
The cohorts forming the rows of the grid.- Returns:
- cohorts
-
setCohorts
-
retentionEntity
-
getRetentionEntity
The entity whose retention was measured.- Returns:
- retentionEntity
-
setRetentionEntity
-
retentionPeriods
public ProductAnalyticsRetentionGridResponseAttributes retentionPeriods(List<ProductAnalyticsRetentionPeriod> retentionPeriods) -
addRetentionPeriodsItem
public ProductAnalyticsRetentionGridResponseAttributes addRetentionPeriodsItem(ProductAnalyticsRetentionPeriod retentionPeriodsItem) -
getRetentionPeriods
The return periods forming the columns of the grid.- Returns:
- retentionPeriods
-
setRetentionPeriods
-
unit
-
addUnitItem
-
getUnit
Unit definitions for the grid values.- Returns:
- unit
-
setUnit
-
putAdditionalProperty
public ProductAnalyticsRetentionGridResponseAttributes putAdditionalProperty(String key, Object value) 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:
- ProductAnalyticsRetentionGridResponseAttributes
-
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 ProductAnalyticsRetentionGridResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-