mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-22 02:56:51 +00:00
1.9 KiB
1.9 KiB
CompleteAlertSuppressionWindow
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] | |
| tests | **List[BaseTest]** | List of tests assigned to the alert suppression window. | [optional] |
Example
from alerts.models.complete_alert_suppression_window import CompleteAlertSuppressionWindow
# TODO update the JSON string below
json = "{}"
# create an instance of CompleteAlertSuppressionWindow from a JSON string
complete_alert_suppression_window_instance = CompleteAlertSuppressionWindow.from_json(json)
# print the JSON string representation of the object
print(CompleteAlertSuppressionWindow.to_json())
# convert the object into a dict
complete_alert_suppression_window_dict = complete_alert_suppression_window_instance.to_dict()
# create an instance of CompleteAlertSuppressionWindow from a dict
complete_alert_suppression_window_from_dict = CompleteAlertSuppressionWindow.from_dict(complete_alert_suppression_window_dict)