Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8369,12 +8369,18 @@ components:
- hide_query
- hide_handles
- hide_all
- hide_query_and_handles
- show_only_snapshot
- hide_handles_and_footer
type: string
x-enum-varnames:
- SHOW_ALL
- HIDE_QUERY
- HIDE_HANDLES
- HIDE_ALL
- HIDE_QUERY_AND_HANDLES
- SHOW_ONLY_SNAPSHOT
- HIDE_HANDLES_AND_FOOTER
MonitorOptionsSchedulingOptions:
description: Configuration options for scheduling.
properties:
Expand Down Expand Up @@ -18257,12 +18263,18 @@ components:
- hide_all
- hide_query
- hide_handles
- hide_query_and_handles
- show_only_snapshot
- hide_handles_and_footer
type: string
x-enum-varnames:
- SHOW_ALL
- HIDE_ALL
- HIDE_QUERY
- HIDE_HANDLES
- HIDE_QUERY_AND_HANDLES
- SHOW_ONLY_SNAPSHOT
- HIDE_HANDLES_AND_FOOTER
SyntheticsTestOptionsRetry:
description: Object describing the retry strategy to apply to a Synthetic test.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MonitorOptionsNotificationPresets(ModelSimple):
"""
Toggles the display of additional content sent in the monitor notification.

:param value: If omitted defaults to "show_all". Must be one of ["show_all", "hide_query", "hide_handles", "hide_all"].
:param value: If omitted defaults to "show_all". Must be one of ["show_all", "hide_query", "hide_handles", "hide_all", "hide_query_and_handles", "show_only_snapshot", "hide_handles_and_footer"].
:type value: str
"""

Expand All @@ -25,11 +25,17 @@ class MonitorOptionsNotificationPresets(ModelSimple):
"hide_query",
"hide_handles",
"hide_all",
"hide_query_and_handles",
"show_only_snapshot",
"hide_handles_and_footer",
}
SHOW_ALL: ClassVar["MonitorOptionsNotificationPresets"]
HIDE_QUERY: ClassVar["MonitorOptionsNotificationPresets"]
HIDE_HANDLES: ClassVar["MonitorOptionsNotificationPresets"]
HIDE_ALL: ClassVar["MonitorOptionsNotificationPresets"]
HIDE_QUERY_AND_HANDLES: ClassVar["MonitorOptionsNotificationPresets"]
SHOW_ONLY_SNAPSHOT: ClassVar["MonitorOptionsNotificationPresets"]
HIDE_HANDLES_AND_FOOTER: ClassVar["MonitorOptionsNotificationPresets"]

@cached_property
def openapi_types(_):
Expand All @@ -42,3 +48,6 @@ def openapi_types(_):
MonitorOptionsNotificationPresets.HIDE_QUERY = MonitorOptionsNotificationPresets("hide_query")
MonitorOptionsNotificationPresets.HIDE_HANDLES = MonitorOptionsNotificationPresets("hide_handles")
MonitorOptionsNotificationPresets.HIDE_ALL = MonitorOptionsNotificationPresets("hide_all")
MonitorOptionsNotificationPresets.HIDE_QUERY_AND_HANDLES = MonitorOptionsNotificationPresets("hide_query_and_handles")
MonitorOptionsNotificationPresets.SHOW_ONLY_SNAPSHOT = MonitorOptionsNotificationPresets("show_only_snapshot")
MonitorOptionsNotificationPresets.HIDE_HANDLES_AND_FOOTER = MonitorOptionsNotificationPresets("hide_handles_and_footer")
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SyntheticsTestOptionsMonitorOptionsNotificationPresetName(ModelSimple):
"""
The name of the preset for the notification for the monitor.

:param value: Must be one of ["show_all", "hide_all", "hide_query", "hide_handles"].
:param value: Must be one of ["show_all", "hide_all", "hide_query", "hide_handles", "hide_query_and_handles", "show_only_snapshot", "hide_handles_and_footer"].
:type value: str
"""

Expand All @@ -25,11 +25,17 @@ class SyntheticsTestOptionsMonitorOptionsNotificationPresetName(ModelSimple):
"hide_all",
"hide_query",
"hide_handles",
"hide_query_and_handles",
"show_only_snapshot",
"hide_handles_and_footer",
}
SHOW_ALL: ClassVar["SyntheticsTestOptionsMonitorOptionsNotificationPresetName"]
HIDE_ALL: ClassVar["SyntheticsTestOptionsMonitorOptionsNotificationPresetName"]
HIDE_QUERY: ClassVar["SyntheticsTestOptionsMonitorOptionsNotificationPresetName"]
HIDE_HANDLES: ClassVar["SyntheticsTestOptionsMonitorOptionsNotificationPresetName"]
HIDE_QUERY_AND_HANDLES: ClassVar["SyntheticsTestOptionsMonitorOptionsNotificationPresetName"]
SHOW_ONLY_SNAPSHOT: ClassVar["SyntheticsTestOptionsMonitorOptionsNotificationPresetName"]
HIDE_HANDLES_AND_FOOTER: ClassVar["SyntheticsTestOptionsMonitorOptionsNotificationPresetName"]

@cached_property
def openapi_types(_):
Expand All @@ -50,3 +56,12 @@ def openapi_types(_):
SyntheticsTestOptionsMonitorOptionsNotificationPresetName.HIDE_HANDLES = (
SyntheticsTestOptionsMonitorOptionsNotificationPresetName("hide_handles")
)
SyntheticsTestOptionsMonitorOptionsNotificationPresetName.HIDE_QUERY_AND_HANDLES = (
SyntheticsTestOptionsMonitorOptionsNotificationPresetName("hide_query_and_handles")
)
SyntheticsTestOptionsMonitorOptionsNotificationPresetName.SHOW_ONLY_SNAPSHOT = (
SyntheticsTestOptionsMonitorOptionsNotificationPresetName("show_only_snapshot")
)
SyntheticsTestOptionsMonitorOptionsNotificationPresetName.HIDE_HANDLES_AND_FOOTER = (
SyntheticsTestOptionsMonitorOptionsNotificationPresetName("hide_handles_and_footer")
)
Loading