mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
1.4 KiB
1.4 KiB
AlertNotification
Alert notification object. See Alert notification integrations.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| NotificationEmail | [optional] | ||
| third_party | **List[NotificationThirdParty]** | Third party notifications. | [optional] |
| webhook | **List[NotificationWebhook]** | Webhook notifications. | [optional] |
| custom_webhook | **List[NotificationCustomWebhook]** | Custom webhook notifications. | [optional] |
Example
from thousandeyes_sdk.alerts.models.alert_notification import AlertNotification
# TODO update the JSON string below
json = "{}"
# create an instance of AlertNotification from a JSON string
alert_notification_instance = AlertNotification.from_json(json)
# print the JSON string representation of the object
print(AlertNotification.to_json())
# convert the object into a dict
alert_notification_dict = alert_notification_instance.to_dict()
# create an instance of AlertNotification from a dict
alert_notification_from_dict = AlertNotification.from_dict(alert_notification_dict)