Class: DatadogAPIClient::V1::CalendarInterval

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

Overview

Calendar interval definition.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#alignment ⇒ Object

Alignment of the interval. Valid values depend on the interval type. For day, use hours (for example, 1am, 2pm, or 14). For week, use day names (for example, monday). For month, use day-of-month ordinals (for example, 1st, 15th). For year or quarter, use month names (for example, january).



25
26
27
# File 'lib/datadog_api_client/v1/models/calendar_interval.rb', line 25

def alignment
  @alignment
end

#quantity ⇒ Object

Quantity of the interval.



28
29
30
# File 'lib/datadog_api_client/v1/models/calendar_interval.rb', line 28

def quantity
  @quantity
end

#timezone ⇒ Object

Timezone for the interval.



31
32
33
# File 'lib/datadog_api_client/v1/models/calendar_interval.rb', line 31

def timezone
  @timezone
end

#type ⇒ Object

Type of calendar interval.



34
35
36
# File 'lib/datadog_api_client/v1/models/calendar_interval.rb', line 34

def type
  @type
end