mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
867 B
867 B
Rules
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| alert_rules | **List[BaseRule]** | [optional] | |
| links | SelfLinks | [optional] |
Example
from thousandeyes_sdk.alerts.models.rules import Rules
# TODO update the JSON string below
json = "{}"
# create an instance of Rules from a JSON string
rules_instance = Rules.from_json(json)
# print the JSON string representation of the object
print(Rules.to_json())
# convert the object into a dict
rules_dict = rules_instance.to_dict()
# create an instance of Rules from a dict
rules_from_dict = Rules.from_dict(rules_dict)