Skip to content

Commit fd82d71

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update api spec with additional monitor notification presets (#3430)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 5fd76fd commit fd82d71

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8391,12 +8391,18 @@ components:
83918391
- hide_query
83928392
- hide_handles
83938393
- hide_all
8394+
- hide_query_and_handles
8395+
- show_only_snapshot
8396+
- hide_handles_and_footer
83948397
type: string
83958398
x-enum-varnames:
83968399
- SHOW_ALL
83978400
- HIDE_QUERY
83988401
- HIDE_HANDLES
83998402
- HIDE_ALL
8403+
- HIDE_QUERY_AND_HANDLES
8404+
- SHOW_ONLY_SNAPSHOT
8405+
- HIDE_HANDLES_AND_FOOTER
84008406
MonitorOptionsSchedulingOptions:
84018407
description: Configuration options for scheduling.
84028408
properties:
@@ -18283,12 +18289,18 @@ components:
1828318289
- hide_all
1828418290
- hide_query
1828518291
- hide_handles
18292+
- hide_query_and_handles
18293+
- show_only_snapshot
18294+
- hide_handles_and_footer
1828618295
type: string
1828718296
x-enum-varnames:
1828818297
- SHOW_ALL
1828918298
- HIDE_ALL
1829018299
- HIDE_QUERY
1829118300
- HIDE_HANDLES
18301+
- HIDE_QUERY_AND_HANDLES
18302+
- SHOW_ONLY_SNAPSHOT
18303+
- HIDE_HANDLES_AND_FOOTER
1829218304
SyntheticsTestOptionsRetry:
1829318305
description: Object describing the retry strategy to apply to a Synthetic test.
1829418306
properties:

src/main/java/com/datadog/api/client/v1/model/MonitorOptionsNotificationPresets.java

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@
2424
public class MonitorOptionsNotificationPresets extends ModelEnum<String> {
2525

2626
private static final Set<String> allowedValues =
27-
new HashSet<String>(Arrays.asList("show_all", "hide_query", "hide_handles", "hide_all"));
27+
new HashSet<String>(
28+
Arrays.asList(
29+
"show_all",
30+
"hide_query",
31+
"hide_handles",
32+
"hide_all",
33+
"hide_query_and_handles",
34+
"show_only_snapshot",
35+
"hide_handles_and_footer"));
2836

2937
public static final MonitorOptionsNotificationPresets SHOW_ALL =
3038
new MonitorOptionsNotificationPresets("show_all");
@@ -34,6 +42,12 @@ public class MonitorOptionsNotificationPresets extends ModelEnum<String> {
3442
new MonitorOptionsNotificationPresets("hide_handles");
3543
public static final MonitorOptionsNotificationPresets HIDE_ALL =
3644
new MonitorOptionsNotificationPresets("hide_all");
45+
public static final MonitorOptionsNotificationPresets HIDE_QUERY_AND_HANDLES =
46+
new MonitorOptionsNotificationPresets("hide_query_and_handles");
47+
public static final MonitorOptionsNotificationPresets SHOW_ONLY_SNAPSHOT =
48+
new MonitorOptionsNotificationPresets("show_only_snapshot");
49+
public static final MonitorOptionsNotificationPresets HIDE_HANDLES_AND_FOOTER =
50+
new MonitorOptionsNotificationPresets("hide_handles_and_footer");
3751

3852
MonitorOptionsNotificationPresets(String value) {
3953
super(value, allowedValues);

src/main/java/com/datadog/api/client/v1/model/SyntheticsTestOptionsMonitorOptionsNotificationPresetName.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@
2626
public class SyntheticsTestOptionsMonitorOptionsNotificationPresetName extends ModelEnum<String> {
2727

2828
private static final Set<String> allowedValues =
29-
new HashSet<String>(Arrays.asList("show_all", "hide_all", "hide_query", "hide_handles"));
29+
new HashSet<String>(
30+
Arrays.asList(
31+
"show_all",
32+
"hide_all",
33+
"hide_query",
34+
"hide_handles",
35+
"hide_query_and_handles",
36+
"show_only_snapshot",
37+
"hide_handles_and_footer"));
3038

3139
public static final SyntheticsTestOptionsMonitorOptionsNotificationPresetName SHOW_ALL =
3240
new SyntheticsTestOptionsMonitorOptionsNotificationPresetName("show_all");
@@ -36,6 +44,14 @@ public class SyntheticsTestOptionsMonitorOptionsNotificationPresetName extends M
3644
new SyntheticsTestOptionsMonitorOptionsNotificationPresetName("hide_query");
3745
public static final SyntheticsTestOptionsMonitorOptionsNotificationPresetName HIDE_HANDLES =
3846
new SyntheticsTestOptionsMonitorOptionsNotificationPresetName("hide_handles");
47+
public static final SyntheticsTestOptionsMonitorOptionsNotificationPresetName
48+
HIDE_QUERY_AND_HANDLES =
49+
new SyntheticsTestOptionsMonitorOptionsNotificationPresetName("hide_query_and_handles");
50+
public static final SyntheticsTestOptionsMonitorOptionsNotificationPresetName SHOW_ONLY_SNAPSHOT =
51+
new SyntheticsTestOptionsMonitorOptionsNotificationPresetName("show_only_snapshot");
52+
public static final SyntheticsTestOptionsMonitorOptionsNotificationPresetName
53+
HIDE_HANDLES_AND_FOOTER =
54+
new SyntheticsTestOptionsMonitorOptionsNotificationPresetName("hide_handles_and_footer");
3955

4056
SyntheticsTestOptionsMonitorOptionsNotificationPresetName(String value) {
4157
super(value, allowedValues);

0 commit comments

Comments
 (0)