|
| 1 | +# AlertSimpleTest |
| 2 | + |
| 3 | +Each test includes additional fields depending on its `type`. Refer `/tests/{type}` endpoint to know the set of fields returned by a given `type`. |
| 4 | + |
| 5 | +## Properties |
| 6 | + |
| 7 | +Name | Type | Description | Notes |
| 8 | +------------ | ------------- | ------------- | ------------- |
| 9 | +**interval** | [**TestInterval**](TestInterval.md) | | [optional] |
| 10 | +**alerts_enabled** | **bool** | Indicates if alerts are enabled. | [optional] |
| 11 | +**enabled** | **bool** | Test is enabled. | [optional] [default to True] |
| 12 | +**created_by** | **str** | User that created the test. | [optional] [readonly] |
| 13 | +**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly] |
| 14 | +**description** | **str** | A description of the test. | [optional] |
| 15 | +**live_share** | **bool** | Indicates if the test is shared with the account group. | [optional] [readonly] |
| 16 | +**modified_by** | **str** | User that modified the test. | [optional] [readonly] |
| 17 | +**modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly] |
| 18 | +**saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly] |
| 19 | +**test_id** | **str** | Each test is assigned an unique ID; this is used to access test information and results from other endpoints. | [optional] [readonly] |
| 20 | +**test_name** | **str** | The name of the test. Test name must be unique. | [optional] |
| 21 | +**type** | [**AlertTestType**](AlertTestType.md) | | [optional] |
| 22 | +**links** | [**TestLinks**](TestLinks.md) | | [optional] |
| 23 | + |
| 24 | +## Example |
| 25 | + |
| 26 | +```python |
| 27 | +from thousandeyes_sdk.alerts.models.alert_simple_test import AlertSimpleTest |
| 28 | + |
| 29 | +# TODO update the JSON string below |
| 30 | +json = "{}" |
| 31 | +# create an instance of AlertSimpleTest from a JSON string |
| 32 | +alert_simple_test_instance = AlertSimpleTest.from_json(json) |
| 33 | +# print the JSON string representation of the object |
| 34 | +print(AlertSimpleTest.to_json()) |
| 35 | + |
| 36 | +# convert the object into a dict |
| 37 | +alert_simple_test_dict = alert_simple_test_instance.to_dict() |
| 38 | +# create an instance of AlertSimpleTest from a dict |
| 39 | +alert_simple_test_from_dict = AlertSimpleTest.from_dict(alert_simple_test_dict) |
| 40 | +``` |
| 41 | +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 42 | + |
| 43 | + |
0 commit comments