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
Notification
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.notification import Notification
# TODO update the JSON string below
json = "{}"
# create an instance of Notification from a JSON string
notification_instance = Notification.from_json(json)
# print the JSON string representation of the object
print(Notification.to_json())
# convert the object into a dict
notification_dict = notification_instance.to_dict()
# create an instance of Notification from a dict
notification_from_dict = Notification.from_dict(notification_dict)