mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
1.6 KiB
1.6 KiB
NotificationRuleDetail
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] |
| notifications | AgentNotification | [optional] | |
| agents | **List[AgentResponse]** | [optional] | |
| links | SelfLinks | [optional] |
Example
from thousandeyes_sdk.agents.models.notification_rule_detail import NotificationRuleDetail
# TODO update the JSON string below
json = "{}"
# create an instance of NotificationRuleDetail from a JSON string
notification_rule_detail_instance = NotificationRuleDetail.from_json(json)
# print the JSON string representation of the object
print(NotificationRuleDetail.to_json())
# convert the object into a dict
notification_rule_detail_dict = notification_rule_detail_instance.to_dict()
# create an instance of NotificationRuleDetail from a dict
notification_rule_detail_from_dict = NotificationRuleDetail.from_dict(notification_rule_detail_dict)