@@ -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