mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
1.7 KiB
1.7 KiB
AlertSuppressionWindow
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] | |
| links | SelfLinks | [optional] |
Example
from thousandeyes_sdk.alerts.models.alert_suppression_window import AlertSuppressionWindow
# TODO update the JSON string below
json = "{}"
# create an instance of AlertSuppressionWindow from a JSON string
alert_suppression_window_instance = AlertSuppressionWindow.from_json(json)
# print the JSON string representation of the object
print(AlertSuppressionWindow.to_json())
# convert the object into a dict
alert_suppression_window_dict = alert_suppression_window_instance.to_dict()
# create an instance of AlertSuppressionWindow from a dict
alert_suppression_window_from_dict = AlertSuppressionWindow.from_dict(alert_suppression_window_dict)