mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
1.1 KiB
1.1 KiB
BaseTest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| interval | TestInterval | [optional] | |
| alerts_enabled | bool | Indicates if alerts are enabled. | [optional] |
| enabled | bool | Test is enabled. | [optional] [default to True] |
| alert_rules | **List[AlertRule]** | Contains list of enabled alert rule objects. | [optional] |
Example
from thousandeyes_sdk.tests.models.base_test import BaseTest
# TODO update the JSON string below
json = "{}"
# create an instance of BaseTest from a JSON string
base_test_instance = BaseTest.from_json(json)
# print the JSON string representation of the object
print(BaseTest.to_json())
# convert the object into a dict
base_test_dict = base_test_instance.to_dict()
# create an instance of BaseTest from a dict
base_test_from_dict = BaseTest.from_dict(base_test_dict)