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 @@ -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 @@ -11,6 +11,9 @@ pub enum MonitorOptionsNotificationPresets {
HIDE_QUERY,
HIDE_HANDLES,
HIDE_ALL,
HIDE_QUERY_AND_HANDLES,
SHOW_ONLY_SNAPSHOT,
HIDE_HANDLES_AND_FOOTER,
UnparsedObject(crate::datadog::UnparsedObject),
}

Expand All @@ -21,6 +24,9 @@ impl ToString for MonitorOptionsNotificationPresets {
Self::HIDE_QUERY => String::from("hide_query"),
Self::HIDE_HANDLES => String::from("hide_handles"),
Self::HIDE_ALL => String::from("hide_all"),
Self::HIDE_QUERY_AND_HANDLES => String::from("hide_query_and_handles"),
Self::SHOW_ONLY_SNAPSHOT => String::from("show_only_snapshot"),
Self::HIDE_HANDLES_AND_FOOTER => String::from("hide_handles_and_footer"),
Self::UnparsedObject(v) => v.value.to_string(),
}
}
Expand Down Expand Up @@ -49,6 +55,9 @@ impl<'de> Deserialize<'de> for MonitorOptionsNotificationPresets {
"hide_query" => Self::HIDE_QUERY,
"hide_handles" => Self::HIDE_HANDLES,
"hide_all" => Self::HIDE_ALL,
"hide_query_and_handles" => Self::HIDE_QUERY_AND_HANDLES,
"show_only_snapshot" => Self::SHOW_ONLY_SNAPSHOT,
"hide_handles_and_footer" => Self::HIDE_HANDLES_AND_FOOTER,
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
value: serde_json::Value::String(s.into()),
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ pub enum SyntheticsTestOptionsMonitorOptionsNotificationPresetName {
HIDE_ALL,
HIDE_QUERY,
HIDE_HANDLES,
HIDE_QUERY_AND_HANDLES,
SHOW_ONLY_SNAPSHOT,
HIDE_HANDLES_AND_FOOTER,
UnparsedObject(crate::datadog::UnparsedObject),
}

Expand All @@ -21,6 +24,9 @@ impl ToString for SyntheticsTestOptionsMonitorOptionsNotificationPresetName {
Self::HIDE_ALL => String::from("hide_all"),
Self::HIDE_QUERY => String::from("hide_query"),
Self::HIDE_HANDLES => String::from("hide_handles"),
Self::HIDE_QUERY_AND_HANDLES => String::from("hide_query_and_handles"),
Self::SHOW_ONLY_SNAPSHOT => String::from("show_only_snapshot"),
Self::HIDE_HANDLES_AND_FOOTER => String::from("hide_handles_and_footer"),
Self::UnparsedObject(v) => v.value.to_string(),
}
}
Expand Down Expand Up @@ -49,6 +55,9 @@ impl<'de> Deserialize<'de> for SyntheticsTestOptionsMonitorOptionsNotificationPr
"hide_all" => Self::HIDE_ALL,
"hide_query" => Self::HIDE_QUERY,
"hide_handles" => Self::HIDE_HANDLES,
"hide_query_and_handles" => Self::HIDE_QUERY_AND_HANDLES,
"show_only_snapshot" => Self::SHOW_ONLY_SNAPSHOT,
"hide_handles_and_footer" => Self::HIDE_HANDLES_AND_FOOTER,
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
value: serde_json::Value::String(s.into()),
}),
Expand Down
Loading