@@ -3222,13 +3222,6 @@ public CompletableFuture<GetSBOMResponse> getSBOMAsync(
3222
3222
public ApiResponse <GetSBOMResponse > getSBOMWithHttpInfo (
3223
3223
AssetType assetType , String filterAssetName , GetSBOMOptionalParameters parameters )
3224
3224
throws ApiException {
3225
- // Check if unstable operation is enabled
3226
- String operationId = "getSBOM" ;
3227
- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
3228
- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
3229
- } else {
3230
- throw new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId ));
3231
- }
3232
3225
Object localVarPostBody = null ;
3233
3226
3234
3227
// verify the required parameter 'assetType' is set
@@ -3288,16 +3281,6 @@ public ApiResponse<GetSBOMResponse> getSBOMWithHttpInfo(
3288
3281
*/
3289
3282
public CompletableFuture <ApiResponse <GetSBOMResponse >> getSBOMWithHttpInfoAsync (
3290
3283
AssetType assetType , String filterAssetName , GetSBOMOptionalParameters parameters ) {
3291
- // Check if unstable operation is enabled
3292
- String operationId = "getSBOM" ;
3293
- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
3294
- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
3295
- } else {
3296
- CompletableFuture <ApiResponse <GetSBOMResponse >> result = new CompletableFuture <>();
3297
- result .completeExceptionally (
3298
- new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId )));
3299
- return result ;
3300
- }
3301
3284
Object localVarPostBody = null ;
3302
3285
3303
3286
// verify the required parameter 'assetType' is set
@@ -6584,13 +6567,6 @@ public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync(
6584
6567
*/
6585
6568
public ApiResponse <ListVulnerabilitiesResponse > listVulnerabilitiesWithHttpInfo (
6586
6569
ListVulnerabilitiesOptionalParameters parameters ) throws ApiException {
6587
- // Check if unstable operation is enabled
6588
- String operationId = "listVulnerabilities" ;
6589
- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
6590
- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
6591
- } else {
6592
- throw new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId ));
6593
- }
6594
6570
Object localVarPostBody = null ;
6595
6571
String pageToken = parameters .pageToken ;
6596
6572
Long pageNumber = parameters .pageNumber ;
@@ -6761,17 +6737,6 @@ public ApiResponse<ListVulnerabilitiesResponse> listVulnerabilitiesWithHttpInfo(
6761
6737
*/
6762
6738
public CompletableFuture <ApiResponse <ListVulnerabilitiesResponse >>
6763
6739
listVulnerabilitiesWithHttpInfoAsync (ListVulnerabilitiesOptionalParameters parameters ) {
6764
- // Check if unstable operation is enabled
6765
- String operationId = "listVulnerabilities" ;
6766
- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
6767
- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
6768
- } else {
6769
- CompletableFuture <ApiResponse <ListVulnerabilitiesResponse >> result =
6770
- new CompletableFuture <>();
6771
- result .completeExceptionally (
6772
- new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId )));
6773
- return result ;
6774
- }
6775
6740
Object localVarPostBody = null ;
6776
6741
String pageToken = parameters .pageToken ;
6777
6742
Long pageNumber = parameters .pageNumber ;
@@ -7242,13 +7207,6 @@ public CompletableFuture<ListVulnerableAssetsResponse> listVulnerableAssetsAsync
7242
7207
*/
7243
7208
public ApiResponse <ListVulnerableAssetsResponse > listVulnerableAssetsWithHttpInfo (
7244
7209
ListVulnerableAssetsOptionalParameters parameters ) throws ApiException {
7245
- // Check if unstable operation is enabled
7246
- String operationId = "listVulnerableAssets" ;
7247
- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
7248
- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
7249
- } else {
7250
- throw new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId ));
7251
- }
7252
7210
Object localVarPostBody = null ;
7253
7211
String pageToken = parameters .pageToken ;
7254
7212
Long pageNumber = parameters .pageNumber ;
@@ -7334,17 +7292,6 @@ public ApiResponse<ListVulnerableAssetsResponse> listVulnerableAssetsWithHttpInf
7334
7292
*/
7335
7293
public CompletableFuture <ApiResponse <ListVulnerableAssetsResponse >>
7336
7294
listVulnerableAssetsWithHttpInfoAsync (ListVulnerableAssetsOptionalParameters parameters ) {
7337
- // Check if unstable operation is enabled
7338
- String operationId = "listVulnerableAssets" ;
7339
- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
7340
- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
7341
- } else {
7342
- CompletableFuture <ApiResponse <ListVulnerableAssetsResponse >> result =
7343
- new CompletableFuture <>();
7344
- result .completeExceptionally (
7345
- new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId )));
7346
- return result ;
7347
- }
7348
7295
Object localVarPostBody = null ;
7349
7296
String pageToken = parameters .pageToken ;
7350
7297
Long pageNumber = parameters .pageNumber ;
0 commit comments