Skip to content
Merged
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 @@ -8391,12 +8391,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 @@ -18283,12 +18289,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
14 changes: 10 additions & 4 deletions api/datadogV1/model_monitor_options_notification_presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,23 @@ type MonitorOptionsNotificationPresets string

// List of MonitorOptionsNotificationPresets.
const (
MONITOROPTIONSNOTIFICATIONPRESETS_SHOW_ALL MonitorOptionsNotificationPresets = "show_all"
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_QUERY MonitorOptionsNotificationPresets = "hide_query"
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_HANDLES MonitorOptionsNotificationPresets = "hide_handles"
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_ALL MonitorOptionsNotificationPresets = "hide_all"
MONITOROPTIONSNOTIFICATIONPRESETS_SHOW_ALL MonitorOptionsNotificationPresets = "show_all"
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"
)

var allowedMonitorOptionsNotificationPresetsEnumValues = []MonitorOptionsNotificationPresets{
MONITOROPTIONSNOTIFICATIONPRESETS_SHOW_ALL,
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_QUERY,
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_HANDLES,
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_ALL,
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_QUERY_AND_HANDLES,
MONITOROPTIONSNOTIFICATIONPRESETS_SHOW_ONLY_SNAPSHOT,
MONITOROPTIONSNOTIFICATIONPRESETS_HIDE_HANDLES_AND_FOOTER,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,23 @@ type SyntheticsTestOptionsMonitorOptionsNotificationPresetName string

// List of SyntheticsTestOptionsMonitorOptionsNotificationPresetName.
const (
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_SHOW_ALL SyntheticsTestOptionsMonitorOptionsNotificationPresetName = "show_all"
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_ALL SyntheticsTestOptionsMonitorOptionsNotificationPresetName = "hide_all"
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_QUERY SyntheticsTestOptionsMonitorOptionsNotificationPresetName = "hide_query"
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_HANDLES SyntheticsTestOptionsMonitorOptionsNotificationPresetName = "hide_handles"
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_SHOW_ALL SyntheticsTestOptionsMonitorOptionsNotificationPresetName = "show_all"
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_ALL SyntheticsTestOptionsMonitorOptionsNotificationPresetName = "hide_all"
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_QUERY SyntheticsTestOptionsMonitorOptionsNotificationPresetName = "hide_query"
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"
)

var allowedSyntheticsTestOptionsMonitorOptionsNotificationPresetNameEnumValues = []SyntheticsTestOptionsMonitorOptionsNotificationPresetName{
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_SHOW_ALL,
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_ALL,
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_QUERY,
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_HANDLES,
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_QUERY_AND_HANDLES,
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_SHOW_ONLY_SNAPSHOT,
SYNTHETICSTESTOPTIONSMONITOROPTIONSNOTIFICATIONPRESETNAME_HIDE_HANDLES_AND_FOOTER,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down
Loading