Class: DatadogAPIClient::V2::ProductAnalyticsCalendarInterval

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

Overview

A calendar-aligned bucket definition, such as "every 1 week starting on Monday".

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



37
38
39
# File 'lib/datadog_api_client/v2/models/product_analytics_calendar_interval.rb', line 37

def additional_properties
  @additional_properties
end

#alignmentObject

Where each bucket starts within the calendar unit. Use an hour for day (for example 1am or 14), a day name for week (for example monday), or an ordinal for month (for example 1st).



26
27
28
# File 'lib/datadog_api_client/v2/models/product_analytics_calendar_interval.rb', line 26

def alignment
  @alignment
end

#quantityObject

Number of calendar units per bucket.



29
30
31
# File 'lib/datadog_api_client/v2/models/product_analytics_calendar_interval.rb', line 29

def quantity
  @quantity
end

#timezoneObject

Timezone used to align the buckets.



32
33
34
# File 'lib/datadog_api_client/v2/models/product_analytics_calendar_interval.rb', line 32

def timezone
  @timezone
end

#typeObject

Calendar unit used to bucket cohorts.



35
36
37
# File 'lib/datadog_api_client/v2/models/product_analytics_calendar_interval.rb', line 35

def type
  @type
end