mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.3 KiB
1.3 KiB
NotificationCustomWebhook
Custom webhook notification.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| integration_id | str | Integration ID. | [optional] |
| integration_type | CustomWebhookIntegrationType | [optional] | |
| integration_name | str | User-configured name of the integration. | [optional] |
| target | str | Webhook target URL. | [optional] |
Example
from thousandeyes_sdk.alerts.models.notification_custom_webhook import NotificationCustomWebhook
# TODO update the JSON string below
json = "{}"
# create an instance of NotificationCustomWebhook from a JSON string
notification_custom_webhook_instance = NotificationCustomWebhook.from_json(json)
# print the JSON string representation of the object
print(NotificationCustomWebhook.to_json())
# convert the object into a dict
notification_custom_webhook_dict = notification_custom_webhook_instance.to_dict()
# create an instance of NotificationCustomWebhook from a dict
notification_custom_webhook_from_dict = NotificationCustomWebhook.from_dict(notification_custom_webhook_dict)