Class: DatadogAPIClient::V2::ScheduleCreateRequestDataAttributesLayersItems

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

Overview

Describes a schedule layer, including rotation intervals, members, restrictions, and timeline settings.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



45
46
47
# File 'lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb', line 45

def additional_properties
  @additional_properties
end

#effective_dateObject

The date/time when this layer becomes active (in ISO 8601).



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

def effective_date
  @effective_date
end

#end_dateObject

The date/time after which this layer no longer applies (in ISO 8601).



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

def end_date
  @end_date
end

#intervalObject

Defines how frequently the rotation repeats, using days and/or seconds (up to certain limits).



31
32
33
# File 'lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb', line 31

def interval
  @interval
end

#membersObject

A list of members who participate in this layer's rotation.



34
35
36
# File 'lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb', line 34

def members
  @members
end

#nameObject

The name of this layer.



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

def name
  @name
end

#restrictionsObject

Zero or more time-based restrictions (for example, only weekdays, during business hours).



40
41
42
# File 'lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb', line 40

def restrictions
  @restrictions
end

#rotation_startObject

The date/time when the rotation for this layer starts (in ISO 8601).



43
44
45
# File 'lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb', line 43

def rotation_start
  @rotation_start
end