mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
1.9 KiB
1.9 KiB
AlertSuppressionWindowRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| alert_suppression_window_id | str | Unique ID of the alert suppression window. | [optional] [readonly] |
| name | str | Name of the alert suppression window. | [optional] |
| is_enabled | bool | Set to `false` for `disabled`, `true` for `enabled`. | [optional] |
| status | AlertSuppressionWindowState | [optional] | |
| start_date | datetime | The date/time when the alert suppression window starts (ISO date-time format). | [optional] |
| duration | int | Duration in seconds the suppression window is active. | [optional] |
| repeat | Repeat | [optional] | |
| end_repeat | EndRepeat | [optional] | |
| test_ids | List[str] | List of test IDs to assign to the alert suppression window. | [optional] |
Example
from thousandeyes_sdk.alerts.models.alert_suppression_window_request import AlertSuppressionWindowRequest
# TODO update the JSON string below
json = "{}"
# create an instance of AlertSuppressionWindowRequest from a JSON string
alert_suppression_window_request_instance = AlertSuppressionWindowRequest.from_json(json)
# print the JSON string representation of the object
print(AlertSuppressionWindowRequest.to_json())
# convert the object into a dict
alert_suppression_window_request_dict = alert_suppression_window_request_instance.to_dict()
# create an instance of AlertSuppressionWindowRequest from a dict
alert_suppression_window_request_from_dict = AlertSuppressionWindowRequest.from_dict(alert_suppression_window_request_dict)