Class: DatadogAPIClient::V2::TimeRestrictions

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

Overview

Time restrictions during which the routing rule is active. Outside of these hours, the rule does not match and routing continues to subsequent rules. This is mutually exclusive with the action-level support_hours field.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/time_restrictions.rb', line 30

def additional_properties
  @additional_properties
end

#restrictionsObject

Defines the list of time-based restrictions.



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

def restrictions
  @restrictions
end

#time_zoneObject

Specifies the time zone applicable to the restrictions.



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

def time_zone
  @time_zone
end