Class: DatadogAPIClient::V2::SlackAction
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SlackAction
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/slack_action.rb
Overview
Sends a message to a Slack channel.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#channel ⇒ Object
readonly
The channel ID.
-
#type ⇒ Object
readonly
Must be set to "send_slack_message".
-
#workspace ⇒ Object
readonly
The workspace ID.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/slack_action.rb', line 33 def additional_properties @additional_properties end |
#channel ⇒ Object
The channel ID.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/slack_action.rb', line 25 def channel @channel end |
#type ⇒ Object
Must be set to "send_slack_message".
28 29 30 |
# File 'lib/datadog_api_client/v2/models/slack_action.rb', line 28 def type @type end |
#workspace ⇒ Object
The workspace ID.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/slack_action.rb', line 31 def workspace @workspace end |