mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
1.8 KiB
1.8 KiB
BaseAlertSuppressionWindow
Alert suppression window.
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] |
Example
from thousandeyes_sdk.alerts.models.base_alert_suppression_window import BaseAlertSuppressionWindow
# TODO update the JSON string below
json = "{}"
# create an instance of BaseAlertSuppressionWindow from a JSON string
base_alert_suppression_window_instance = BaseAlertSuppressionWindow.from_json(json)
# print the JSON string representation of the object
print(BaseAlertSuppressionWindow.to_json())
# convert the object into a dict
base_alert_suppression_window_dict = base_alert_suppression_window_instance.to_dict()
# create an instance of BaseAlertSuppressionWindow from a dict
base_alert_suppression_window_from_dict = BaseAlertSuppressionWindow.from_dict(base_alert_suppression_window_dict)