thousandeyes-sdk-python/thousandeyes-sdk-alerts/docs/BaseTest.md
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

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.alerts.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)

[Back to Model list] [Back to API list] [Back to README]