Class: DatadogAPIClient::V2::ScheduleCreateRequestDataAttributes

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

Overview

Describes the main attributes for creating a new schedule, including name, layers, time zone, and tags.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



36
37
38
# File 'lib/datadog_api_client/v2/models/schedule_create_request_data_attributes.rb', line 36

def additional_properties
  @additional_properties
end

#layersObject

The layers of on-call coverage that define rotation intervals and restrictions.



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

def layers
  @layers
end

#nameObject

A human-readable name for the new schedule.



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

def name
  @name
end

#tagsObject

A list of tags for categorizing or filtering the schedule.



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

def tags
  @tags
end

#time_zoneObject

The time zone in which the schedule is defined.



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

def time_zone
  @time_zone
end