Class: DatadogAPIClient::V1::WebhooksIntegrationUpdateRequest
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::WebhooksIntegrationUpdateRequest
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb
Overview
Update request of a Webhooks integration object.
*All properties are optional.*
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#custom_headers ⇒ Object
If ‘null`, uses no header.
-
#encode_as ⇒ Object
Encoding type.
-
#name ⇒ Object
The name of the webhook.
-
#payload ⇒ Object
If ‘null`, uses the default payload.
-
#url ⇒ Object
URL of the webhook.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb', line 47 def additional_properties @additional_properties end |
#custom_headers ⇒ Object
If ‘null`, uses no header. If given a JSON payload, these will be headers attached to your webhook.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb', line 28 def custom_headers @custom_headers end |
#encode_as ⇒ Object
Encoding type. Can be given either ‘json` or `form`.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb', line 31 def encode_as @encode_as end |
#name ⇒ Object
The name of the webhook. It corresponds with ‘<WEBHOOK_NAME>`. Learn more on how to use it in [monitor notifications](docs.datadoghq.com/monitors/notify).
36 37 38 |
# File 'lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb', line 36 def name @name end |
#payload ⇒ Object
If ‘null`, uses the default payload. If given a JSON payload, the webhook returns the payload specified by the given payload. [Webhooks variable usage](docs.datadoghq.com/integrations/webhooks/#usage).
42 43 44 |
# File 'lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb', line 42 def payload @payload end |
#url ⇒ Object
URL of the webhook.
45 46 47 |
# File 'lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb', line 45 def url @url end |