Class: DatadogAPIClient::V2::NotificationRuleResponse

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

Overview

Response object which includes a notification rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#dataObject

Notification rules allow full control over notifications generated by the various Datadog security products. They allow users to define the conditions under which a notification should be generated (based on rule severities, rule types, rule tags, and so on), and the targets to notify. A notification rule is composed of a rule ID, a rule type, and the rule attributes. All fields are required.



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

def data
  @data
end