Class: DatadogAPIClient::V2::ProductAnalyticsRetentionPeriod

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/product_analytics_retention_period.rb

Overview

A return period definition, such as "1 week".

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/product_analytics_retention_period.rb', line 30

def additional_properties
  @additional_properties
end

#unitObject

Time unit of the period, such as day, week, month, or year.



25
26
27
# File 'lib/datadog_api_client/v2/models/product_analytics_retention_period.rb', line 25

def unit
  @unit
end

#valueObject

Length of the period, expressed in unit.



28
29
30
# File 'lib/datadog_api_client/v2/models/product_analytics_retention_period.rb', line 28

def value
  @value
end