Class: DatadogAPIClient::V2::ScheduleCreateRequestDataAttributesLayersItemsRestrictionsItems

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

Overview

Defines a time restriction for a schedule layer, including which day of the week it starts and ends, along with start/end times.

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/schedule_create_request_data_attributes_layers_items_restrictions_items.rb', line 37

def additional_properties
  @additional_properties
end

#end_dayObject

The weekday when the restriction period ends (Monday through Sunday).



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

def end_day
  @end_day
end

#end_timeObject

The time of day when the restriction ends (hh:mm:ss).



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

def end_time
  @end_time
end

#start_dayObject

The weekday when the restriction period starts (Monday through Sunday).



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

def start_day
  @start_day
end

#start_timeObject

The time of day when the restriction begins (hh:mm:ss).



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

def start_time
  @start_time
end