mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-22 02:56:51 +00:00
783 B
783 B
Rules
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| alert_rules | **List[Rule]** | [optional] |
Example
from 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)