@@ -3222,13 +3222,6 @@ public CompletableFuture<GetSBOMResponse> getSBOMAsync(
32223222 public ApiResponse <GetSBOMResponse > getSBOMWithHttpInfo (
32233223 AssetType assetType , String filterAssetName , GetSBOMOptionalParameters parameters )
32243224 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- }
32323225 Object localVarPostBody = null ;
32333226
32343227 // verify the required parameter 'assetType' is set
@@ -3288,16 +3281,6 @@ public ApiResponse<GetSBOMResponse> getSBOMWithHttpInfo(
32883281 */
32893282 public CompletableFuture <ApiResponse <GetSBOMResponse >> getSBOMWithHttpInfoAsync (
32903283 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- }
33013284 Object localVarPostBody = null ;
33023285
33033286 // verify the required parameter 'assetType' is set
@@ -6584,13 +6567,6 @@ public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync(
65846567 */
65856568 public ApiResponse <ListVulnerabilitiesResponse > listVulnerabilitiesWithHttpInfo (
65866569 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- }
65946570 Object localVarPostBody = null ;
65956571 String pageToken = parameters .pageToken ;
65966572 Long pageNumber = parameters .pageNumber ;
@@ -6761,17 +6737,6 @@ public ApiResponse<ListVulnerabilitiesResponse> listVulnerabilitiesWithHttpInfo(
67616737 */
67626738 public CompletableFuture <ApiResponse <ListVulnerabilitiesResponse >>
67636739 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- }
67756740 Object localVarPostBody = null ;
67766741 String pageToken = parameters .pageToken ;
67776742 Long pageNumber = parameters .pageNumber ;
@@ -7242,13 +7207,6 @@ public CompletableFuture<ListVulnerableAssetsResponse> listVulnerableAssetsAsync
72427207 */
72437208 public ApiResponse <ListVulnerableAssetsResponse > listVulnerableAssetsWithHttpInfo (
72447209 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- }
72527210 Object localVarPostBody = null ;
72537211 String pageToken = parameters .pageToken ;
72547212 Long pageNumber = parameters .pageNumber ;
@@ -7334,17 +7292,6 @@ public ApiResponse<ListVulnerableAssetsResponse> listVulnerableAssetsWithHttpInf
73347292 */
73357293 public CompletableFuture <ApiResponse <ListVulnerableAssetsResponse >>
73367294 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- }
73487295 Object localVarPostBody = null ;
73497296 String pageToken = parameters .pageToken ;
73507297 Long pageNumber = parameters .pageNumber ;
0 commit comments