Class: DatadogAPIClient::V2::TimeRestriction

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

Overview

Defines a single time restriction rule with start and end times and the applicable weekdays.

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/time_restriction.rb', line 36

def additional_properties
  @additional_properties
end

#end_dayObject

A day of the week.



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

def end_day
  @end_day
end

#end_timeObject

Specifies the ending time for this restriction.



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

def end_time
  @end_time
end

#start_dayObject

A day of the week.



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

def start_day
  @start_day
end

#start_timeObject

Specifies the starting time for this restriction.



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

def start_time
  @start_time
end