Class: DatadogAPIClient::V2::ProductAnalyticsRetentionPeriod
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ProductAnalyticsRetentionPeriod
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#unit ⇒ Object
Time unit of the period, such as
day,week,month, oryear. -
#value ⇒ Object
Length of the period, expressed in
unit.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#unit ⇒ Object
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 |
#value ⇒ Object
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 |