Skip to content

Commit 7489d07

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 37743e88 of spec repo
1 parent a53c351 commit 7489d07

File tree

4 files changed

+4
-113
lines changed

4 files changed

+4
-113
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-30 10:29:37.915889",
8-
"spec_repo_commit": "be63084a"
7+
"regenerated": "2025-06-30 11:38:03.196610",
8+
"spec_repo_commit": "37743e88"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-30 10:29:37.934362",
13-
"spec_repo_commit": "be63084a"
12+
"regenerated": "2025-06-30 11:38:03.212929",
13+
"spec_repo_commit": "37743e88"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52712,9 +52712,6 @@ paths:
5271252712
operator: OR
5271352713
permissions:
5271452714
- monitors_read
52715-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52716-
52717-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5271852715
post:
5271952716
description: Creates a monitor notification rule.
5272052717
operationId: CreateMonitorNotificationRule
@@ -52758,9 +52755,6 @@ paths:
5275852755
operator: OR
5275952756
permissions:
5276052757
- monitor_config_policy_write
52761-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52762-
52763-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5276452758
/api/v2/monitor/notification_rule/{rule_id}:
5276552759
delete:
5276652760
description: Deletes a monitor notification rule by `rule_id`.
@@ -52801,9 +52795,6 @@ paths:
5280152795
operator: OR
5280252796
permissions:
5280352797
- monitor_config_policy_write
52804-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52805-
52806-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5280752798
get:
5280852799
description: Returns a monitor notification rule by `rule_id`.
5280952800
operationId: GetMonitorNotificationRule
@@ -52857,9 +52848,6 @@ paths:
5285752848
operator: OR
5285852849
permissions:
5285952850
- monitors_read
52860-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52861-
52862-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5286352851
patch:
5286452852
description: Updates a monitor notification rule by `rule_id`.
5286552853
operationId: UpdateMonitorNotificationRule
@@ -52917,9 +52905,6 @@ paths:
5291752905
operator: OR
5291852906
permissions:
5291952907
- monitor_config_policy_write
52920-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52921-
52922-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5292352908
/api/v2/monitor/policy:
5292452909
get:
5292552910
description: Get all monitor configuration policies.

src/main/java/com/datadog/api/client/ApiClient.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -735,15 +735,10 @@ public class ApiClient {
735735
put("v2.listAWSNamespaces", false);
736736
put("v2.updateAWSAccount", false);
737737
put("v2.listAWSLogsServices", false);
738-
put("v2.createMonitorNotificationRule", false);
739738
put("v2.createMonitorUserTemplate", false);
740-
put("v2.deleteMonitorNotificationRule", false);
741739
put("v2.deleteMonitorUserTemplate", false);
742-
put("v2.getMonitorNotificationRule", false);
743-
put("v2.getMonitorNotificationRules", false);
744740
put("v2.getMonitorUserTemplate", false);
745741
put("v2.listMonitorUserTemplates", false);
746-
put("v2.updateMonitorNotificationRule", false);
747742
put("v2.updateMonitorUserTemplate", false);
748743
put("v2.validateExistingMonitorUserTemplate", false);
749744
put("v2.validateMonitorUserTemplate", false);

src/main/java/com/datadog/api/client/v2/api/MonitorsApi.java

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@ public CompletableFuture<MonitorNotificationRuleResponse> createMonitorNotificat
240240
*/
241241
public ApiResponse<MonitorNotificationRuleResponse> createMonitorNotificationRuleWithHttpInfo(
242242
MonitorNotificationRuleCreateRequest body) throws ApiException {
243-
// Check if unstable operation is enabled
244-
String operationId = "createMonitorNotificationRule";
245-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
246-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
247-
} else {
248-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
249-
}
250243
Object localVarPostBody = body;
251244

252245
// verify the required parameter 'body' is set
@@ -289,17 +282,6 @@ public ApiResponse<MonitorNotificationRuleResponse> createMonitorNotificationRul
289282
*/
290283
public CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>>
291284
createMonitorNotificationRuleWithHttpInfoAsync(MonitorNotificationRuleCreateRequest body) {
292-
// Check if unstable operation is enabled
293-
String operationId = "createMonitorNotificationRule";
294-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
295-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
296-
} else {
297-
CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>> result =
298-
new CompletableFuture<>();
299-
result.completeExceptionally(
300-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
301-
return result;
302-
}
303285
Object localVarPostBody = body;
304286

305287
// verify the required parameter 'body' is set
@@ -679,13 +661,6 @@ public CompletableFuture<Void> deleteMonitorNotificationRuleAsync(String ruleId)
679661
*/
680662
public ApiResponse<Void> deleteMonitorNotificationRuleWithHttpInfo(String ruleId)
681663
throws ApiException {
682-
// Check if unstable operation is enabled
683-
String operationId = "deleteMonitorNotificationRule";
684-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
685-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
686-
} else {
687-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
688-
}
689664
Object localVarPostBody = null;
690665

691666
// verify the required parameter 'ruleId' is set
@@ -731,16 +706,6 @@ public ApiResponse<Void> deleteMonitorNotificationRuleWithHttpInfo(String ruleId
731706
*/
732707
public CompletableFuture<ApiResponse<Void>> deleteMonitorNotificationRuleWithHttpInfoAsync(
733708
String ruleId) {
734-
// Check if unstable operation is enabled
735-
String operationId = "deleteMonitorNotificationRule";
736-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
737-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
738-
} else {
739-
CompletableFuture<ApiResponse<Void>> result = new CompletableFuture<>();
740-
result.completeExceptionally(
741-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
742-
return result;
743-
}
744709
Object localVarPostBody = null;
745710

746711
// verify the required parameter 'ruleId' is set
@@ -1184,13 +1149,6 @@ public CompletableFuture<MonitorNotificationRuleResponse> getMonitorNotification
11841149
*/
11851150
public ApiResponse<MonitorNotificationRuleResponse> getMonitorNotificationRuleWithHttpInfo(
11861151
String ruleId, GetMonitorNotificationRuleOptionalParameters parameters) throws ApiException {
1187-
// Check if unstable operation is enabled
1188-
String operationId = "getMonitorNotificationRule";
1189-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
1190-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
1191-
} else {
1192-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
1193-
}
11941152
Object localVarPostBody = null;
11951153

11961154
// verify the required parameter 'ruleId' is set
@@ -1241,17 +1199,6 @@ public ApiResponse<MonitorNotificationRuleResponse> getMonitorNotificationRuleWi
12411199
public CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>>
12421200
getMonitorNotificationRuleWithHttpInfoAsync(
12431201
String ruleId, GetMonitorNotificationRuleOptionalParameters parameters) {
1244-
// Check if unstable operation is enabled
1245-
String operationId = "getMonitorNotificationRule";
1246-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
1247-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
1248-
} else {
1249-
CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>> result =
1250-
new CompletableFuture<>();
1251-
result.completeExceptionally(
1252-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
1253-
return result;
1254-
}
12551202
Object localVarPostBody = null;
12561203

12571204
// verify the required parameter 'ruleId' is set
@@ -1398,13 +1345,6 @@ public CompletableFuture<MonitorNotificationRuleListResponse> getMonitorNotifica
13981345
*/
13991346
public ApiResponse<MonitorNotificationRuleListResponse> getMonitorNotificationRulesWithHttpInfo(
14001347
GetMonitorNotificationRulesOptionalParameters parameters) throws ApiException {
1401-
// Check if unstable operation is enabled
1402-
String operationId = "getMonitorNotificationRules";
1403-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
1404-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
1405-
} else {
1406-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
1407-
}
14081348
Object localVarPostBody = null;
14091349
String include = parameters.include;
14101350
// create path and map variables
@@ -1446,17 +1386,6 @@ public ApiResponse<MonitorNotificationRuleListResponse> getMonitorNotificationRu
14461386
public CompletableFuture<ApiResponse<MonitorNotificationRuleListResponse>>
14471387
getMonitorNotificationRulesWithHttpInfoAsync(
14481388
GetMonitorNotificationRulesOptionalParameters parameters) {
1449-
// Check if unstable operation is enabled
1450-
String operationId = "getMonitorNotificationRules";
1451-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
1452-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
1453-
} else {
1454-
CompletableFuture<ApiResponse<MonitorNotificationRuleListResponse>> result =
1455-
new CompletableFuture<>();
1456-
result.completeExceptionally(
1457-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
1458-
return result;
1459-
}
14601389
Object localVarPostBody = null;
14611390
String include = parameters.include;
14621391
// create path and map variables
@@ -2175,13 +2104,6 @@ public CompletableFuture<MonitorNotificationRuleResponse> updateMonitorNotificat
21752104
*/
21762105
public ApiResponse<MonitorNotificationRuleResponse> updateMonitorNotificationRuleWithHttpInfo(
21772106
String ruleId, MonitorNotificationRuleUpdateRequest body) throws ApiException {
2178-
// Check if unstable operation is enabled
2179-
String operationId = "updateMonitorNotificationRule";
2180-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
2181-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
2182-
} else {
2183-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
2184-
}
21852107
Object localVarPostBody = body;
21862108

21872109
// verify the required parameter 'ruleId' is set
@@ -2235,17 +2157,6 @@ public ApiResponse<MonitorNotificationRuleResponse> updateMonitorNotificationRul
22352157
public CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>>
22362158
updateMonitorNotificationRuleWithHttpInfoAsync(
22372159
String ruleId, MonitorNotificationRuleUpdateRequest body) {
2238-
// Check if unstable operation is enabled
2239-
String operationId = "updateMonitorNotificationRule";
2240-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
2241-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
2242-
} else {
2243-
CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>> result =
2244-
new CompletableFuture<>();
2245-
result.completeExceptionally(
2246-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
2247-
return result;
2248-
}
22492160
Object localVarPostBody = body;
22502161

22512162
// verify the required parameter 'ruleId' is set

0 commit comments

Comments
 (0)