mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
2.0 KiB
2.0 KiB
CreateSuppressionWindows201Response
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] |
| links | SelfLinksLinks | [optional] |
Example
from alerts.models.create_suppression_windows201_response import CreateSuppressionWindows201Response
# TODO update the JSON string below
json = "{}"
# create an instance of CreateSuppressionWindows201Response from a JSON string
create_suppression_windows201_response_instance = CreateSuppressionWindows201Response.from_json(json)
# print the JSON string representation of the object
print(CreateSuppressionWindows201Response.to_json())
# convert the object into a dict
create_suppression_windows201_response_dict = create_suppression_windows201_response_instance.to_dict()
# create an instance of CreateSuppressionWindows201Response from a dict
create_suppression_windows201_response_from_dict = CreateSuppressionWindows201Response.from_dict(create_suppression_windows201_response_dict)