mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
1.3 KiB
1.3 KiB
NotificationRule
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| rule_id | str | Agent notification rule ID | [optional] [readonly] |
| rule_name | str | Name of the agent notification rule | [optional] |
| expression | str | Expression of agent notification rule | [optional] |
| notify_on_clear | bool | Send notification when notification clears | [optional] |
| is_default | bool | Agent notification rule will be automatically included on all new Enterprise Agents. | [optional] |
Example
from agents_api.models.notification_rule import NotificationRule
# TODO update the JSON string below
json = "{}"
# create an instance of NotificationRule from a JSON string
notification_rule_instance = NotificationRule.from_json(json)
# print the JSON string representation of the object
print NotificationRule.to_json()
# convert the object into a dict
notification_rule_dict = notification_rule_instance.to_dict()
# create an instance of NotificationRule from a dict
notification_rule_form_dict = notification_rule.from_dict(notification_rule_dict)