Class ProductAnalyticsRetentionGridCohortCell

java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionGridCohortCell

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsRetentionGridCohortCell extends Object
One cell of the retention grid, holding the result for a single cohort over a single return period. Aggregated rows omit the time and count fields.
  • Field Details

  • Constructor Details

    • ProductAnalyticsRetentionGridCohortCell

      public ProductAnalyticsRetentionGridCohortCell()
  • Method Details

    • cellCount

      public ProductAnalyticsRetentionGridCohortCell cellCount(Long cellCount)
    • getCellCount

      @Nullable public Long getCellCount()
      Number of entities that returned during the period.
      Returns:
      cellCount
    • setCellCount

      public void setCellCount(Long cellCount)
    • cellRate

      public ProductAnalyticsRetentionGridCohortCell cellRate(Double cellRate)
    • getCellRate

      @Nullable public Double getCellRate()
      Fraction of the cohort that returned, between 0 and 1.
      Returns:
      cellRate
    • setCellRate

      public void setCellRate(Double cellRate)
    • cellRelativeValueChange

      public ProductAnalyticsRetentionGridCohortCell cellRelativeValueChange(Double cellRelativeValueChange)
    • getCellRelativeValueChange

      @Nullable public Double getCellRelativeValueChange()
      Change in the metric relative to the cohort baseline.
      Returns:
      cellRelativeValueChange
    • getCellRelativeValueChange_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getCellRelativeValueChange_JsonNullable()
    • setCellRelativeValueChange_JsonNullable

      public void setCellRelativeValueChange_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> cellRelativeValueChange)
    • setCellRelativeValueChange

      public void setCellRelativeValueChange(Double cellRelativeValueChange)
    • cellValue

      public ProductAnalyticsRetentionGridCohortCell cellValue(Double cellValue)
    • getCellValue

      @Nullable public Double getCellValue()
      Value of the computed metric, when a metric other than the retention rate is requested.
      Returns:
      cellValue
    • getCellValue_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getCellValue_JsonNullable()
    • setCellValue_JsonNullable

      public void setCellValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> cellValue)
    • setCellValue

      public void setCellValue(Double cellValue)
    • isPartialData

      public ProductAnalyticsRetentionGridCohortCell isPartialData(Boolean isPartialData)
    • getIsPartialData

      @Nullable public Boolean getIsPartialData()
      Whether the return period is still open, so the numbers are not yet final.
      Returns:
      isPartialData
    • setIsPartialData

      public void setIsPartialData(Boolean isPartialData)
    • returnPeriodEndTime

      public ProductAnalyticsRetentionGridCohortCell returnPeriodEndTime(Long returnPeriodEndTime)
    • getReturnPeriodEndTime

      @Nullable public Long getReturnPeriodEndTime()
      End of the return period, in epoch milliseconds.
      Returns:
      returnPeriodEndTime
    • setReturnPeriodEndTime

      public void setReturnPeriodEndTime(Long returnPeriodEndTime)
    • returnPeriodIndex

      public ProductAnalyticsRetentionGridCohortCell returnPeriodIndex(Long returnPeriodIndex)
    • getReturnPeriodIndex

      @Nullable public Long getReturnPeriodIndex()
      Zero-based index of the return period this cell belongs to.
      Returns:
      returnPeriodIndex
    • setReturnPeriodIndex

      public void setReturnPeriodIndex(Long returnPeriodIndex)
    • returnPeriodStartTime

      public ProductAnalyticsRetentionGridCohortCell returnPeriodStartTime(Long returnPeriodStartTime)
    • getReturnPeriodStartTime

      @Nullable public Long getReturnPeriodStartTime()
      Start of the return period, in epoch milliseconds.
      Returns:
      returnPeriodStartTime
    • setReturnPeriodStartTime

      public void setReturnPeriodStartTime(Long returnPeriodStartTime)
    • type

    • getType

      @Nullable public ProductAnalyticsRetentionGridCohortType getType()
      Whether the row holds one cohort's own numbers, or the weighted roll-up across every cohort.
      Returns:
      type
    • setType

      public void setType(ProductAnalyticsRetentionGridCohortType type)
    • putAdditionalProperty

      public ProductAnalyticsRetentionGridCohortCell 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 set
      value - The associated value
      Returns:
      ProductAnalyticsRetentionGridCohortCell
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this ProductAnalyticsRetentionGridCohortCell object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object