Class: DatadogAPIClient::V2::TeamRoutingRulesRequestRule

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

Overview

Defines an individual routing rule item that contains the rule data for the request.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#actionsObject

Specifies the list of actions to perform when the routing rule is matched.



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

def actions
  @actions
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 39

def additional_properties
  @additional_properties
end

#policy_idObject

Identifies the policy to be applied when this routing rule matches.



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

def policy_id
  @policy_id
end

#queryObject

Defines the query or condition that triggers this routing rule.



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

def query
  @query
end

#time_restrictionObject

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.



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

def time_restriction
  @time_restriction
end

#urgencyObject

Specifies the level of urgency for a routing rule (low, high, or dynamic).



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

def urgency
  @urgency
end