Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionGridCohort
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionGridCohort
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionGridCohort
extends Object
One row of the retention grid, holding the results for a single cohort.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupTagsItem(String groupTagsItem) addUnitItem(ProductAnalyticsUnit unitItem) cohortEndTime(Long cohortEndTime) cohortIndex(Long cohortIndex) cohortSize(Long cohortSize) cohortStartTime(Long cohortStartTime) booleanReturn true if this ProductAnalyticsRetentionGridCohort object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCells()The cells of the row, one per return period.End of the cohort window, in epoch milliseconds.Zero-based index of the cohort in the grid.Number of entities in the cohort.Start of the cohort window, in epoch milliseconds.The group-by facet values that identify this row.getName()Label identifying the cohort, such as the week it started.getType()Whether the row holds one cohort's own numbers, or the weighted roll-up across every cohort.getUnit()Unit definitions for the cell values.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetCohortEndTime(Long cohortEndTime) voidsetCohortIndex(Long cohortIndex) voidsetCohortSize(Long cohortSize) voidsetCohortStartTime(Long cohortStartTime) voidsetGroupTags(List<String> groupTags) voidvoidvoidsetUnit(List<ProductAnalyticsUnit> unit) toString()unit(List<ProductAnalyticsUnit> unit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CELLS
- See Also:
-
JSON_PROPERTY_COHORT_END_TIME
- See Also:
-
JSON_PROPERTY_COHORT_INDEX
- See Also:
-
JSON_PROPERTY_COHORT_SIZE
- See Also:
-
JSON_PROPERTY_COHORT_START_TIME
- See Also:
-
JSON_PROPERTY_GROUP_TAGS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionGridCohort
public ProductAnalyticsRetentionGridCohort()
-
-
Method Details
-
cells
public ProductAnalyticsRetentionGridCohort cells(List<ProductAnalyticsRetentionGridCohortCell> cells) -
addCellsItem
public ProductAnalyticsRetentionGridCohort addCellsItem(ProductAnalyticsRetentionGridCohortCell cellsItem) -
getCells
The cells of the row, one per return period.- Returns:
- cells
-
setCells
-
cohortEndTime
-
getCohortEndTime
End of the cohort window, in epoch milliseconds.- Returns:
- cohortEndTime
-
setCohortEndTime
-
cohortIndex
-
getCohortIndex
Zero-based index of the cohort in the grid.- Returns:
- cohortIndex
-
setCohortIndex
-
cohortSize
-
getCohortSize
Number of entities in the cohort.- Returns:
- cohortSize
-
setCohortSize
-
cohortStartTime
-
getCohortStartTime
Start of the cohort window, in epoch milliseconds.- Returns:
- cohortStartTime
-
setCohortStartTime
-
groupTags
-
addGroupTagsItem
-
getGroupTags
The group-by facet values that identify this row.- Returns:
- groupTags
-
setGroupTags
-
name
-
getName
Label identifying the cohort, such as the week it started.- Returns:
- name
-
setName
-
type
-
getType
Whether the row holds one cohort's own numbers, or the weighted roll-up across every cohort.- Returns:
- type
-
setType
-
unit
-
addUnitItem
-
getUnit
Unit definitions for the cell values.- Returns:
- unit
-
setUnit
-
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:
- ProductAnalyticsRetentionGridCohort
-
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 ProductAnalyticsRetentionGridCohort object is equal to o. -
hashCode
public int hashCode() -
toString
-