From fb3ea4c7ac17240c3d3d14d8b1411afcd30450c0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 11 May 2026 08:08:51 +0000 Subject: [PATCH] Update SDK to version v3.82.0 - Generated from OpenAPI spec version v3.82.0 - Auto-generated by GitHub Actions --- .sdk-version | 2 +- README.md | 4 +- build.gradle | 4 +- build.sbt | 2 +- docs/AnalysesBulkActionsApi.md | 32 +- docs/AnalysesCommentsApi.md | 64 +- docs/AnalysesCoreApi.md | 160 +---- docs/AuthenticationUsersApi.md | 20 +- docs/BinariesApi.md | 128 +--- docs/FirmwareApi.md | 16 +- docs/FunctionListItem.md | 1 + docs/FunctionsAiDecompilationApi.md | 64 +- docs/NameSourceType.md | 1 + pom.xml | 2 +- .../ai/reveng/api/AnalysesBulkActionsApi.java | 132 +--- .../ai/reveng/api/AnalysesCommentsApi.java | 264 +------ .../java/ai/reveng/api/AnalysesCoreApi.java | 660 +++--------------- .../ai/reveng/api/AuthenticationUsersApi.java | 66 +- src/main/java/ai/reveng/api/BinariesApi.java | 528 ++------------ src/main/java/ai/reveng/api/FirmwareApi.java | 66 +- .../api/FunctionsAiDecompilationApi.java | 264 +------ .../java/ai/reveng/invoker/ApiClient.java | 2 +- .../java/ai/reveng/invoker/Configuration.java | 2 +- .../ai/reveng/model/FunctionListItem.java | 4 +- .../java/ai/reveng/model/NameSourceType.java | 4 +- 25 files changed, 348 insertions(+), 2144 deletions(-) diff --git a/.sdk-version b/.sdk-version index 1c021120..8e4ae25d 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v3.81.0 +v3.82.0 diff --git a/README.md b/README.md index 754cb448..bbbcfe03 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add this dependency to your project's POM: ai.reveng sdk - 3.81.0 + 3.82.0 compile ``` @@ -31,7 +31,7 @@ repositories { } dependencies { - implementation "ai.reveng:sdk:3.81.0" + implementation "ai.reveng:sdk:3.82.0" } ``` diff --git a/build.gradle b/build.gradle index 4570447d..598990e5 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'ai.reveng' -version = '3.81.0' +version = '3.82.0' @@ -171,7 +171,7 @@ mavenPublishing { publishToMavenCentral(true) signAllPublications() - coordinates("ai.reveng", "sdk", "3.81.0") + coordinates("ai.reveng", "sdk", "3.82.0") pom { name = "sdk" diff --git a/build.sbt b/build.sbt index f3044235..c0d3378b 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "ai.reveng", name := "sdk", - version := "3.81.0", + version := "3.82.0", scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), diff --git a/docs/AnalysesBulkActionsApi.md b/docs/AnalysesBulkActionsApi.md index 74bd2f76..feda82a2 100644 --- a/docs/AnalysesBulkActionsApi.md +++ b/docs/AnalysesBulkActionsApi.md @@ -10,7 +10,7 @@ All URIs are relative to *https://api.reveng.ai* # **bulkAddAnalysisTags** -> BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(analysisBulkAddTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(analysisBulkAddTagsRequest) Bulk Add Analysis Tags @@ -39,14 +39,8 @@ public class Example { AnalysesBulkActionsApi apiInstance = new AnalysesBulkActionsApi(defaultClient); AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest = new AnalysisBulkAddTagsRequest(); // AnalysisBulkAddTagsRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseAnalysisBulkAddTagsResponse result = apiInstance.bulkAddAnalysisTags(analysisBulkAddTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseAnalysisBulkAddTagsResponse result = apiInstance.bulkAddAnalysisTags(analysisBulkAddTagsRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesBulkActionsApi#bulkAddAnalysisTags"); @@ -64,12 +58,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **analysisBulkAddTagsRequest** | [**AnalysisBulkAddTagsRequest**](AnalysisBulkAddTagsRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -92,7 +80,7 @@ public class Example { # **bulkDeleteAnalyses** -> BaseResponseDict bulkDeleteAnalyses(bulkDeleteAnalysesRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseDict bulkDeleteAnalyses(bulkDeleteAnalysesRequest) Bulk Delete Analyses @@ -121,14 +109,8 @@ public class Example { AnalysesBulkActionsApi apiInstance = new AnalysesBulkActionsApi(defaultClient); BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest = new BulkDeleteAnalysesRequest(); // BulkDeleteAnalysesRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseDict result = apiInstance.bulkDeleteAnalyses(bulkDeleteAnalysesRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseDict result = apiInstance.bulkDeleteAnalyses(bulkDeleteAnalysesRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesBulkActionsApi#bulkDeleteAnalyses"); @@ -146,12 +128,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **bulkDeleteAnalysesRequest** | [**BulkDeleteAnalysesRequest**](BulkDeleteAnalysesRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type diff --git a/docs/AnalysesCommentsApi.md b/docs/AnalysesCommentsApi.md index a9628b43..bfacf9fd 100644 --- a/docs/AnalysesCommentsApi.md +++ b/docs/AnalysesCommentsApi.md @@ -12,7 +12,7 @@ All URIs are relative to *https://api.reveng.ai* # **createAnalysisComment** -> BaseResponseCommentResponse createAnalysisComment(analysisId, commentBase, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseCommentResponse createAnalysisComment(analysisId, commentBase) Create a comment for this analysis @@ -42,14 +42,8 @@ public class Example { AnalysesCommentsApi apiInstance = new AnalysesCommentsApi(defaultClient); Integer analysisId = 56; // Integer | CommentBase commentBase = new CommentBase(); // CommentBase | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseCommentResponse result = apiInstance.createAnalysisComment(analysisId, commentBase, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseCommentResponse result = apiInstance.createAnalysisComment(analysisId, commentBase); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCommentsApi#createAnalysisComment"); @@ -68,12 +62,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | | **commentBase** | [**CommentBase**](CommentBase.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -97,7 +85,7 @@ public class Example { # **deleteAnalysisComment** -> BaseResponseBool deleteAnalysisComment(commentId, analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseBool deleteAnalysisComment(commentId, analysisId) Delete a comment @@ -127,14 +115,8 @@ public class Example { AnalysesCommentsApi apiInstance = new AnalysesCommentsApi(defaultClient); Integer commentId = 56; // Integer | Integer analysisId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseBool result = apiInstance.deleteAnalysisComment(commentId, analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseBool result = apiInstance.deleteAnalysisComment(commentId, analysisId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCommentsApi#deleteAnalysisComment"); @@ -153,12 +135,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **commentId** | **Integer**| | | | **analysisId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -183,7 +159,7 @@ public class Example { # **getAnalysisComments** -> BaseResponseListCommentResponse getAnalysisComments(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseListCommentResponse getAnalysisComments(analysisId) Get comments for this analysis @@ -212,14 +188,8 @@ public class Example { AnalysesCommentsApi apiInstance = new AnalysesCommentsApi(defaultClient); Integer analysisId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseListCommentResponse result = apiInstance.getAnalysisComments(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseListCommentResponse result = apiInstance.getAnalysisComments(analysisId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCommentsApi#getAnalysisComments"); @@ -237,12 +207,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -265,7 +229,7 @@ public class Example { # **updateAnalysisComment** -> BaseResponseCommentResponse updateAnalysisComment(commentId, analysisId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseCommentResponse updateAnalysisComment(commentId, analysisId, commentUpdateRequest) Update a comment @@ -296,14 +260,8 @@ public class Example { Integer commentId = 56; // Integer | Integer analysisId = 56; // Integer | CommentUpdateRequest commentUpdateRequest = new CommentUpdateRequest(); // CommentUpdateRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseCommentResponse result = apiInstance.updateAnalysisComment(commentId, analysisId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseCommentResponse result = apiInstance.updateAnalysisComment(commentId, analysisId, commentUpdateRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCommentsApi#updateAnalysisComment"); @@ -323,12 +281,6 @@ public class Example { | **commentId** | **Integer**| | | | **analysisId** | **Integer**| | | | **commentUpdateRequest** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type diff --git a/docs/AnalysesCoreApi.md b/docs/AnalysesCoreApi.md index 1b1e094c..31817d56 100644 --- a/docs/AnalysesCoreApi.md +++ b/docs/AnalysesCoreApi.md @@ -24,7 +24,7 @@ All URIs are relative to *https://api.reveng.ai* # **createAnalysis** -> BaseResponseAnalysisCreateResponse createAnalysis(analysisCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication) +> BaseResponseAnalysisCreateResponse createAnalysis(analysisCreateRequest, xRevEngApplication) Create Analysis @@ -53,15 +53,9 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); AnalysisCreateRequest analysisCreateRequest = new AnalysisCreateRequest(); // AnalysisCreateRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | String xRevEngApplication = "xRevEngApplication_example"; // String | try { - BaseResponseAnalysisCreateResponse result = apiInstance.createAnalysis(analysisCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication); + BaseResponseAnalysisCreateResponse result = apiInstance.createAnalysis(analysisCreateRequest, xRevEngApplication); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#createAnalysis"); @@ -79,12 +73,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **analysisCreateRequest** | [**AnalysisCreateRequest**](AnalysisCreateRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | | **xRevEngApplication** | **String**| | [optional] | ### Return type @@ -110,7 +98,7 @@ public class Example { # **deleteAnalysis** -> BaseResponseDict deleteAnalysis(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseDict deleteAnalysis(analysisId) Delete Analysis @@ -139,14 +127,8 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseDict result = apiInstance.deleteAnalysis(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseDict result = apiInstance.deleteAnalysis(analysisId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#deleteAnalysis"); @@ -164,12 +146,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -264,7 +240,7 @@ public class Example { # **getAnalysisFunctionMap** -> BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(analysisId) Get Analysis Function Map @@ -293,14 +269,8 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseAnalysisFunctionMapping result = apiInstance.getAnalysisFunctionMap(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseAnalysisFunctionMapping result = apiInstance.getAnalysisFunctionMap(analysisId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#getAnalysisFunctionMap"); @@ -318,12 +288,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -346,7 +310,7 @@ public class Example { # **getAnalysisLogs** -> BaseResponseLogs getAnalysisLogs(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseLogs getAnalysisLogs(analysisId) Gets the logs of an analysis @@ -375,14 +339,8 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseLogs result = apiInstance.getAnalysisLogs(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseLogs result = apiInstance.getAnalysisLogs(analysisId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#getAnalysisLogs"); @@ -400,12 +358,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -428,7 +380,7 @@ public class Example { # **getAnalysisParams** -> BaseResponseParams getAnalysisParams(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseParams getAnalysisParams(analysisId) Gets analysis param information @@ -457,14 +409,8 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseParams result = apiInstance.getAnalysisParams(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseParams result = apiInstance.getAnalysisParams(analysisId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#getAnalysisParams"); @@ -482,12 +428,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -653,7 +593,7 @@ public class Example { # **insertAnalysisLog** -> BaseResponse insertAnalysisLog(analysisId, insertAnalysisLogRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponse insertAnalysisLog(analysisId, insertAnalysisLogRequest) Insert a log entry for an analysis @@ -683,14 +623,8 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | InsertAnalysisLogRequest insertAnalysisLogRequest = new InsertAnalysisLogRequest(); // InsertAnalysisLogRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponse result = apiInstance.insertAnalysisLog(analysisId, insertAnalysisLogRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponse result = apiInstance.insertAnalysisLog(analysisId, insertAnalysisLogRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#insertAnalysisLog"); @@ -709,12 +643,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | | **insertAnalysisLogRequest** | [**InsertAnalysisLogRequest**](InsertAnalysisLogRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -969,7 +897,7 @@ public class Example { # **requeueAnalysis** -> BaseResponseCreated requeueAnalysis(analysisId, reAnalysisForm, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication) +> BaseResponseCreated requeueAnalysis(analysisId, reAnalysisForm, xRevEngApplication) Requeue Analysis @@ -999,15 +927,9 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | ReAnalysisForm reAnalysisForm = new ReAnalysisForm(); // ReAnalysisForm | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | String xRevEngApplication = "xRevEngApplication_example"; // String | try { - BaseResponseCreated result = apiInstance.requeueAnalysis(analysisId, reAnalysisForm, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication); + BaseResponseCreated result = apiInstance.requeueAnalysis(analysisId, reAnalysisForm, xRevEngApplication); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#requeueAnalysis"); @@ -1026,12 +948,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | | **reAnalysisForm** | [**ReAnalysisForm**](ReAnalysisForm.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | | **xRevEngApplication** | **String**| | [optional] | ### Return type @@ -1057,7 +973,7 @@ public class Example { # **updateAnalysis** -> BaseResponseAnalysisDetailResponse updateAnalysis(analysisId, analysisUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseAnalysisDetailResponse updateAnalysis(analysisId, analysisUpdateRequest) Update Analysis @@ -1087,14 +1003,8 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | AnalysisUpdateRequest analysisUpdateRequest = new AnalysisUpdateRequest(); // AnalysisUpdateRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseAnalysisDetailResponse result = apiInstance.updateAnalysis(analysisId, analysisUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseAnalysisDetailResponse result = apiInstance.updateAnalysis(analysisId, analysisUpdateRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#updateAnalysis"); @@ -1113,12 +1023,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | | **analysisUpdateRequest** | [**AnalysisUpdateRequest**](AnalysisUpdateRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -1141,7 +1045,7 @@ public class Example { # **updateAnalysisTags** -> BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(analysisId, analysisUpdateTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(analysisId, analysisUpdateTagsRequest) Update Analysis Tags @@ -1171,14 +1075,8 @@ public class Example { AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient); Integer analysisId = 56; // Integer | AnalysisUpdateTagsRequest analysisUpdateTagsRequest = new AnalysisUpdateTagsRequest(); // AnalysisUpdateTagsRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseAnalysisUpdateTagsResponse result = apiInstance.updateAnalysisTags(analysisId, analysisUpdateTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseAnalysisUpdateTagsResponse result = apiInstance.updateAnalysisTags(analysisId, analysisUpdateTagsRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#updateAnalysisTags"); @@ -1197,12 +1095,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **analysisId** | **Integer**| | | | **analysisUpdateTagsRequest** | [**AnalysisUpdateTagsRequest**](AnalysisUpdateTagsRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -1225,7 +1117,7 @@ public class Example { # **uploadFile** -> BaseResponseUploadResponse uploadFile(uploadFileType, _file, packedPassword, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, forceOverwrite) +> BaseResponseUploadResponse uploadFile(uploadFileType, _file, packedPassword, forceOverwrite) Upload File @@ -1254,15 +1146,9 @@ public class Example { UploadFileType uploadFileType = UploadFileType.fromValue("BINARY"); // UploadFileType | String _file = "_file_example"; // String | String packedPassword = "packedPassword_example"; // String | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | Boolean forceOverwrite = false; // Boolean | try { - BaseResponseUploadResponse result = apiInstance.uploadFile(uploadFileType, _file, packedPassword, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, forceOverwrite); + BaseResponseUploadResponse result = apiInstance.uploadFile(uploadFileType, _file, packedPassword, forceOverwrite); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AnalysesCoreApi#uploadFile"); @@ -1282,12 +1168,6 @@ public class Example { | **uploadFileType** | [**UploadFileType**](UploadFileType.md)| | [enum: BINARY, DEBUG, PACKED, FIRMWARE] | | **_file** | **String**| | | | **packedPassword** | **String**| | [optional] | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | | **forceOverwrite** | **Boolean**| | [optional] [default to false] | ### Return type diff --git a/docs/AuthenticationUsersApi.md b/docs/AuthenticationUsersApi.md index 7253d5b2..9df7cf63 100644 --- a/docs/AuthenticationUsersApi.md +++ b/docs/AuthenticationUsersApi.md @@ -209,7 +209,7 @@ This endpoint does not need any parameter. # **getUserComments** -> BaseResponseListCommentResponse getUserComments(endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseListCommentResponse getUserComments() Get comments by user @@ -237,14 +237,8 @@ public class Example { //APIKey.setApiKeyPrefix("Token"); AuthenticationUsersApi apiInstance = new AuthenticationUsersApi(defaultClient); - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseListCommentResponse result = apiInstance.getUserComments(endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseListCommentResponse result = apiInstance.getUserComments(); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AuthenticationUsersApi#getUserComments"); @@ -258,15 +252,7 @@ public class Example { ``` ### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | +This endpoint does not need any parameter. ### Return type diff --git a/docs/BinariesApi.md b/docs/BinariesApi.md index 460728fe..402bca31 100644 --- a/docs/BinariesApi.md +++ b/docs/BinariesApi.md @@ -16,7 +16,7 @@ All URIs are relative to *https://api.reveng.ai* # **downloadZippedBinary** -> File downloadZippedBinary(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> File downloadZippedBinary(binaryId) Downloads a zipped binary with password protection @@ -43,14 +43,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - File result = apiInstance.downloadZippedBinary(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + File result = apiInstance.downloadZippedBinary(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#downloadZippedBinary"); @@ -68,12 +62,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -96,7 +84,7 @@ public class Example { # **getBinaryAdditionalDetails** -> BaseResponseBinaryAdditionalResponse getBinaryAdditionalDetails(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseBinaryAdditionalResponse getBinaryAdditionalDetails(binaryId) Gets the additional details of a binary @@ -123,14 +111,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseBinaryAdditionalResponse result = apiInstance.getBinaryAdditionalDetails(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseBinaryAdditionalResponse result = apiInstance.getBinaryAdditionalDetails(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#getBinaryAdditionalDetails"); @@ -148,12 +130,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -176,7 +152,7 @@ public class Example { # **getBinaryAdditionalDetailsStatus** -> BaseResponseAdditionalDetailsStatusResponse getBinaryAdditionalDetailsStatus(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseAdditionalDetailsStatusResponse getBinaryAdditionalDetailsStatus(binaryId) Gets the status of the additional details task for a binary @@ -203,14 +179,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseAdditionalDetailsStatusResponse result = apiInstance.getBinaryAdditionalDetailsStatus(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseAdditionalDetailsStatusResponse result = apiInstance.getBinaryAdditionalDetailsStatus(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#getBinaryAdditionalDetailsStatus"); @@ -228,12 +198,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -256,7 +220,7 @@ public class Example { # **getBinaryDetails** -> BaseResponseBinaryDetailsResponse getBinaryDetails(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseBinaryDetailsResponse getBinaryDetails(binaryId) Gets the details of a binary @@ -283,14 +247,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseBinaryDetailsResponse result = apiInstance.getBinaryDetails(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseBinaryDetailsResponse result = apiInstance.getBinaryDetails(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#getBinaryDetails"); @@ -308,12 +266,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -336,7 +288,7 @@ public class Example { # **getBinaryDieInfo** -> BaseResponseListDieMatch getBinaryDieInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseListDieMatch getBinaryDieInfo(binaryId) Gets the die info of a binary @@ -363,14 +315,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseListDieMatch result = apiInstance.getBinaryDieInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseListDieMatch result = apiInstance.getBinaryDieInfo(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#getBinaryDieInfo"); @@ -388,12 +334,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -416,7 +356,7 @@ public class Example { # **getBinaryExternals** -> BaseResponseBinaryExternalsResponse getBinaryExternals(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseBinaryExternalsResponse getBinaryExternals(binaryId) Gets the external details of a binary @@ -443,14 +383,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseBinaryExternalsResponse result = apiInstance.getBinaryExternals(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseBinaryExternalsResponse result = apiInstance.getBinaryExternals(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#getBinaryExternals"); @@ -468,12 +402,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -496,7 +424,7 @@ public class Example { # **getBinaryRelatedStatus** -> BaseResponseBinariesRelatedStatusResponse getBinaryRelatedStatus(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseBinariesRelatedStatusResponse getBinaryRelatedStatus(binaryId) Gets the status of the unpack binary task for a binary @@ -523,14 +451,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseBinariesRelatedStatusResponse result = apiInstance.getBinaryRelatedStatus(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseBinariesRelatedStatusResponse result = apiInstance.getBinaryRelatedStatus(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#getBinaryRelatedStatus"); @@ -548,12 +470,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -576,7 +492,7 @@ public class Example { # **getRelatedBinaries** -> BaseResponseChildBinariesResponse getRelatedBinaries(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseChildBinariesResponse getRelatedBinaries(binaryId) Gets the related binaries of a binary. @@ -603,14 +519,8 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseChildBinariesResponse result = apiInstance.getRelatedBinaries(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseChildBinariesResponse result = apiInstance.getRelatedBinaries(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#getRelatedBinaries"); @@ -628,12 +538,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **binaryId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type diff --git a/docs/FirmwareApi.md b/docs/FirmwareApi.md index 03f3858e..c0a20c13 100644 --- a/docs/FirmwareApi.md +++ b/docs/FirmwareApi.md @@ -80,7 +80,7 @@ public class Example { # **uploadFirmware** -> Object uploadFirmware(_file, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, password) +> Object uploadFirmware(_file, password) Upload firmware for unpacking @@ -109,15 +109,9 @@ public class Example { FirmwareApi apiInstance = new FirmwareApi(defaultClient); String _file = "_file_example"; // String | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | String password = "password_example"; // String | try { - Object result = apiInstance.uploadFirmware(_file, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, password); + Object result = apiInstance.uploadFirmware(_file, password); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling FirmwareApi#uploadFirmware"); @@ -135,12 +129,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **_file** | **String**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | | **password** | **String**| | [optional] | ### Return type diff --git a/docs/FunctionListItem.md b/docs/FunctionListItem.md index ef8fac07..7e82c2b6 100644 --- a/docs/FunctionListItem.md +++ b/docs/FunctionListItem.md @@ -27,6 +27,7 @@ | AUTO_UNSTRIP | "AUTO_UNSTRIP" | | EXTERNAL | "EXTERNAL" | | AI_UNSTRIP | "AI_UNSTRIP" | +| AI_AGENT | "AI_AGENT" | diff --git a/docs/FunctionsAiDecompilationApi.md b/docs/FunctionsAiDecompilationApi.md index c4aeee53..cb9d55c1 100644 --- a/docs/FunctionsAiDecompilationApi.md +++ b/docs/FunctionsAiDecompilationApi.md @@ -17,7 +17,7 @@ All URIs are relative to *https://api.reveng.ai* # **createAiDecompilationComment** -> BaseResponseCommentResponse createAiDecompilationComment(functionId, functionCommentCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseCommentResponse createAiDecompilationComment(functionId, functionCommentCreateRequest) Create a comment for this function @@ -47,14 +47,8 @@ public class Example { FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient); Integer functionId = 56; // Integer | FunctionCommentCreateRequest functionCommentCreateRequest = new FunctionCommentCreateRequest(); // FunctionCommentCreateRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseCommentResponse result = apiInstance.createAiDecompilationComment(functionId, functionCommentCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseCommentResponse result = apiInstance.createAiDecompilationComment(functionId, functionCommentCreateRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling FunctionsAiDecompilationApi#createAiDecompilationComment"); @@ -73,12 +67,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **functionId** | **Integer**| | | | **functionCommentCreateRequest** | [**FunctionCommentCreateRequest**](FunctionCommentCreateRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -176,7 +164,7 @@ public class Example { # **deleteAiDecompilationComment** -> BaseResponseBool deleteAiDecompilationComment(commentId, functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseBool deleteAiDecompilationComment(commentId, functionId) Delete a comment @@ -206,14 +194,8 @@ public class Example { FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient); Integer commentId = 56; // Integer | Integer functionId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseBool result = apiInstance.deleteAiDecompilationComment(commentId, functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseBool result = apiInstance.deleteAiDecompilationComment(commentId, functionId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling FunctionsAiDecompilationApi#deleteAiDecompilationComment"); @@ -232,12 +214,6 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **commentId** | **Integer**| | | | **functionId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -262,7 +238,7 @@ public class Example { # **getAiDecompilationComments** -> BaseResponseListCommentResponse getAiDecompilationComments(functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseListCommentResponse getAiDecompilationComments(functionId) Get comments for this function @@ -291,14 +267,8 @@ public class Example { FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient); Integer functionId = 56; // Integer | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseListCommentResponse result = apiInstance.getAiDecompilationComments(functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseListCommentResponse result = apiInstance.getAiDecompilationComments(functionId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling FunctionsAiDecompilationApi#getAiDecompilationComments"); @@ -316,12 +286,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **functionId** | **Integer**| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type @@ -557,7 +521,7 @@ public class Example { # **updateAiDecompilationComment** -> BaseResponseCommentResponse updateAiDecompilationComment(commentId, functionId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts) +> BaseResponseCommentResponse updateAiDecompilationComment(commentId, functionId, commentUpdateRequest) Update a comment @@ -588,14 +552,8 @@ public class Example { Integer commentId = 56; // Integer | Integer functionId = 56; // Integer | CommentUpdateRequest commentUpdateRequest = new CommentUpdateRequest(); // CommentUpdateRequest | - String endpointUrl = "endpointUrl_example"; // String | - String localCacheDir = "localCacheDir_example"; // String | - Integer localCacheMaxSizeMb = 56; // Integer | - String customerSamplesBucket = "customerSamplesBucket_example"; // String | - String firmwareSamplesBucket = "firmwareSamplesBucket_example"; // String | - Integer maxRetryAttempts = 5; // Integer | try { - BaseResponseCommentResponse result = apiInstance.updateAiDecompilationComment(commentId, functionId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + BaseResponseCommentResponse result = apiInstance.updateAiDecompilationComment(commentId, functionId, commentUpdateRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling FunctionsAiDecompilationApi#updateAiDecompilationComment"); @@ -615,12 +573,6 @@ public class Example { | **commentId** | **Integer**| | | | **functionId** | **Integer**| | | | **commentUpdateRequest** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | | -| **endpointUrl** | **String**| | [optional] | -| **localCacheDir** | **String**| | [optional] | -| **localCacheMaxSizeMb** | **Integer**| | [optional] | -| **customerSamplesBucket** | **String**| | [optional] | -| **firmwareSamplesBucket** | **String**| | [optional] | -| **maxRetryAttempts** | **Integer**| | [optional] [default to 5] | ### Return type diff --git a/docs/NameSourceType.md b/docs/NameSourceType.md index 3dee38ec..b0b04513 100644 --- a/docs/NameSourceType.md +++ b/docs/NameSourceType.md @@ -23,6 +23,7 @@ | AUTO_UNSTRIP | "AUTO_UNSTRIP" | | EXTERNAL | "EXTERNAL" | | AI_UNSTRIP | "AI_UNSTRIP" | +| AI_AGENT | "AI_AGENT" | diff --git a/pom.xml b/pom.xml index 8a1b4f34..84821ac6 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ sdk jar sdk - 3.81.0 + 3.82.0 https://github.com/RevEngAI/sdk-java Java SDK for the RevEng.AI API diff --git a/src/main/java/ai/reveng/api/AnalysesBulkActionsApi.java b/src/main/java/ai/reveng/api/AnalysesBulkActionsApi.java index 9400f6d3..e4a8e0ed 100644 --- a/src/main/java/ai/reveng/api/AnalysesBulkActionsApi.java +++ b/src/main/java/ai/reveng/api/AnalysesBulkActionsApi.java @@ -78,12 +78,6 @@ public void setCustomBaseUrl(String customBaseUrl) { /** * Build call for bulkAddAnalysisTags * @param analysisBulkAddTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -95,7 +89,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Invalid request parameters - */ - public okhttp3.Call bulkAddAnalysisTagsCall(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call bulkAddAnalysisTagsCall(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -120,30 +114,6 @@ public okhttp3.Call bulkAddAnalysisTagsCall(@javax.annotation.Nonnull AnalysisBu Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -165,13 +135,13 @@ public okhttp3.Call bulkAddAnalysisTagsCall(@javax.annotation.Nonnull AnalysisBu } @SuppressWarnings("rawtypes") - private okhttp3.Call bulkAddAnalysisTagsValidateBeforeCall(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call bulkAddAnalysisTagsValidateBeforeCall(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisBulkAddTagsRequest' is set if (analysisBulkAddTagsRequest == null) { throw new ApiException("Missing the required parameter 'analysisBulkAddTagsRequest' when calling bulkAddAnalysisTags(Async)"); } - return bulkAddAnalysisTagsCall(analysisBulkAddTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return bulkAddAnalysisTagsCall(analysisBulkAddTagsRequest, _callback); } @@ -179,12 +149,6 @@ private okhttp3.Call bulkAddAnalysisTagsValidateBeforeCall(@javax.annotation.Non * Bulk Add Analysis Tags * Updates analysis tags for multiple analyses. User must be the owner. * @param analysisBulkAddTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseAnalysisBulkAddTagsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -195,8 +159,8 @@ private okhttp3.Call bulkAddAnalysisTagsValidateBeforeCall(@javax.annotation.Non 422 Invalid request parameters - */ - public BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = bulkAddAnalysisTagsWithHttpInfo(analysisBulkAddTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest) throws ApiException { + ApiResponse localVarResp = bulkAddAnalysisTagsWithHttpInfo(analysisBulkAddTagsRequest); return localVarResp.getData(); } @@ -204,12 +168,6 @@ public BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(@javax.annota * Bulk Add Analysis Tags * Updates analysis tags for multiple analyses. User must be the owner. * @param analysisBulkAddTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseAnalysisBulkAddTagsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -220,8 +178,8 @@ public BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(@javax.annota 422 Invalid request parameters - */ - public ApiResponse bulkAddAnalysisTagsWithHttpInfo(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = bulkAddAnalysisTagsValidateBeforeCall(analysisBulkAddTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse bulkAddAnalysisTagsWithHttpInfo(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest) throws ApiException { + okhttp3.Call localVarCall = bulkAddAnalysisTagsValidateBeforeCall(analysisBulkAddTagsRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -230,12 +188,6 @@ public ApiResponse bulkAddAnalysisTagsW * Bulk Add Analysis Tags (asynchronously) * Updates analysis tags for multiple analyses. User must be the owner. * @param analysisBulkAddTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -247,9 +199,9 @@ public ApiResponse bulkAddAnalysisTagsW 422 Invalid request parameters - */ - public okhttp3.Call bulkAddAnalysisTagsAsync(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call bulkAddAnalysisTagsAsync(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = bulkAddAnalysisTagsValidateBeforeCall(analysisBulkAddTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = bulkAddAnalysisTagsValidateBeforeCall(analysisBulkAddTagsRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -257,12 +209,6 @@ public okhttp3.Call bulkAddAnalysisTagsAsync(@javax.annotation.Nonnull AnalysisB /** * Build call for bulkDeleteAnalyses * @param bulkDeleteAnalysesRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -276,7 +222,7 @@ public okhttp3.Call bulkAddAnalysisTagsAsync(@javax.annotation.Nonnull AnalysisB 403 Forbidden - */ - public okhttp3.Call bulkDeleteAnalysesCall(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call bulkDeleteAnalysesCall(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -301,30 +247,6 @@ public okhttp3.Call bulkDeleteAnalysesCall(@javax.annotation.Nonnull BulkDeleteA Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -346,13 +268,13 @@ public okhttp3.Call bulkDeleteAnalysesCall(@javax.annotation.Nonnull BulkDeleteA } @SuppressWarnings("rawtypes") - private okhttp3.Call bulkDeleteAnalysesValidateBeforeCall(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call bulkDeleteAnalysesValidateBeforeCall(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'bulkDeleteAnalysesRequest' is set if (bulkDeleteAnalysesRequest == null) { throw new ApiException("Missing the required parameter 'bulkDeleteAnalysesRequest' when calling bulkDeleteAnalyses(Async)"); } - return bulkDeleteAnalysesCall(bulkDeleteAnalysesRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return bulkDeleteAnalysesCall(bulkDeleteAnalysesRequest, _callback); } @@ -360,12 +282,6 @@ private okhttp3.Call bulkDeleteAnalysesValidateBeforeCall(@javax.annotation.Nonn * Bulk Delete Analyses * Deletes multiple analyses. User must be the owner of all analyses. * @param bulkDeleteAnalysesRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseDict * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -378,8 +294,8 @@ private okhttp3.Call bulkDeleteAnalysesValidateBeforeCall(@javax.annotation.Nonn 403 Forbidden - */ - public BaseResponseDict bulkDeleteAnalyses(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = bulkDeleteAnalysesWithHttpInfo(bulkDeleteAnalysesRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseDict bulkDeleteAnalyses(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest) throws ApiException { + ApiResponse localVarResp = bulkDeleteAnalysesWithHttpInfo(bulkDeleteAnalysesRequest); return localVarResp.getData(); } @@ -387,12 +303,6 @@ public BaseResponseDict bulkDeleteAnalyses(@javax.annotation.Nonnull BulkDeleteA * Bulk Delete Analyses * Deletes multiple analyses. User must be the owner of all analyses. * @param bulkDeleteAnalysesRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseDict> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -405,8 +315,8 @@ public BaseResponseDict bulkDeleteAnalyses(@javax.annotation.Nonnull BulkDeleteA 403 Forbidden - */ - public ApiResponse bulkDeleteAnalysesWithHttpInfo(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = bulkDeleteAnalysesValidateBeforeCall(bulkDeleteAnalysesRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse bulkDeleteAnalysesWithHttpInfo(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest) throws ApiException { + okhttp3.Call localVarCall = bulkDeleteAnalysesValidateBeforeCall(bulkDeleteAnalysesRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -415,12 +325,6 @@ public ApiResponse bulkDeleteAnalysesWithHttpInfo(@javax.annot * Bulk Delete Analyses (asynchronously) * Deletes multiple analyses. User must be the owner of all analyses. * @param bulkDeleteAnalysesRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -434,9 +338,9 @@ public ApiResponse bulkDeleteAnalysesWithHttpInfo(@javax.annot 403 Forbidden - */ - public okhttp3.Call bulkDeleteAnalysesAsync(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call bulkDeleteAnalysesAsync(@javax.annotation.Nonnull BulkDeleteAnalysesRequest bulkDeleteAnalysesRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = bulkDeleteAnalysesValidateBeforeCall(bulkDeleteAnalysesRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = bulkDeleteAnalysesValidateBeforeCall(bulkDeleteAnalysesRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/ai/reveng/api/AnalysesCommentsApi.java b/src/main/java/ai/reveng/api/AnalysesCommentsApi.java index e3a4e78a..18854dfb 100644 --- a/src/main/java/ai/reveng/api/AnalysesCommentsApi.java +++ b/src/main/java/ai/reveng/api/AnalysesCommentsApi.java @@ -80,12 +80,6 @@ public void setCustomBaseUrl(String customBaseUrl) { * Build call for createAnalysisComment * @param analysisId (required) * @param commentBase (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -98,7 +92,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 400 Bad Request - */ - public okhttp3.Call createAnalysisCommentCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAnalysisCommentCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -124,30 +118,6 @@ public okhttp3.Call createAnalysisCommentCall(@javax.annotation.Nonnull Integer Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -169,7 +139,7 @@ public okhttp3.Call createAnalysisCommentCall(@javax.annotation.Nonnull Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call createAnalysisCommentValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createAnalysisCommentValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling createAnalysisComment(Async)"); @@ -180,7 +150,7 @@ private okhttp3.Call createAnalysisCommentValidateBeforeCall(@javax.annotation.N throw new ApiException("Missing the required parameter 'commentBase' when calling createAnalysisComment(Async)"); } - return createAnalysisCommentCall(analysisId, commentBase, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return createAnalysisCommentCall(analysisId, commentBase, _callback); } @@ -189,12 +159,6 @@ private okhttp3.Call createAnalysisCommentValidateBeforeCall(@javax.annotation.N * Creates a comment associated with a specified analysis). * @param analysisId (required) * @param commentBase (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseCommentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -206,8 +170,8 @@ private okhttp3.Call createAnalysisCommentValidateBeforeCall(@javax.annotation.N 400 Bad Request - */ - public BaseResponseCommentResponse createAnalysisComment(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = createAnalysisCommentWithHttpInfo(analysisId, commentBase, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseCommentResponse createAnalysisComment(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase) throws ApiException { + ApiResponse localVarResp = createAnalysisCommentWithHttpInfo(analysisId, commentBase); return localVarResp.getData(); } @@ -216,12 +180,6 @@ public BaseResponseCommentResponse createAnalysisComment(@javax.annotation.Nonnu * Creates a comment associated with a specified analysis). * @param analysisId (required) * @param commentBase (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseCommentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -233,8 +191,8 @@ public BaseResponseCommentResponse createAnalysisComment(@javax.annotation.Nonnu 400 Bad Request - */ - public ApiResponse createAnalysisCommentWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = createAnalysisCommentValidateBeforeCall(analysisId, commentBase, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse createAnalysisCommentWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase) throws ApiException { + okhttp3.Call localVarCall = createAnalysisCommentValidateBeforeCall(analysisId, commentBase, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -244,12 +202,6 @@ public ApiResponse createAnalysisCommentWithHttpInf * Creates a comment associated with a specified analysis). * @param analysisId (required) * @param commentBase (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -262,9 +214,9 @@ public ApiResponse createAnalysisCommentWithHttpInf 400 Bad Request - */ - public okhttp3.Call createAnalysisCommentAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAnalysisCommentAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentBase commentBase, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createAnalysisCommentValidateBeforeCall(analysisId, commentBase, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = createAnalysisCommentValidateBeforeCall(analysisId, commentBase, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -273,12 +225,6 @@ public okhttp3.Call createAnalysisCommentAsync(@javax.annotation.Nonnull Integer * Build call for deleteAnalysisComment * @param commentId (required) * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -292,7 +238,7 @@ public okhttp3.Call createAnalysisCommentAsync(@javax.annotation.Nonnull Integer 400 Bad Request - */ - public okhttp3.Call deleteAnalysisCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAnalysisCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -319,30 +265,6 @@ public okhttp3.Call deleteAnalysisCommentCall(@javax.annotation.Nonnull Integer Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -363,7 +285,7 @@ public okhttp3.Call deleteAnalysisCommentCall(@javax.annotation.Nonnull Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAnalysisCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteAnalysisCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'commentId' is set if (commentId == null) { throw new ApiException("Missing the required parameter 'commentId' when calling deleteAnalysisComment(Async)"); @@ -374,7 +296,7 @@ private okhttp3.Call deleteAnalysisCommentValidateBeforeCall(@javax.annotation.N throw new ApiException("Missing the required parameter 'analysisId' when calling deleteAnalysisComment(Async)"); } - return deleteAnalysisCommentCall(commentId, analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return deleteAnalysisCommentCall(commentId, analysisId, _callback); } @@ -383,12 +305,6 @@ private okhttp3.Call deleteAnalysisCommentValidateBeforeCall(@javax.annotation.N * Deletes an existing comment. Users can only delete their own comments. * @param commentId (required) * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseBool * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -401,8 +317,8 @@ private okhttp3.Call deleteAnalysisCommentValidateBeforeCall(@javax.annotation.N 400 Bad Request - */ - public BaseResponseBool deleteAnalysisComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = deleteAnalysisCommentWithHttpInfo(commentId, analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseBool deleteAnalysisComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId) throws ApiException { + ApiResponse localVarResp = deleteAnalysisCommentWithHttpInfo(commentId, analysisId); return localVarResp.getData(); } @@ -411,12 +327,6 @@ public BaseResponseBool deleteAnalysisComment(@javax.annotation.Nonnull Integer * Deletes an existing comment. Users can only delete their own comments. * @param commentId (required) * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseBool> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -429,8 +339,8 @@ public BaseResponseBool deleteAnalysisComment(@javax.annotation.Nonnull Integer 400 Bad Request - */ - public ApiResponse deleteAnalysisCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = deleteAnalysisCommentValidateBeforeCall(commentId, analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse deleteAnalysisCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId) throws ApiException { + okhttp3.Call localVarCall = deleteAnalysisCommentValidateBeforeCall(commentId, analysisId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -440,12 +350,6 @@ public ApiResponse deleteAnalysisCommentWithHttpInfo(@javax.an * Deletes an existing comment. Users can only delete their own comments. * @param commentId (required) * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -459,9 +363,9 @@ public ApiResponse deleteAnalysisCommentWithHttpInfo(@javax.an 400 Bad Request - */ - public okhttp3.Call deleteAnalysisCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAnalysisCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteAnalysisCommentValidateBeforeCall(commentId, analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = deleteAnalysisCommentValidateBeforeCall(commentId, analysisId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -469,12 +373,6 @@ public okhttp3.Call deleteAnalysisCommentAsync(@javax.annotation.Nonnull Integer /** * Build call for getAnalysisComments * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -486,7 +384,7 @@ public okhttp3.Call deleteAnalysisCommentAsync(@javax.annotation.Nonnull Integer 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisCommentsCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisCommentsCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -512,30 +410,6 @@ public okhttp3.Call getAnalysisCommentsCall(@javax.annotation.Nonnull Integer an Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -556,13 +430,13 @@ public okhttp3.Call getAnalysisCommentsCall(@javax.annotation.Nonnull Integer an } @SuppressWarnings("rawtypes") - private okhttp3.Call getAnalysisCommentsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAnalysisCommentsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling getAnalysisComments(Async)"); } - return getAnalysisCommentsCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getAnalysisCommentsCall(analysisId, _callback); } @@ -570,12 +444,6 @@ private okhttp3.Call getAnalysisCommentsValidateBeforeCall(@javax.annotation.Non * Get comments for this analysis * Retrieves all comments created for a specific analysis. Only returns comments for resources the requesting user has access to. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseListCommentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -586,8 +454,8 @@ private okhttp3.Call getAnalysisCommentsValidateBeforeCall(@javax.annotation.Non 422 Invalid request parameters - */ - public BaseResponseListCommentResponse getAnalysisComments(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getAnalysisCommentsWithHttpInfo(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseListCommentResponse getAnalysisComments(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + ApiResponse localVarResp = getAnalysisCommentsWithHttpInfo(analysisId); return localVarResp.getData(); } @@ -595,12 +463,6 @@ public BaseResponseListCommentResponse getAnalysisComments(@javax.annotation.Non * Get comments for this analysis * Retrieves all comments created for a specific analysis. Only returns comments for resources the requesting user has access to. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseListCommentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -611,8 +473,8 @@ public BaseResponseListCommentResponse getAnalysisComments(@javax.annotation.Non 422 Invalid request parameters - */ - public ApiResponse getAnalysisCommentsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getAnalysisCommentsValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getAnalysisCommentsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + okhttp3.Call localVarCall = getAnalysisCommentsValidateBeforeCall(analysisId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -621,12 +483,6 @@ public ApiResponse getAnalysisCommentsWithHttpI * Get comments for this analysis (asynchronously) * Retrieves all comments created for a specific analysis. Only returns comments for resources the requesting user has access to. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -638,9 +494,9 @@ public ApiResponse getAnalysisCommentsWithHttpI 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisCommentsAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisCommentsAsync(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getAnalysisCommentsValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getAnalysisCommentsValidateBeforeCall(analysisId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -650,12 +506,6 @@ public okhttp3.Call getAnalysisCommentsAsync(@javax.annotation.Nonnull Integer a * @param commentId (required) * @param analysisId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -669,7 +519,7 @@ public okhttp3.Call getAnalysisCommentsAsync(@javax.annotation.Nonnull Integer a 400 Bad Request - */ - public okhttp3.Call updateAnalysisCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAnalysisCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -696,30 +546,6 @@ public okhttp3.Call updateAnalysisCommentCall(@javax.annotation.Nonnull Integer Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -741,7 +567,7 @@ public okhttp3.Call updateAnalysisCommentCall(@javax.annotation.Nonnull Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAnalysisCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAnalysisCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'commentId' is set if (commentId == null) { throw new ApiException("Missing the required parameter 'commentId' when calling updateAnalysisComment(Async)"); @@ -757,7 +583,7 @@ private okhttp3.Call updateAnalysisCommentValidateBeforeCall(@javax.annotation.N throw new ApiException("Missing the required parameter 'commentUpdateRequest' when calling updateAnalysisComment(Async)"); } - return updateAnalysisCommentCall(commentId, analysisId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return updateAnalysisCommentCall(commentId, analysisId, commentUpdateRequest, _callback); } @@ -767,12 +593,6 @@ private okhttp3.Call updateAnalysisCommentValidateBeforeCall(@javax.annotation.N * @param commentId (required) * @param analysisId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseCommentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -785,8 +605,8 @@ private okhttp3.Call updateAnalysisCommentValidateBeforeCall(@javax.annotation.N 400 Bad Request - */ - public BaseResponseCommentResponse updateAnalysisComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = updateAnalysisCommentWithHttpInfo(commentId, analysisId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseCommentResponse updateAnalysisComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest) throws ApiException { + ApiResponse localVarResp = updateAnalysisCommentWithHttpInfo(commentId, analysisId, commentUpdateRequest); return localVarResp.getData(); } @@ -796,12 +616,6 @@ public BaseResponseCommentResponse updateAnalysisComment(@javax.annotation.Nonnu * @param commentId (required) * @param analysisId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseCommentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -814,8 +628,8 @@ public BaseResponseCommentResponse updateAnalysisComment(@javax.annotation.Nonnu 400 Bad Request - */ - public ApiResponse updateAnalysisCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = updateAnalysisCommentValidateBeforeCall(commentId, analysisId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse updateAnalysisCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest) throws ApiException { + okhttp3.Call localVarCall = updateAnalysisCommentValidateBeforeCall(commentId, analysisId, commentUpdateRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -826,12 +640,6 @@ public ApiResponse updateAnalysisCommentWithHttpInf * @param commentId (required) * @param analysisId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -845,9 +653,9 @@ public ApiResponse updateAnalysisCommentWithHttpInf 400 Bad Request - */ - public okhttp3.Call updateAnalysisCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAnalysisCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateAnalysisCommentValidateBeforeCall(commentId, analysisId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = updateAnalysisCommentValidateBeforeCall(commentId, analysisId, commentUpdateRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/ai/reveng/api/AnalysesCoreApi.java b/src/main/java/ai/reveng/api/AnalysesCoreApi.java index 566d15a7..18708c57 100644 --- a/src/main/java/ai/reveng/api/AnalysesCoreApi.java +++ b/src/main/java/ai/reveng/api/AnalysesCoreApi.java @@ -101,12 +101,6 @@ public void setCustomBaseUrl(String customBaseUrl) { /** * Build call for createAnalysis * @param analysisCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -121,7 +115,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 400 Bad Request - */ - public okhttp3.Call createAnalysisCall(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAnalysisCall(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -146,30 +140,6 @@ public okhttp3.Call createAnalysisCall(@javax.annotation.Nonnull AnalysisCreateR Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -196,13 +166,13 @@ public okhttp3.Call createAnalysisCall(@javax.annotation.Nonnull AnalysisCreateR } @SuppressWarnings("rawtypes") - private okhttp3.Call createAnalysisValidateBeforeCall(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createAnalysisValidateBeforeCall(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisCreateRequest' is set if (analysisCreateRequest == null) { throw new ApiException("Missing the required parameter 'analysisCreateRequest' when calling createAnalysis(Async)"); } - return createAnalysisCall(analysisCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication, _callback); + return createAnalysisCall(analysisCreateRequest, xRevEngApplication, _callback); } @@ -210,12 +180,6 @@ private okhttp3.Call createAnalysisValidateBeforeCall(@javax.annotation.Nonnull * Create Analysis * Begins an analysis * @param analysisCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @return BaseResponseAnalysisCreateResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -229,8 +193,8 @@ private okhttp3.Call createAnalysisValidateBeforeCall(@javax.annotation.Nonnull 400 Bad Request - */ - public BaseResponseAnalysisCreateResponse createAnalysis(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { - ApiResponse localVarResp = createAnalysisWithHttpInfo(analysisCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication); + public BaseResponseAnalysisCreateResponse createAnalysis(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { + ApiResponse localVarResp = createAnalysisWithHttpInfo(analysisCreateRequest, xRevEngApplication); return localVarResp.getData(); } @@ -238,12 +202,6 @@ public BaseResponseAnalysisCreateResponse createAnalysis(@javax.annotation.Nonnu * Create Analysis * Begins an analysis * @param analysisCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @return ApiResponse<BaseResponseAnalysisCreateResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -257,8 +215,8 @@ public BaseResponseAnalysisCreateResponse createAnalysis(@javax.annotation.Nonnu 400 Bad Request - */ - public ApiResponse createAnalysisWithHttpInfo(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { - okhttp3.Call localVarCall = createAnalysisValidateBeforeCall(analysisCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication, null); + public ApiResponse createAnalysisWithHttpInfo(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { + okhttp3.Call localVarCall = createAnalysisValidateBeforeCall(analysisCreateRequest, xRevEngApplication, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -267,12 +225,6 @@ public ApiResponse createAnalysisWithHttpInf * Create Analysis (asynchronously) * Begins an analysis * @param analysisCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -287,9 +239,9 @@ public ApiResponse createAnalysisWithHttpInf 400 Bad Request - */ - public okhttp3.Call createAnalysisAsync(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAnalysisAsync(@javax.annotation.Nonnull AnalysisCreateRequest analysisCreateRequest, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createAnalysisValidateBeforeCall(analysisCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication, _callback); + okhttp3.Call localVarCall = createAnalysisValidateBeforeCall(analysisCreateRequest, xRevEngApplication, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -297,12 +249,6 @@ public okhttp3.Call createAnalysisAsync(@javax.annotation.Nonnull AnalysisCreate /** * Build call for deleteAnalysis * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -316,7 +262,7 @@ public okhttp3.Call createAnalysisAsync(@javax.annotation.Nonnull AnalysisCreate 403 Forbidden - */ - public okhttp3.Call deleteAnalysisCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAnalysisCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -342,30 +288,6 @@ public okhttp3.Call deleteAnalysisCall(@javax.annotation.Nonnull Integer analysi Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -386,13 +308,13 @@ public okhttp3.Call deleteAnalysisCall(@javax.annotation.Nonnull Integer analysi } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAnalysisValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteAnalysisValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling deleteAnalysis(Async)"); } - return deleteAnalysisCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return deleteAnalysisCall(analysisId, _callback); } @@ -400,12 +322,6 @@ private okhttp3.Call deleteAnalysisValidateBeforeCall(@javax.annotation.Nonnull * Delete Analysis * Deletes an analysis based on the provided analysis ID. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseDict * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -418,8 +334,8 @@ private okhttp3.Call deleteAnalysisValidateBeforeCall(@javax.annotation.Nonnull 403 Forbidden - */ - public BaseResponseDict deleteAnalysis(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = deleteAnalysisWithHttpInfo(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseDict deleteAnalysis(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + ApiResponse localVarResp = deleteAnalysisWithHttpInfo(analysisId); return localVarResp.getData(); } @@ -427,12 +343,6 @@ public BaseResponseDict deleteAnalysis(@javax.annotation.Nonnull Integer analysi * Delete Analysis * Deletes an analysis based on the provided analysis ID. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseDict> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -445,8 +355,8 @@ public BaseResponseDict deleteAnalysis(@javax.annotation.Nonnull Integer analysi 403 Forbidden - */ - public ApiResponse deleteAnalysisWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = deleteAnalysisValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse deleteAnalysisWithHttpInfo(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + okhttp3.Call localVarCall = deleteAnalysisValidateBeforeCall(analysisId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -455,12 +365,6 @@ public ApiResponse deleteAnalysisWithHttpInfo(@javax.annotatio * Delete Analysis (asynchronously) * Deletes an analysis based on the provided analysis ID. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -474,9 +378,9 @@ public ApiResponse deleteAnalysisWithHttpInfo(@javax.annotatio 403 Forbidden - */ - public okhttp3.Call deleteAnalysisAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAnalysisAsync(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteAnalysisValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = deleteAnalysisValidateBeforeCall(analysisId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -615,12 +519,6 @@ public okhttp3.Call getAnalysisBasicInfoAsync(@javax.annotation.Nonnull Integer /** * Build call for getAnalysisFunctionMap * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -632,7 +530,7 @@ public okhttp3.Call getAnalysisBasicInfoAsync(@javax.annotation.Nonnull Integer 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisFunctionMapCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisFunctionMapCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -658,30 +556,6 @@ public okhttp3.Call getAnalysisFunctionMapCall(@javax.annotation.Nonnull Integer Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -702,13 +576,13 @@ public okhttp3.Call getAnalysisFunctionMapCall(@javax.annotation.Nonnull Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call getAnalysisFunctionMapValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAnalysisFunctionMapValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling getAnalysisFunctionMap(Async)"); } - return getAnalysisFunctionMapCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getAnalysisFunctionMapCall(analysisId, _callback); } @@ -716,12 +590,6 @@ private okhttp3.Call getAnalysisFunctionMapValidateBeforeCall(@javax.annotation. * Get Analysis Function Map * Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseAnalysisFunctionMapping * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -732,8 +600,8 @@ private okhttp3.Call getAnalysisFunctionMapValidateBeforeCall(@javax.annotation. 422 Invalid request parameters - */ - public BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getAnalysisFunctionMapWithHttpInfo(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + ApiResponse localVarResp = getAnalysisFunctionMapWithHttpInfo(analysisId); return localVarResp.getData(); } @@ -741,12 +609,6 @@ public BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(@javax.annotat * Get Analysis Function Map * Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseAnalysisFunctionMapping> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -757,8 +619,8 @@ public BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(@javax.annotat 422 Invalid request parameters - */ - public ApiResponse getAnalysisFunctionMapWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getAnalysisFunctionMapValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getAnalysisFunctionMapWithHttpInfo(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + okhttp3.Call localVarCall = getAnalysisFunctionMapValidateBeforeCall(analysisId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -767,12 +629,6 @@ public ApiResponse getAnalysisFunctionMapWi * Get Analysis Function Map (asynchronously) * Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names. * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -784,9 +640,9 @@ public ApiResponse getAnalysisFunctionMapWi 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisFunctionMapAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisFunctionMapAsync(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getAnalysisFunctionMapValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getAnalysisFunctionMapValidateBeforeCall(analysisId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -794,12 +650,6 @@ public okhttp3.Call getAnalysisFunctionMapAsync(@javax.annotation.Nonnull Intege /** * Build call for getAnalysisLogs * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -811,7 +661,7 @@ public okhttp3.Call getAnalysisFunctionMapAsync(@javax.annotation.Nonnull Intege 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisLogsCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisLogsCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -837,30 +687,6 @@ public okhttp3.Call getAnalysisLogsCall(@javax.annotation.Nonnull Integer analys Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -881,13 +707,13 @@ public okhttp3.Call getAnalysisLogsCall(@javax.annotation.Nonnull Integer analys } @SuppressWarnings("rawtypes") - private okhttp3.Call getAnalysisLogsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAnalysisLogsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling getAnalysisLogs(Async)"); } - return getAnalysisLogsCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getAnalysisLogsCall(analysisId, _callback); } @@ -895,12 +721,6 @@ private okhttp3.Call getAnalysisLogsValidateBeforeCall(@javax.annotation.Nonnull * Gets the logs of an analysis * Given an analysis ID gets the current logs of an analysis * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseLogs * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -911,8 +731,8 @@ private okhttp3.Call getAnalysisLogsValidateBeforeCall(@javax.annotation.Nonnull 422 Invalid request parameters - */ - public BaseResponseLogs getAnalysisLogs(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getAnalysisLogsWithHttpInfo(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseLogs getAnalysisLogs(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + ApiResponse localVarResp = getAnalysisLogsWithHttpInfo(analysisId); return localVarResp.getData(); } @@ -920,12 +740,6 @@ public BaseResponseLogs getAnalysisLogs(@javax.annotation.Nonnull Integer analys * Gets the logs of an analysis * Given an analysis ID gets the current logs of an analysis * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseLogs> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -936,8 +750,8 @@ public BaseResponseLogs getAnalysisLogs(@javax.annotation.Nonnull Integer analys 422 Invalid request parameters - */ - public ApiResponse getAnalysisLogsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getAnalysisLogsValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getAnalysisLogsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + okhttp3.Call localVarCall = getAnalysisLogsValidateBeforeCall(analysisId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -946,12 +760,6 @@ public ApiResponse getAnalysisLogsWithHttpInfo(@javax.annotati * Gets the logs of an analysis (asynchronously) * Given an analysis ID gets the current logs of an analysis * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -963,9 +771,9 @@ public ApiResponse getAnalysisLogsWithHttpInfo(@javax.annotati 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisLogsAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisLogsAsync(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getAnalysisLogsValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getAnalysisLogsValidateBeforeCall(analysisId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -973,12 +781,6 @@ public okhttp3.Call getAnalysisLogsAsync(@javax.annotation.Nonnull Integer analy /** * Build call for getAnalysisParams * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -990,7 +792,7 @@ public okhttp3.Call getAnalysisLogsAsync(@javax.annotation.Nonnull Integer analy 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisParamsCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisParamsCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1016,30 +818,6 @@ public okhttp3.Call getAnalysisParamsCall(@javax.annotation.Nonnull Integer anal Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -1060,13 +838,13 @@ public okhttp3.Call getAnalysisParamsCall(@javax.annotation.Nonnull Integer anal } @SuppressWarnings("rawtypes") - private okhttp3.Call getAnalysisParamsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAnalysisParamsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling getAnalysisParams(Async)"); } - return getAnalysisParamsCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getAnalysisParamsCall(analysisId, _callback); } @@ -1074,12 +852,6 @@ private okhttp3.Call getAnalysisParamsValidateBeforeCall(@javax.annotation.Nonnu * Gets analysis param information * Gets the params that the analysis was run with * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseParams * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1090,8 +862,8 @@ private okhttp3.Call getAnalysisParamsValidateBeforeCall(@javax.annotation.Nonnu 422 Invalid request parameters - */ - public BaseResponseParams getAnalysisParams(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getAnalysisParamsWithHttpInfo(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseParams getAnalysisParams(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + ApiResponse localVarResp = getAnalysisParamsWithHttpInfo(analysisId); return localVarResp.getData(); } @@ -1099,12 +871,6 @@ public BaseResponseParams getAnalysisParams(@javax.annotation.Nonnull Integer an * Gets analysis param information * Gets the params that the analysis was run with * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseParams> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1115,8 +881,8 @@ public BaseResponseParams getAnalysisParams(@javax.annotation.Nonnull Integer an 422 Invalid request parameters - */ - public ApiResponse getAnalysisParamsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getAnalysisParamsValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getAnalysisParamsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId) throws ApiException { + okhttp3.Call localVarCall = getAnalysisParamsValidateBeforeCall(analysisId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1125,12 +891,6 @@ public ApiResponse getAnalysisParamsWithHttpInfo(@javax.anno * Gets analysis param information (asynchronously) * Gets the params that the analysis was run with * @param analysisId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1142,9 +902,9 @@ public ApiResponse getAnalysisParamsWithHttpInfo(@javax.anno 422 Invalid request parameters - */ - public okhttp3.Call getAnalysisParamsAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAnalysisParamsAsync(@javax.annotation.Nonnull Integer analysisId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getAnalysisParamsValidateBeforeCall(analysisId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getAnalysisParamsValidateBeforeCall(analysisId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1427,12 +1187,6 @@ public okhttp3.Call getAnalysisStatusAsync(@javax.annotation.Nonnull Integer ana * Build call for insertAnalysisLog * @param analysisId (required) * @param insertAnalysisLogRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1444,7 +1198,7 @@ public okhttp3.Call getAnalysisStatusAsync(@javax.annotation.Nonnull Integer ana 422 Invalid request parameters - */ - public okhttp3.Call insertAnalysisLogCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call insertAnalysisLogCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1470,30 +1224,6 @@ public okhttp3.Call insertAnalysisLogCall(@javax.annotation.Nonnull Integer anal Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -1515,7 +1245,7 @@ public okhttp3.Call insertAnalysisLogCall(@javax.annotation.Nonnull Integer anal } @SuppressWarnings("rawtypes") - private okhttp3.Call insertAnalysisLogValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call insertAnalysisLogValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling insertAnalysisLog(Async)"); @@ -1526,7 +1256,7 @@ private okhttp3.Call insertAnalysisLogValidateBeforeCall(@javax.annotation.Nonnu throw new ApiException("Missing the required parameter 'insertAnalysisLogRequest' when calling insertAnalysisLog(Async)"); } - return insertAnalysisLogCall(analysisId, insertAnalysisLogRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return insertAnalysisLogCall(analysisId, insertAnalysisLogRequest, _callback); } @@ -1535,12 +1265,6 @@ private okhttp3.Call insertAnalysisLogValidateBeforeCall(@javax.annotation.Nonnu * Inserts a log record for an analysis. Only the analysis owner can insert logs. * @param analysisId (required) * @param insertAnalysisLogRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1551,8 +1275,8 @@ private okhttp3.Call insertAnalysisLogValidateBeforeCall(@javax.annotation.Nonnu 422 Invalid request parameters - */ - public BaseResponse insertAnalysisLog(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = insertAnalysisLogWithHttpInfo(analysisId, insertAnalysisLogRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponse insertAnalysisLog(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest) throws ApiException { + ApiResponse localVarResp = insertAnalysisLogWithHttpInfo(analysisId, insertAnalysisLogRequest); return localVarResp.getData(); } @@ -1561,12 +1285,6 @@ public BaseResponse insertAnalysisLog(@javax.annotation.Nonnull Integer analysis * Inserts a log record for an analysis. Only the analysis owner can insert logs. * @param analysisId (required) * @param insertAnalysisLogRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1577,8 +1295,8 @@ public BaseResponse insertAnalysisLog(@javax.annotation.Nonnull Integer analysis 422 Invalid request parameters - */ - public ApiResponse insertAnalysisLogWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = insertAnalysisLogValidateBeforeCall(analysisId, insertAnalysisLogRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse insertAnalysisLogWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest) throws ApiException { + okhttp3.Call localVarCall = insertAnalysisLogValidateBeforeCall(analysisId, insertAnalysisLogRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1588,12 +1306,6 @@ public ApiResponse insertAnalysisLogWithHttpInfo(@javax.annotation * Inserts a log record for an analysis. Only the analysis owner can insert logs. * @param analysisId (required) * @param insertAnalysisLogRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1605,9 +1317,9 @@ public ApiResponse insertAnalysisLogWithHttpInfo(@javax.annotation 422 Invalid request parameters - */ - public okhttp3.Call insertAnalysisLogAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call insertAnalysisLogAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull InsertAnalysisLogRequest insertAnalysisLogRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = insertAnalysisLogValidateBeforeCall(analysisId, insertAnalysisLogRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = insertAnalysisLogValidateBeforeCall(analysisId, insertAnalysisLogRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2097,12 +1809,6 @@ public okhttp3.Call putAnalysisStringsAsync(@javax.annotation.Nonnull Integer an * Build call for requeueAnalysis * @param analysisId (required) * @param reAnalysisForm (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -2117,7 +1823,7 @@ public okhttp3.Call putAnalysisStringsAsync(@javax.annotation.Nonnull Integer an 400 Bad Request - */ - public okhttp3.Call requeueAnalysisCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { + public okhttp3.Call requeueAnalysisCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2143,30 +1849,6 @@ public okhttp3.Call requeueAnalysisCall(@javax.annotation.Nonnull Integer analys Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -2193,7 +1875,7 @@ public okhttp3.Call requeueAnalysisCall(@javax.annotation.Nonnull Integer analys } @SuppressWarnings("rawtypes") - private okhttp3.Call requeueAnalysisValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { + private okhttp3.Call requeueAnalysisValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling requeueAnalysis(Async)"); @@ -2204,7 +1886,7 @@ private okhttp3.Call requeueAnalysisValidateBeforeCall(@javax.annotation.Nonnull throw new ApiException("Missing the required parameter 'reAnalysisForm' when calling requeueAnalysis(Async)"); } - return requeueAnalysisCall(analysisId, reAnalysisForm, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication, _callback); + return requeueAnalysisCall(analysisId, reAnalysisForm, xRevEngApplication, _callback); } @@ -2213,12 +1895,6 @@ private okhttp3.Call requeueAnalysisValidateBeforeCall(@javax.annotation.Nonnull * Re-queues an already uploaded analysis * @param analysisId (required) * @param reAnalysisForm (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @return BaseResponseCreated * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2232,8 +1908,8 @@ private okhttp3.Call requeueAnalysisValidateBeforeCall(@javax.annotation.Nonnull 400 Bad Request - */ - public BaseResponseCreated requeueAnalysis(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { - ApiResponse localVarResp = requeueAnalysisWithHttpInfo(analysisId, reAnalysisForm, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication); + public BaseResponseCreated requeueAnalysis(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { + ApiResponse localVarResp = requeueAnalysisWithHttpInfo(analysisId, reAnalysisForm, xRevEngApplication); return localVarResp.getData(); } @@ -2242,12 +1918,6 @@ public BaseResponseCreated requeueAnalysis(@javax.annotation.Nonnull Integer ana * Re-queues an already uploaded analysis * @param analysisId (required) * @param reAnalysisForm (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @return ApiResponse<BaseResponseCreated> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2261,8 +1931,8 @@ public BaseResponseCreated requeueAnalysis(@javax.annotation.Nonnull Integer ana 400 Bad Request - */ - public ApiResponse requeueAnalysisWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { - okhttp3.Call localVarCall = requeueAnalysisValidateBeforeCall(analysisId, reAnalysisForm, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication, null); + public ApiResponse requeueAnalysisWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String xRevEngApplication) throws ApiException { + okhttp3.Call localVarCall = requeueAnalysisValidateBeforeCall(analysisId, reAnalysisForm, xRevEngApplication, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2272,12 +1942,6 @@ public ApiResponse requeueAnalysisWithHttpInfo(@javax.annot * Re-queues an already uploaded analysis * @param analysisId (required) * @param reAnalysisForm (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param xRevEngApplication (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -2292,9 +1956,9 @@ public ApiResponse requeueAnalysisWithHttpInfo(@javax.annot 400 Bad Request - */ - public okhttp3.Call requeueAnalysisAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { + public okhttp3.Call requeueAnalysisAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull ReAnalysisForm reAnalysisForm, @javax.annotation.Nullable String xRevEngApplication, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = requeueAnalysisValidateBeforeCall(analysisId, reAnalysisForm, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, xRevEngApplication, _callback); + okhttp3.Call localVarCall = requeueAnalysisValidateBeforeCall(analysisId, reAnalysisForm, xRevEngApplication, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2303,12 +1967,6 @@ public okhttp3.Call requeueAnalysisAsync(@javax.annotation.Nonnull Integer analy * Build call for updateAnalysis * @param analysisId (required) * @param analysisUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2320,7 +1978,7 @@ public okhttp3.Call requeueAnalysisAsync(@javax.annotation.Nonnull Integer analy 422 Invalid request parameters - */ - public okhttp3.Call updateAnalysisCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAnalysisCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2346,30 +2004,6 @@ public okhttp3.Call updateAnalysisCall(@javax.annotation.Nonnull Integer analysi Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -2391,7 +2025,7 @@ public okhttp3.Call updateAnalysisCall(@javax.annotation.Nonnull Integer analysi } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAnalysisValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAnalysisValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling updateAnalysis(Async)"); @@ -2402,7 +2036,7 @@ private okhttp3.Call updateAnalysisValidateBeforeCall(@javax.annotation.Nonnull throw new ApiException("Missing the required parameter 'analysisUpdateRequest' when calling updateAnalysis(Async)"); } - return updateAnalysisCall(analysisId, analysisUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return updateAnalysisCall(analysisId, analysisUpdateRequest, _callback); } @@ -2411,12 +2045,6 @@ private okhttp3.Call updateAnalysisValidateBeforeCall(@javax.annotation.Nonnull * Updates analysis attributes (binary_name, analysis_scope). User must be the owner. * @param analysisId (required) * @param analysisUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseAnalysisDetailResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2427,8 +2055,8 @@ private okhttp3.Call updateAnalysisValidateBeforeCall(@javax.annotation.Nonnull 422 Invalid request parameters - */ - public BaseResponseAnalysisDetailResponse updateAnalysis(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = updateAnalysisWithHttpInfo(analysisId, analysisUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseAnalysisDetailResponse updateAnalysis(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest) throws ApiException { + ApiResponse localVarResp = updateAnalysisWithHttpInfo(analysisId, analysisUpdateRequest); return localVarResp.getData(); } @@ -2437,12 +2065,6 @@ public BaseResponseAnalysisDetailResponse updateAnalysis(@javax.annotation.Nonnu * Updates analysis attributes (binary_name, analysis_scope). User must be the owner. * @param analysisId (required) * @param analysisUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseAnalysisDetailResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2453,8 +2075,8 @@ public BaseResponseAnalysisDetailResponse updateAnalysis(@javax.annotation.Nonnu 422 Invalid request parameters - */ - public ApiResponse updateAnalysisWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = updateAnalysisValidateBeforeCall(analysisId, analysisUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse updateAnalysisWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest) throws ApiException { + okhttp3.Call localVarCall = updateAnalysisValidateBeforeCall(analysisId, analysisUpdateRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2464,12 +2086,6 @@ public ApiResponse updateAnalysisWithHttpInf * Updates analysis attributes (binary_name, analysis_scope). User must be the owner. * @param analysisId (required) * @param analysisUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2481,9 +2097,9 @@ public ApiResponse updateAnalysisWithHttpInf 422 Invalid request parameters - */ - public okhttp3.Call updateAnalysisAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAnalysisAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateRequest analysisUpdateRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateAnalysisValidateBeforeCall(analysisId, analysisUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = updateAnalysisValidateBeforeCall(analysisId, analysisUpdateRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2492,12 +2108,6 @@ public okhttp3.Call updateAnalysisAsync(@javax.annotation.Nonnull Integer analys * Build call for updateAnalysisTags * @param analysisId (required) * @param analysisUpdateTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2509,7 +2119,7 @@ public okhttp3.Call updateAnalysisAsync(@javax.annotation.Nonnull Integer analys 422 Invalid request parameters - */ - public okhttp3.Call updateAnalysisTagsCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAnalysisTagsCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2535,30 +2145,6 @@ public okhttp3.Call updateAnalysisTagsCall(@javax.annotation.Nonnull Integer ana Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -2580,7 +2166,7 @@ public okhttp3.Call updateAnalysisTagsCall(@javax.annotation.Nonnull Integer ana } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAnalysisTagsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAnalysisTagsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'analysisId' is set if (analysisId == null) { throw new ApiException("Missing the required parameter 'analysisId' when calling updateAnalysisTags(Async)"); @@ -2591,7 +2177,7 @@ private okhttp3.Call updateAnalysisTagsValidateBeforeCall(@javax.annotation.Nonn throw new ApiException("Missing the required parameter 'analysisUpdateTagsRequest' when calling updateAnalysisTags(Async)"); } - return updateAnalysisTagsCall(analysisId, analysisUpdateTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return updateAnalysisTagsCall(analysisId, analysisUpdateTagsRequest, _callback); } @@ -2600,12 +2186,6 @@ private okhttp3.Call updateAnalysisTagsValidateBeforeCall(@javax.annotation.Nonn * Updates analysis tags. User must be the owner. * @param analysisId (required) * @param analysisUpdateTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseAnalysisUpdateTagsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2616,8 +2196,8 @@ private okhttp3.Call updateAnalysisTagsValidateBeforeCall(@javax.annotation.Nonn 422 Invalid request parameters - */ - public BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = updateAnalysisTagsWithHttpInfo(analysisId, analysisUpdateTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest) throws ApiException { + ApiResponse localVarResp = updateAnalysisTagsWithHttpInfo(analysisId, analysisUpdateTagsRequest); return localVarResp.getData(); } @@ -2626,12 +2206,6 @@ public BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(@javax.annotati * Updates analysis tags. User must be the owner. * @param analysisId (required) * @param analysisUpdateTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseAnalysisUpdateTagsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2642,8 +2216,8 @@ public BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(@javax.annotati 422 Invalid request parameters - */ - public ApiResponse updateAnalysisTagsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = updateAnalysisTagsValidateBeforeCall(analysisId, analysisUpdateTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse updateAnalysisTagsWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest) throws ApiException { + okhttp3.Call localVarCall = updateAnalysisTagsValidateBeforeCall(analysisId, analysisUpdateTagsRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2653,12 +2227,6 @@ public ApiResponse updateAnalysisTagsWit * Updates analysis tags. User must be the owner. * @param analysisId (required) * @param analysisUpdateTagsRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2670,9 +2238,9 @@ public ApiResponse updateAnalysisTagsWit 422 Invalid request parameters - */ - public okhttp3.Call updateAnalysisTagsAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAnalysisTagsAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateAnalysisTagsValidateBeforeCall(analysisId, analysisUpdateTagsRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = updateAnalysisTagsValidateBeforeCall(analysisId, analysisUpdateTagsRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2682,12 +2250,6 @@ public okhttp3.Call updateAnalysisTagsAsync(@javax.annotation.Nonnull Integer an * @param uploadFileType (required) * @param _file (required) * @param packedPassword (optional) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param forceOverwrite (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute @@ -2700,7 +2262,7 @@ public okhttp3.Call updateAnalysisTagsAsync(@javax.annotation.Nonnull Integer an 422 Invalid request parameters - */ - public okhttp3.Call uploadFileCall(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable Boolean forceOverwrite, final ApiCallback _callback) throws ApiException { + public okhttp3.Call uploadFileCall(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable Boolean forceOverwrite, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2741,30 +2303,6 @@ public okhttp3.Call uploadFileCall(@javax.annotation.Nonnull UploadFileType uplo localVarQueryParams.addAll(localVarApiClient.parameterToPair("packed_password", packedPassword)); } - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -2786,7 +2324,7 @@ public okhttp3.Call uploadFileCall(@javax.annotation.Nonnull UploadFileType uplo } @SuppressWarnings("rawtypes") - private okhttp3.Call uploadFileValidateBeforeCall(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable Boolean forceOverwrite, final ApiCallback _callback) throws ApiException { + private okhttp3.Call uploadFileValidateBeforeCall(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable Boolean forceOverwrite, final ApiCallback _callback) throws ApiException { // verify the required parameter 'uploadFileType' is set if (uploadFileType == null) { throw new ApiException("Missing the required parameter 'uploadFileType' when calling uploadFile(Async)"); @@ -2797,7 +2335,7 @@ private okhttp3.Call uploadFileValidateBeforeCall(@javax.annotation.Nonnull Uplo throw new ApiException("Missing the required parameter '_file' when calling uploadFile(Async)"); } - return uploadFileCall(uploadFileType, _file, packedPassword, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, forceOverwrite, _callback); + return uploadFileCall(uploadFileType, _file, packedPassword, forceOverwrite, _callback); } @@ -2807,12 +2345,6 @@ private okhttp3.Call uploadFileValidateBeforeCall(@javax.annotation.Nonnull Uplo * @param uploadFileType (required) * @param _file (required) * @param packedPassword (optional) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param forceOverwrite (optional, default to false) * @return BaseResponseUploadResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2824,8 +2356,8 @@ private okhttp3.Call uploadFileValidateBeforeCall(@javax.annotation.Nonnull Uplo 422 Invalid request parameters - */ - public BaseResponseUploadResponse uploadFile(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable Boolean forceOverwrite) throws ApiException { - ApiResponse localVarResp = uploadFileWithHttpInfo(uploadFileType, _file, packedPassword, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, forceOverwrite); + public BaseResponseUploadResponse uploadFile(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable Boolean forceOverwrite) throws ApiException { + ApiResponse localVarResp = uploadFileWithHttpInfo(uploadFileType, _file, packedPassword, forceOverwrite); return localVarResp.getData(); } @@ -2835,12 +2367,6 @@ public BaseResponseUploadResponse uploadFile(@javax.annotation.Nonnull UploadFil * @param uploadFileType (required) * @param _file (required) * @param packedPassword (optional) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param forceOverwrite (optional, default to false) * @return ApiResponse<BaseResponseUploadResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2852,8 +2378,8 @@ public BaseResponseUploadResponse uploadFile(@javax.annotation.Nonnull UploadFil 422 Invalid request parameters - */ - public ApiResponse uploadFileWithHttpInfo(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable Boolean forceOverwrite) throws ApiException { - okhttp3.Call localVarCall = uploadFileValidateBeforeCall(uploadFileType, _file, packedPassword, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, forceOverwrite, null); + public ApiResponse uploadFileWithHttpInfo(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable Boolean forceOverwrite) throws ApiException { + okhttp3.Call localVarCall = uploadFileValidateBeforeCall(uploadFileType, _file, packedPassword, forceOverwrite, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2864,12 +2390,6 @@ public ApiResponse uploadFileWithHttpInfo(@javax.ann * @param uploadFileType (required) * @param _file (required) * @param packedPassword (optional) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param forceOverwrite (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -2882,9 +2402,9 @@ public ApiResponse uploadFileWithHttpInfo(@javax.ann 422 Invalid request parameters - */ - public okhttp3.Call uploadFileAsync(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable Boolean forceOverwrite, final ApiCallback _callback) throws ApiException { + public okhttp3.Call uploadFileAsync(@javax.annotation.Nonnull UploadFileType uploadFileType, @javax.annotation.Nonnull String _file, @javax.annotation.Nullable String packedPassword, @javax.annotation.Nullable Boolean forceOverwrite, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = uploadFileValidateBeforeCall(uploadFileType, _file, packedPassword, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, forceOverwrite, _callback); + okhttp3.Call localVarCall = uploadFileValidateBeforeCall(uploadFileType, _file, packedPassword, forceOverwrite, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/ai/reveng/api/AuthenticationUsersApi.java b/src/main/java/ai/reveng/api/AuthenticationUsersApi.java index 0f2f49c5..24941295 100644 --- a/src/main/java/ai/reveng/api/AuthenticationUsersApi.java +++ b/src/main/java/ai/reveng/api/AuthenticationUsersApi.java @@ -451,12 +451,6 @@ public okhttp3.Call getUserActivityAsync(final ApiCallback 422 Invalid request parameters - */ - public okhttp3.Call getUserCommentsCall(@javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserCommentsCall(final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -493,30 +487,6 @@ public okhttp3.Call getUserCommentsCall(@javax.annotation.Nullable String endpoi Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -537,20 +507,14 @@ public okhttp3.Call getUserCommentsCall(@javax.annotation.Nullable String endpoi } @SuppressWarnings("rawtypes") - private okhttp3.Call getUserCommentsValidateBeforeCall(@javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { - return getUserCommentsCall(endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + private okhttp3.Call getUserCommentsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getUserCommentsCall(_callback); } /** * Get comments by user * Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseListCommentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -561,20 +525,14 @@ private okhttp3.Call getUserCommentsValidateBeforeCall(@javax.annotation.Nullabl 422 Invalid request parameters - */ - public BaseResponseListCommentResponse getUserComments(@javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getUserCommentsWithHttpInfo(endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseListCommentResponse getUserComments() throws ApiException { + ApiResponse localVarResp = getUserCommentsWithHttpInfo(); return localVarResp.getData(); } /** * Get comments by user * Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseListCommentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -585,8 +543,8 @@ public BaseResponseListCommentResponse getUserComments(@javax.annotation.Nullabl 422 Invalid request parameters - */ - public ApiResponse getUserCommentsWithHttpInfo(@javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getUserCommentsValidateBeforeCall(endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getUserCommentsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getUserCommentsValidateBeforeCall(null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -594,12 +552,6 @@ public ApiResponse getUserCommentsWithHttpInfo( /** * Get comments by user (asynchronously) * Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -611,9 +563,9 @@ public ApiResponse getUserCommentsWithHttpInfo( 422 Invalid request parameters - */ - public okhttp3.Call getUserCommentsAsync(@javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserCommentsAsync(final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getUserCommentsValidateBeforeCall(endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getUserCommentsValidateBeforeCall(_callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/ai/reveng/api/BinariesApi.java b/src/main/java/ai/reveng/api/BinariesApi.java index f8f569ec..1eb4d4d0 100644 --- a/src/main/java/ai/reveng/api/BinariesApi.java +++ b/src/main/java/ai/reveng/api/BinariesApi.java @@ -82,12 +82,6 @@ public void setCustomBaseUrl(String customBaseUrl) { /** * Build call for downloadZippedBinary * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -99,7 +93,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 422 Invalid request parameters - */ - public okhttp3.Call downloadZippedBinaryCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call downloadZippedBinaryCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -125,30 +119,6 @@ public okhttp3.Call downloadZippedBinaryCall(@javax.annotation.Nonnull Integer b Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/zip", "application/json" @@ -170,13 +140,13 @@ public okhttp3.Call downloadZippedBinaryCall(@javax.annotation.Nonnull Integer b } @SuppressWarnings("rawtypes") - private okhttp3.Call downloadZippedBinaryValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call downloadZippedBinaryValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling downloadZippedBinary(Async)"); } - return downloadZippedBinaryCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return downloadZippedBinaryCall(binaryId, _callback); } @@ -184,12 +154,6 @@ private okhttp3.Call downloadZippedBinaryValidateBeforeCall(@javax.annotation.No * Downloads a zipped binary with password protection * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -200,8 +164,8 @@ private okhttp3.Call downloadZippedBinaryValidateBeforeCall(@javax.annotation.No 422 Invalid request parameters - */ - public File downloadZippedBinary(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = downloadZippedBinaryWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public File downloadZippedBinary(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = downloadZippedBinaryWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -209,12 +173,6 @@ public File downloadZippedBinary(@javax.annotation.Nonnull Integer binaryId, @ja * Downloads a zipped binary with password protection * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -225,8 +183,8 @@ public File downloadZippedBinary(@javax.annotation.Nonnull Integer binaryId, @ja 422 Invalid request parameters - */ - public ApiResponse downloadZippedBinaryWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = downloadZippedBinaryValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse downloadZippedBinaryWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = downloadZippedBinaryValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -235,12 +193,6 @@ public ApiResponse downloadZippedBinaryWithHttpInfo(@javax.annotation.Nonn * Downloads a zipped binary with password protection (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -252,9 +204,9 @@ public ApiResponse downloadZippedBinaryWithHttpInfo(@javax.annotation.Nonn 422 Invalid request parameters - */ - public okhttp3.Call downloadZippedBinaryAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call downloadZippedBinaryAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = downloadZippedBinaryValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = downloadZippedBinaryValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -262,12 +214,6 @@ public okhttp3.Call downloadZippedBinaryAsync(@javax.annotation.Nonnull Integer /** * Build call for getBinaryAdditionalDetails * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -279,7 +225,7 @@ public okhttp3.Call downloadZippedBinaryAsync(@javax.annotation.Nonnull Integer 422 Invalid request parameters - */ - public okhttp3.Call getBinaryAdditionalDetailsCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryAdditionalDetailsCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -305,30 +251,6 @@ public okhttp3.Call getBinaryAdditionalDetailsCall(@javax.annotation.Nonnull Int Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -349,13 +271,13 @@ public okhttp3.Call getBinaryAdditionalDetailsCall(@javax.annotation.Nonnull Int } @SuppressWarnings("rawtypes") - private okhttp3.Call getBinaryAdditionalDetailsValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getBinaryAdditionalDetailsValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling getBinaryAdditionalDetails(Async)"); } - return getBinaryAdditionalDetailsCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getBinaryAdditionalDetailsCall(binaryId, _callback); } @@ -363,12 +285,6 @@ private okhttp3.Call getBinaryAdditionalDetailsValidateBeforeCall(@javax.annotat * Gets the additional details of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseBinaryAdditionalResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -379,8 +295,8 @@ private okhttp3.Call getBinaryAdditionalDetailsValidateBeforeCall(@javax.annotat 422 Invalid request parameters - */ - public BaseResponseBinaryAdditionalResponse getBinaryAdditionalDetails(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getBinaryAdditionalDetailsWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseBinaryAdditionalResponse getBinaryAdditionalDetails(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = getBinaryAdditionalDetailsWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -388,12 +304,6 @@ public BaseResponseBinaryAdditionalResponse getBinaryAdditionalDetails(@javax.an * Gets the additional details of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseBinaryAdditionalResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -404,8 +314,8 @@ public BaseResponseBinaryAdditionalResponse getBinaryAdditionalDetails(@javax.an 422 Invalid request parameters - */ - public ApiResponse getBinaryAdditionalDetailsWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getBinaryAdditionalDetailsValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getBinaryAdditionalDetailsWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = getBinaryAdditionalDetailsValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -414,12 +324,6 @@ public ApiResponse getBinaryAdditionalDeta * Gets the additional details of a binary (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -431,9 +335,9 @@ public ApiResponse getBinaryAdditionalDeta 422 Invalid request parameters - */ - public okhttp3.Call getBinaryAdditionalDetailsAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryAdditionalDetailsAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getBinaryAdditionalDetailsValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getBinaryAdditionalDetailsValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -441,12 +345,6 @@ public okhttp3.Call getBinaryAdditionalDetailsAsync(@javax.annotation.Nonnull In /** * Build call for getBinaryAdditionalDetailsStatus * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -458,7 +356,7 @@ public okhttp3.Call getBinaryAdditionalDetailsAsync(@javax.annotation.Nonnull In 422 Invalid request parameters - */ - public okhttp3.Call getBinaryAdditionalDetailsStatusCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryAdditionalDetailsStatusCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -484,30 +382,6 @@ public okhttp3.Call getBinaryAdditionalDetailsStatusCall(@javax.annotation.Nonnu Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -528,13 +402,13 @@ public okhttp3.Call getBinaryAdditionalDetailsStatusCall(@javax.annotation.Nonnu } @SuppressWarnings("rawtypes") - private okhttp3.Call getBinaryAdditionalDetailsStatusValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getBinaryAdditionalDetailsStatusValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling getBinaryAdditionalDetailsStatus(Async)"); } - return getBinaryAdditionalDetailsStatusCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getBinaryAdditionalDetailsStatusCall(binaryId, _callback); } @@ -542,12 +416,6 @@ private okhttp3.Call getBinaryAdditionalDetailsStatusValidateBeforeCall(@javax.a * Gets the status of the additional details task for a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseAdditionalDetailsStatusResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -558,8 +426,8 @@ private okhttp3.Call getBinaryAdditionalDetailsStatusValidateBeforeCall(@javax.a 422 Invalid request parameters - */ - public BaseResponseAdditionalDetailsStatusResponse getBinaryAdditionalDetailsStatus(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getBinaryAdditionalDetailsStatusWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseAdditionalDetailsStatusResponse getBinaryAdditionalDetailsStatus(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = getBinaryAdditionalDetailsStatusWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -567,12 +435,6 @@ public BaseResponseAdditionalDetailsStatusResponse getBinaryAdditionalDetailsSta * Gets the status of the additional details task for a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseAdditionalDetailsStatusResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -583,8 +445,8 @@ public BaseResponseAdditionalDetailsStatusResponse getBinaryAdditionalDetailsSta 422 Invalid request parameters - */ - public ApiResponse getBinaryAdditionalDetailsStatusWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getBinaryAdditionalDetailsStatusValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getBinaryAdditionalDetailsStatusWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = getBinaryAdditionalDetailsStatusValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -593,12 +455,6 @@ public ApiResponse getBinaryAdditio * Gets the status of the additional details task for a binary (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -610,9 +466,9 @@ public ApiResponse getBinaryAdditio 422 Invalid request parameters - */ - public okhttp3.Call getBinaryAdditionalDetailsStatusAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryAdditionalDetailsStatusAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getBinaryAdditionalDetailsStatusValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getBinaryAdditionalDetailsStatusValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -620,12 +476,6 @@ public okhttp3.Call getBinaryAdditionalDetailsStatusAsync(@javax.annotation.Nonn /** * Build call for getBinaryDetails * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -637,7 +487,7 @@ public okhttp3.Call getBinaryAdditionalDetailsStatusAsync(@javax.annotation.Nonn 422 Invalid request parameters - */ - public okhttp3.Call getBinaryDetailsCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryDetailsCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -663,30 +513,6 @@ public okhttp3.Call getBinaryDetailsCall(@javax.annotation.Nonnull Integer binar Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -707,13 +533,13 @@ public okhttp3.Call getBinaryDetailsCall(@javax.annotation.Nonnull Integer binar } @SuppressWarnings("rawtypes") - private okhttp3.Call getBinaryDetailsValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getBinaryDetailsValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling getBinaryDetails(Async)"); } - return getBinaryDetailsCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getBinaryDetailsCall(binaryId, _callback); } @@ -721,12 +547,6 @@ private okhttp3.Call getBinaryDetailsValidateBeforeCall(@javax.annotation.Nonnul * Gets the details of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseBinaryDetailsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -737,8 +557,8 @@ private okhttp3.Call getBinaryDetailsValidateBeforeCall(@javax.annotation.Nonnul 422 Invalid request parameters - */ - public BaseResponseBinaryDetailsResponse getBinaryDetails(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getBinaryDetailsWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseBinaryDetailsResponse getBinaryDetails(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = getBinaryDetailsWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -746,12 +566,6 @@ public BaseResponseBinaryDetailsResponse getBinaryDetails(@javax.annotation.Nonn * Gets the details of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseBinaryDetailsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -762,8 +576,8 @@ public BaseResponseBinaryDetailsResponse getBinaryDetails(@javax.annotation.Nonn 422 Invalid request parameters - */ - public ApiResponse getBinaryDetailsWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getBinaryDetailsValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getBinaryDetailsWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = getBinaryDetailsValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -772,12 +586,6 @@ public ApiResponse getBinaryDetailsWithHttpIn * Gets the details of a binary (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -789,9 +597,9 @@ public ApiResponse getBinaryDetailsWithHttpIn 422 Invalid request parameters - */ - public okhttp3.Call getBinaryDetailsAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryDetailsAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getBinaryDetailsValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getBinaryDetailsValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -799,12 +607,6 @@ public okhttp3.Call getBinaryDetailsAsync(@javax.annotation.Nonnull Integer bina /** * Build call for getBinaryDieInfo * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -816,7 +618,7 @@ public okhttp3.Call getBinaryDetailsAsync(@javax.annotation.Nonnull Integer bina 422 Invalid request parameters - */ - public okhttp3.Call getBinaryDieInfoCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryDieInfoCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -842,30 +644,6 @@ public okhttp3.Call getBinaryDieInfoCall(@javax.annotation.Nonnull Integer binar Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -886,13 +664,13 @@ public okhttp3.Call getBinaryDieInfoCall(@javax.annotation.Nonnull Integer binar } @SuppressWarnings("rawtypes") - private okhttp3.Call getBinaryDieInfoValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getBinaryDieInfoValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling getBinaryDieInfo(Async)"); } - return getBinaryDieInfoCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getBinaryDieInfoCall(binaryId, _callback); } @@ -900,12 +678,6 @@ private okhttp3.Call getBinaryDieInfoValidateBeforeCall(@javax.annotation.Nonnul * Gets the die info of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseListDieMatch * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -916,8 +688,8 @@ private okhttp3.Call getBinaryDieInfoValidateBeforeCall(@javax.annotation.Nonnul 422 Invalid request parameters - */ - public BaseResponseListDieMatch getBinaryDieInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getBinaryDieInfoWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseListDieMatch getBinaryDieInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = getBinaryDieInfoWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -925,12 +697,6 @@ public BaseResponseListDieMatch getBinaryDieInfo(@javax.annotation.Nonnull Integ * Gets the die info of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseListDieMatch> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -941,8 +707,8 @@ public BaseResponseListDieMatch getBinaryDieInfo(@javax.annotation.Nonnull Integ 422 Invalid request parameters - */ - public ApiResponse getBinaryDieInfoWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getBinaryDieInfoValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getBinaryDieInfoWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = getBinaryDieInfoValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -951,12 +717,6 @@ public ApiResponse getBinaryDieInfoWithHttpInfo(@javax * Gets the die info of a binary (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -968,9 +728,9 @@ public ApiResponse getBinaryDieInfoWithHttpInfo(@javax 422 Invalid request parameters - */ - public okhttp3.Call getBinaryDieInfoAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryDieInfoAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getBinaryDieInfoValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getBinaryDieInfoValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -978,12 +738,6 @@ public okhttp3.Call getBinaryDieInfoAsync(@javax.annotation.Nonnull Integer bina /** * Build call for getBinaryExternals * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -995,7 +749,7 @@ public okhttp3.Call getBinaryDieInfoAsync(@javax.annotation.Nonnull Integer bina 422 Invalid request parameters - */ - public okhttp3.Call getBinaryExternalsCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryExternalsCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1021,30 +775,6 @@ public okhttp3.Call getBinaryExternalsCall(@javax.annotation.Nonnull Integer bin Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -1065,13 +795,13 @@ public okhttp3.Call getBinaryExternalsCall(@javax.annotation.Nonnull Integer bin } @SuppressWarnings("rawtypes") - private okhttp3.Call getBinaryExternalsValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getBinaryExternalsValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling getBinaryExternals(Async)"); } - return getBinaryExternalsCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getBinaryExternalsCall(binaryId, _callback); } @@ -1079,12 +809,6 @@ private okhttp3.Call getBinaryExternalsValidateBeforeCall(@javax.annotation.Nonn * Gets the external details of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseBinaryExternalsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1095,8 +819,8 @@ private okhttp3.Call getBinaryExternalsValidateBeforeCall(@javax.annotation.Nonn 422 Invalid request parameters - */ - public BaseResponseBinaryExternalsResponse getBinaryExternals(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getBinaryExternalsWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseBinaryExternalsResponse getBinaryExternals(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = getBinaryExternalsWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -1104,12 +828,6 @@ public BaseResponseBinaryExternalsResponse getBinaryExternals(@javax.annotation. * Gets the external details of a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseBinaryExternalsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1120,8 +838,8 @@ public BaseResponseBinaryExternalsResponse getBinaryExternals(@javax.annotation. 422 Invalid request parameters - */ - public ApiResponse getBinaryExternalsWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getBinaryExternalsValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getBinaryExternalsWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = getBinaryExternalsValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1130,12 +848,6 @@ public ApiResponse getBinaryExternalsWithHt * Gets the external details of a binary (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1147,9 +859,9 @@ public ApiResponse getBinaryExternalsWithHt 422 Invalid request parameters - */ - public okhttp3.Call getBinaryExternalsAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryExternalsAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getBinaryExternalsValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getBinaryExternalsValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1157,12 +869,6 @@ public okhttp3.Call getBinaryExternalsAsync(@javax.annotation.Nonnull Integer bi /** * Build call for getBinaryRelatedStatus * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1174,7 +880,7 @@ public okhttp3.Call getBinaryExternalsAsync(@javax.annotation.Nonnull Integer bi 422 Invalid request parameters - */ - public okhttp3.Call getBinaryRelatedStatusCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryRelatedStatusCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1200,30 +906,6 @@ public okhttp3.Call getBinaryRelatedStatusCall(@javax.annotation.Nonnull Integer Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -1244,13 +926,13 @@ public okhttp3.Call getBinaryRelatedStatusCall(@javax.annotation.Nonnull Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call getBinaryRelatedStatusValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getBinaryRelatedStatusValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling getBinaryRelatedStatus(Async)"); } - return getBinaryRelatedStatusCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getBinaryRelatedStatusCall(binaryId, _callback); } @@ -1258,12 +940,6 @@ private okhttp3.Call getBinaryRelatedStatusValidateBeforeCall(@javax.annotation. * Gets the status of the unpack binary task for a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseBinariesRelatedStatusResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1274,8 +950,8 @@ private okhttp3.Call getBinaryRelatedStatusValidateBeforeCall(@javax.annotation. 422 Invalid request parameters - */ - public BaseResponseBinariesRelatedStatusResponse getBinaryRelatedStatus(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getBinaryRelatedStatusWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseBinariesRelatedStatusResponse getBinaryRelatedStatus(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = getBinaryRelatedStatusWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -1283,12 +959,6 @@ public BaseResponseBinariesRelatedStatusResponse getBinaryRelatedStatus(@javax.a * Gets the status of the unpack binary task for a binary * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseBinariesRelatedStatusResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1299,8 +969,8 @@ public BaseResponseBinariesRelatedStatusResponse getBinaryRelatedStatus(@javax.a 422 Invalid request parameters - */ - public ApiResponse getBinaryRelatedStatusWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getBinaryRelatedStatusValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getBinaryRelatedStatusWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = getBinaryRelatedStatusValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1309,12 +979,6 @@ public ApiResponse getBinaryRelatedSt * Gets the status of the unpack binary task for a binary (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1326,9 +990,9 @@ public ApiResponse getBinaryRelatedSt 422 Invalid request parameters - */ - public okhttp3.Call getBinaryRelatedStatusAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getBinaryRelatedStatusAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getBinaryRelatedStatusValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getBinaryRelatedStatusValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1336,12 +1000,6 @@ public okhttp3.Call getBinaryRelatedStatusAsync(@javax.annotation.Nonnull Intege /** * Build call for getRelatedBinaries * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1354,7 +1012,7 @@ public okhttp3.Call getBinaryRelatedStatusAsync(@javax.annotation.Nonnull Intege 403 Forbidden - */ - public okhttp3.Call getRelatedBinariesCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelatedBinariesCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1380,30 +1038,6 @@ public okhttp3.Call getRelatedBinariesCall(@javax.annotation.Nonnull Integer bin Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -1424,13 +1058,13 @@ public okhttp3.Call getRelatedBinariesCall(@javax.annotation.Nonnull Integer bin } @SuppressWarnings("rawtypes") - private okhttp3.Call getRelatedBinariesValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRelatedBinariesValidateBeforeCall(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'binaryId' is set if (binaryId == null) { throw new ApiException("Missing the required parameter 'binaryId' when calling getRelatedBinaries(Async)"); } - return getRelatedBinariesCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getRelatedBinariesCall(binaryId, _callback); } @@ -1438,12 +1072,6 @@ private okhttp3.Call getRelatedBinariesValidateBeforeCall(@javax.annotation.Nonn * Gets the related binaries of a binary. * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseChildBinariesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1455,8 +1083,8 @@ private okhttp3.Call getRelatedBinariesValidateBeforeCall(@javax.annotation.Nonn 403 Forbidden - */ - public BaseResponseChildBinariesResponse getRelatedBinaries(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getRelatedBinariesWithHttpInfo(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseChildBinariesResponse getRelatedBinaries(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = getRelatedBinariesWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -1464,12 +1092,6 @@ public BaseResponseChildBinariesResponse getRelatedBinaries(@javax.annotation.No * Gets the related binaries of a binary. * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseChildBinariesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1481,8 +1103,8 @@ public BaseResponseChildBinariesResponse getRelatedBinaries(@javax.annotation.No 403 Forbidden - */ - public ApiResponse getRelatedBinariesWithHttpInfo(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getRelatedBinariesValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getRelatedBinariesWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + okhttp3.Call localVarCall = getRelatedBinariesValidateBeforeCall(binaryId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1491,12 +1113,6 @@ public ApiResponse getRelatedBinariesWithHttp * Gets the related binaries of a binary. (asynchronously) * * @param binaryId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1509,9 +1125,9 @@ public ApiResponse getRelatedBinariesWithHttp 403 Forbidden - */ - public okhttp3.Call getRelatedBinariesAsync(@javax.annotation.Nonnull Integer binaryId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRelatedBinariesAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getRelatedBinariesValidateBeforeCall(binaryId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getRelatedBinariesValidateBeforeCall(binaryId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/ai/reveng/api/FirmwareApi.java b/src/main/java/ai/reveng/api/FirmwareApi.java index f2eb594b..431d2bde 100644 --- a/src/main/java/ai/reveng/api/FirmwareApi.java +++ b/src/main/java/ai/reveng/api/FirmwareApi.java @@ -205,12 +205,6 @@ public okhttp3.Call getBinariesForFirmwareTaskAsync(@javax.annotation.Nonnull St /** * Build call for uploadFirmware * @param _file (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param password (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -224,7 +218,7 @@ public okhttp3.Call getBinariesForFirmwareTaskAsync(@javax.annotation.Nonnull St 500 Internal Server Error - */ - public okhttp3.Call uploadFirmwareCall(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String password, final ApiCallback _callback) throws ApiException { + public okhttp3.Call uploadFirmwareCall(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String password, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -257,30 +251,6 @@ public okhttp3.Call uploadFirmwareCall(@javax.annotation.Nonnull String _file, @ localVarFormParams.put("password", password); } - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -302,13 +272,13 @@ public okhttp3.Call uploadFirmwareCall(@javax.annotation.Nonnull String _file, @ } @SuppressWarnings("rawtypes") - private okhttp3.Call uploadFirmwareValidateBeforeCall(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String password, final ApiCallback _callback) throws ApiException { + private okhttp3.Call uploadFirmwareValidateBeforeCall(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String password, final ApiCallback _callback) throws ApiException { // verify the required parameter '_file' is set if (_file == null) { throw new ApiException("Missing the required parameter '_file' when calling uploadFirmware(Async)"); } - return uploadFirmwareCall(_file, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, password, _callback); + return uploadFirmwareCall(_file, password, _callback); } @@ -316,12 +286,6 @@ private okhttp3.Call uploadFirmwareValidateBeforeCall(@javax.annotation.Nonnull * Upload firmware for unpacking * Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response. * @param _file (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param password (optional) * @return Object * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -334,8 +298,8 @@ private okhttp3.Call uploadFirmwareValidateBeforeCall(@javax.annotation.Nonnull 500 Internal Server Error - */ - public Object uploadFirmware(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String password) throws ApiException { - ApiResponse localVarResp = uploadFirmwareWithHttpInfo(_file, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, password); + public Object uploadFirmware(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String password) throws ApiException { + ApiResponse localVarResp = uploadFirmwareWithHttpInfo(_file, password); return localVarResp.getData(); } @@ -343,12 +307,6 @@ public Object uploadFirmware(@javax.annotation.Nonnull String _file, @javax.anno * Upload firmware for unpacking * Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response. * @param _file (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param password (optional) * @return ApiResponse<Object> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -361,8 +319,8 @@ public Object uploadFirmware(@javax.annotation.Nonnull String _file, @javax.anno 500 Internal Server Error - */ - public ApiResponse uploadFirmwareWithHttpInfo(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String password) throws ApiException { - okhttp3.Call localVarCall = uploadFirmwareValidateBeforeCall(_file, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, password, null); + public ApiResponse uploadFirmwareWithHttpInfo(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String password) throws ApiException { + okhttp3.Call localVarCall = uploadFirmwareValidateBeforeCall(_file, password, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -371,12 +329,6 @@ public ApiResponse uploadFirmwareWithHttpInfo(@javax.annotation.Nonnull * Upload firmware for unpacking (asynchronously) * Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response. * @param _file (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param password (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -390,9 +342,9 @@ public ApiResponse uploadFirmwareWithHttpInfo(@javax.annotation.Nonnull 500 Internal Server Error - */ - public okhttp3.Call uploadFirmwareAsync(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, @javax.annotation.Nullable String password, final ApiCallback _callback) throws ApiException { + public okhttp3.Call uploadFirmwareAsync(@javax.annotation.Nonnull String _file, @javax.annotation.Nullable String password, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = uploadFirmwareValidateBeforeCall(_file, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, password, _callback); + okhttp3.Call localVarCall = uploadFirmwareValidateBeforeCall(_file, password, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/ai/reveng/api/FunctionsAiDecompilationApi.java b/src/main/java/ai/reveng/api/FunctionsAiDecompilationApi.java index b1743326..b467b589 100644 --- a/src/main/java/ai/reveng/api/FunctionsAiDecompilationApi.java +++ b/src/main/java/ai/reveng/api/FunctionsAiDecompilationApi.java @@ -85,12 +85,6 @@ public void setCustomBaseUrl(String customBaseUrl) { * Build call for createAiDecompilationComment * @param functionId (required) * @param functionCommentCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -103,7 +97,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 400 Bad Request - */ - public okhttp3.Call createAiDecompilationCommentCall(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAiDecompilationCommentCall(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -129,30 +123,6 @@ public okhttp3.Call createAiDecompilationCommentCall(@javax.annotation.Nonnull I Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -174,7 +144,7 @@ public okhttp3.Call createAiDecompilationCommentCall(@javax.annotation.Nonnull I } @SuppressWarnings("rawtypes") - private okhttp3.Call createAiDecompilationCommentValidateBeforeCall(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createAiDecompilationCommentValidateBeforeCall(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'functionId' is set if (functionId == null) { throw new ApiException("Missing the required parameter 'functionId' when calling createAiDecompilationComment(Async)"); @@ -185,7 +155,7 @@ private okhttp3.Call createAiDecompilationCommentValidateBeforeCall(@javax.annot throw new ApiException("Missing the required parameter 'functionCommentCreateRequest' when calling createAiDecompilationComment(Async)"); } - return createAiDecompilationCommentCall(functionId, functionCommentCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return createAiDecompilationCommentCall(functionId, functionCommentCreateRequest, _callback); } @@ -194,12 +164,6 @@ private okhttp3.Call createAiDecompilationCommentValidateBeforeCall(@javax.annot * Creates a comment associated with a specified function). * @param functionId (required) * @param functionCommentCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseCommentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -211,8 +175,8 @@ private okhttp3.Call createAiDecompilationCommentValidateBeforeCall(@javax.annot 400 Bad Request - */ - public BaseResponseCommentResponse createAiDecompilationComment(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = createAiDecompilationCommentWithHttpInfo(functionId, functionCommentCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseCommentResponse createAiDecompilationComment(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest) throws ApiException { + ApiResponse localVarResp = createAiDecompilationCommentWithHttpInfo(functionId, functionCommentCreateRequest); return localVarResp.getData(); } @@ -221,12 +185,6 @@ public BaseResponseCommentResponse createAiDecompilationComment(@javax.annotatio * Creates a comment associated with a specified function). * @param functionId (required) * @param functionCommentCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseCommentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -238,8 +196,8 @@ public BaseResponseCommentResponse createAiDecompilationComment(@javax.annotatio 400 Bad Request - */ - public ApiResponse createAiDecompilationCommentWithHttpInfo(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = createAiDecompilationCommentValidateBeforeCall(functionId, functionCommentCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse createAiDecompilationCommentWithHttpInfo(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest) throws ApiException { + okhttp3.Call localVarCall = createAiDecompilationCommentValidateBeforeCall(functionId, functionCommentCreateRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -249,12 +207,6 @@ public ApiResponse createAiDecompilationCommentWith * Creates a comment associated with a specified function). * @param functionId (required) * @param functionCommentCreateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -267,9 +219,9 @@ public ApiResponse createAiDecompilationCommentWith 400 Bad Request - */ - public okhttp3.Call createAiDecompilationCommentAsync(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAiDecompilationCommentAsync(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createAiDecompilationCommentValidateBeforeCall(functionId, functionCommentCreateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = createAiDecompilationCommentValidateBeforeCall(functionId, functionCommentCreateRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -425,12 +377,6 @@ public okhttp3.Call createAiDecompilationTaskAsync(@javax.annotation.Nonnull Lon * Build call for deleteAiDecompilationComment * @param commentId (required) * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -444,7 +390,7 @@ public okhttp3.Call createAiDecompilationTaskAsync(@javax.annotation.Nonnull Lon 400 Bad Request - */ - public okhttp3.Call deleteAiDecompilationCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAiDecompilationCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -471,30 +417,6 @@ public okhttp3.Call deleteAiDecompilationCommentCall(@javax.annotation.Nonnull I Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -515,7 +437,7 @@ public okhttp3.Call deleteAiDecompilationCommentCall(@javax.annotation.Nonnull I } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAiDecompilationCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteAiDecompilationCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'commentId' is set if (commentId == null) { throw new ApiException("Missing the required parameter 'commentId' when calling deleteAiDecompilationComment(Async)"); @@ -526,7 +448,7 @@ private okhttp3.Call deleteAiDecompilationCommentValidateBeforeCall(@javax.annot throw new ApiException("Missing the required parameter 'functionId' when calling deleteAiDecompilationComment(Async)"); } - return deleteAiDecompilationCommentCall(commentId, functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return deleteAiDecompilationCommentCall(commentId, functionId, _callback); } @@ -535,12 +457,6 @@ private okhttp3.Call deleteAiDecompilationCommentValidateBeforeCall(@javax.annot * Deletes an existing comment. Users can only delete their own comments. * @param commentId (required) * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseBool * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -553,8 +469,8 @@ private okhttp3.Call deleteAiDecompilationCommentValidateBeforeCall(@javax.annot 400 Bad Request - */ - public BaseResponseBool deleteAiDecompilationComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = deleteAiDecompilationCommentWithHttpInfo(commentId, functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseBool deleteAiDecompilationComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId) throws ApiException { + ApiResponse localVarResp = deleteAiDecompilationCommentWithHttpInfo(commentId, functionId); return localVarResp.getData(); } @@ -563,12 +479,6 @@ public BaseResponseBool deleteAiDecompilationComment(@javax.annotation.Nonnull I * Deletes an existing comment. Users can only delete their own comments. * @param commentId (required) * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseBool> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -581,8 +491,8 @@ public BaseResponseBool deleteAiDecompilationComment(@javax.annotation.Nonnull I 400 Bad Request - */ - public ApiResponse deleteAiDecompilationCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = deleteAiDecompilationCommentValidateBeforeCall(commentId, functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse deleteAiDecompilationCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId) throws ApiException { + okhttp3.Call localVarCall = deleteAiDecompilationCommentValidateBeforeCall(commentId, functionId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -592,12 +502,6 @@ public ApiResponse deleteAiDecompilationCommentWithHttpInfo(@j * Deletes an existing comment. Users can only delete their own comments. * @param commentId (required) * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -611,9 +515,9 @@ public ApiResponse deleteAiDecompilationCommentWithHttpInfo(@j 400 Bad Request - */ - public okhttp3.Call deleteAiDecompilationCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAiDecompilationCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteAiDecompilationCommentValidateBeforeCall(commentId, functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = deleteAiDecompilationCommentValidateBeforeCall(commentId, functionId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -621,12 +525,6 @@ public okhttp3.Call deleteAiDecompilationCommentAsync(@javax.annotation.Nonnull /** * Build call for getAiDecompilationComments * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -638,7 +536,7 @@ public okhttp3.Call deleteAiDecompilationCommentAsync(@javax.annotation.Nonnull 422 Invalid request parameters - */ - public okhttp3.Call getAiDecompilationCommentsCall(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAiDecompilationCommentsCall(@javax.annotation.Nonnull Integer functionId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -664,30 +562,6 @@ public okhttp3.Call getAiDecompilationCommentsCall(@javax.annotation.Nonnull Int Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -708,13 +582,13 @@ public okhttp3.Call getAiDecompilationCommentsCall(@javax.annotation.Nonnull Int } @SuppressWarnings("rawtypes") - private okhttp3.Call getAiDecompilationCommentsValidateBeforeCall(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAiDecompilationCommentsValidateBeforeCall(@javax.annotation.Nonnull Integer functionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'functionId' is set if (functionId == null) { throw new ApiException("Missing the required parameter 'functionId' when calling getAiDecompilationComments(Async)"); } - return getAiDecompilationCommentsCall(functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return getAiDecompilationCommentsCall(functionId, _callback); } @@ -722,12 +596,6 @@ private okhttp3.Call getAiDecompilationCommentsValidateBeforeCall(@javax.annotat * Get comments for this function * Retrieves all comments created for a specific function. Only returns comments for resources the requesting user has access to. * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseListCommentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -738,8 +606,8 @@ private okhttp3.Call getAiDecompilationCommentsValidateBeforeCall(@javax.annotat 422 Invalid request parameters - */ - public BaseResponseListCommentResponse getAiDecompilationComments(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = getAiDecompilationCommentsWithHttpInfo(functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseListCommentResponse getAiDecompilationComments(@javax.annotation.Nonnull Integer functionId) throws ApiException { + ApiResponse localVarResp = getAiDecompilationCommentsWithHttpInfo(functionId); return localVarResp.getData(); } @@ -747,12 +615,6 @@ public BaseResponseListCommentResponse getAiDecompilationComments(@javax.annotat * Get comments for this function * Retrieves all comments created for a specific function. Only returns comments for resources the requesting user has access to. * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseListCommentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -763,8 +625,8 @@ public BaseResponseListCommentResponse getAiDecompilationComments(@javax.annotat 422 Invalid request parameters - */ - public ApiResponse getAiDecompilationCommentsWithHttpInfo(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = getAiDecompilationCommentsValidateBeforeCall(functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse getAiDecompilationCommentsWithHttpInfo(@javax.annotation.Nonnull Integer functionId) throws ApiException { + okhttp3.Call localVarCall = getAiDecompilationCommentsValidateBeforeCall(functionId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -773,12 +635,6 @@ public ApiResponse getAiDecompilationCommentsWi * Get comments for this function (asynchronously) * Retrieves all comments created for a specific function. Only returns comments for resources the requesting user has access to. * @param functionId (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -790,9 +646,9 @@ public ApiResponse getAiDecompilationCommentsWi 422 Invalid request parameters - */ - public okhttp3.Call getAiDecompilationCommentsAsync(@javax.annotation.Nonnull Integer functionId, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAiDecompilationCommentsAsync(@javax.annotation.Nonnull Integer functionId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getAiDecompilationCommentsValidateBeforeCall(functionId, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = getAiDecompilationCommentsValidateBeforeCall(functionId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1223,12 +1079,6 @@ public okhttp3.Call getAiDecompilationTaskStatusAsync(@javax.annotation.Nonnull * @param commentId (required) * @param functionId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1242,7 +1092,7 @@ public okhttp3.Call getAiDecompilationTaskStatusAsync(@javax.annotation.Nonnull 400 Bad Request - */ - public okhttp3.Call updateAiDecompilationCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAiDecompilationCommentCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1269,30 +1119,6 @@ public okhttp3.Call updateAiDecompilationCommentCall(@javax.annotation.Nonnull I Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (endpointUrl != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endpoint_url", endpointUrl)); - } - - if (localCacheDir != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_dir", localCacheDir)); - } - - if (localCacheMaxSizeMb != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("local_cache_max_size_mb", localCacheMaxSizeMb)); - } - - if (customerSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customer_samples_bucket", customerSamplesBucket)); - } - - if (firmwareSamplesBucket != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("firmware_samples_bucket", firmwareSamplesBucket)); - } - - if (maxRetryAttempts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("max_retry_attempts", maxRetryAttempts)); - } - final String[] localVarAccepts = { "application/json" }; @@ -1314,7 +1140,7 @@ public okhttp3.Call updateAiDecompilationCommentCall(@javax.annotation.Nonnull I } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAiDecompilationCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAiDecompilationCommentValidateBeforeCall(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'commentId' is set if (commentId == null) { throw new ApiException("Missing the required parameter 'commentId' when calling updateAiDecompilationComment(Async)"); @@ -1330,7 +1156,7 @@ private okhttp3.Call updateAiDecompilationCommentValidateBeforeCall(@javax.annot throw new ApiException("Missing the required parameter 'commentUpdateRequest' when calling updateAiDecompilationComment(Async)"); } - return updateAiDecompilationCommentCall(commentId, functionId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + return updateAiDecompilationCommentCall(commentId, functionId, commentUpdateRequest, _callback); } @@ -1340,12 +1166,6 @@ private okhttp3.Call updateAiDecompilationCommentValidateBeforeCall(@javax.annot * @param commentId (required) * @param functionId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return BaseResponseCommentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1358,8 +1178,8 @@ private okhttp3.Call updateAiDecompilationCommentValidateBeforeCall(@javax.annot 400 Bad Request - */ - public BaseResponseCommentResponse updateAiDecompilationComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - ApiResponse localVarResp = updateAiDecompilationCommentWithHttpInfo(commentId, functionId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts); + public BaseResponseCommentResponse updateAiDecompilationComment(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest) throws ApiException { + ApiResponse localVarResp = updateAiDecompilationCommentWithHttpInfo(commentId, functionId, commentUpdateRequest); return localVarResp.getData(); } @@ -1369,12 +1189,6 @@ public BaseResponseCommentResponse updateAiDecompilationComment(@javax.annotatio * @param commentId (required) * @param functionId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @return ApiResponse<BaseResponseCommentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1387,8 +1201,8 @@ public BaseResponseCommentResponse updateAiDecompilationComment(@javax.annotatio 400 Bad Request - */ - public ApiResponse updateAiDecompilationCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts) throws ApiException { - okhttp3.Call localVarCall = updateAiDecompilationCommentValidateBeforeCall(commentId, functionId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, null); + public ApiResponse updateAiDecompilationCommentWithHttpInfo(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest) throws ApiException { + okhttp3.Call localVarCall = updateAiDecompilationCommentValidateBeforeCall(commentId, functionId, commentUpdateRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1399,12 +1213,6 @@ public ApiResponse updateAiDecompilationCommentWith * @param commentId (required) * @param functionId (required) * @param commentUpdateRequest (required) - * @param endpointUrl (optional) - * @param localCacheDir (optional) - * @param localCacheMaxSizeMb (optional) - * @param customerSamplesBucket (optional) - * @param firmwareSamplesBucket (optional) - * @param maxRetryAttempts (optional, default to 5) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1418,9 +1226,9 @@ public ApiResponse updateAiDecompilationCommentWith 400 Bad Request - */ - public okhttp3.Call updateAiDecompilationCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, @javax.annotation.Nullable String endpointUrl, @javax.annotation.Nullable String localCacheDir, @javax.annotation.Nullable Integer localCacheMaxSizeMb, @javax.annotation.Nullable String customerSamplesBucket, @javax.annotation.Nullable String firmwareSamplesBucket, @javax.annotation.Nullable Integer maxRetryAttempts, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAiDecompilationCommentAsync(@javax.annotation.Nonnull Integer commentId, @javax.annotation.Nonnull Integer functionId, @javax.annotation.Nonnull CommentUpdateRequest commentUpdateRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateAiDecompilationCommentValidateBeforeCall(commentId, functionId, commentUpdateRequest, endpointUrl, localCacheDir, localCacheMaxSizeMb, customerSamplesBucket, firmwareSamplesBucket, maxRetryAttempts, _callback); + okhttp3.Call localVarCall = updateAiDecompilationCommentValidateBeforeCall(commentId, functionId, commentUpdateRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/ai/reveng/invoker/ApiClient.java b/src/main/java/ai/reveng/invoker/ApiClient.java index 925ac532..fde58f7c 100644 --- a/src/main/java/ai/reveng/invoker/ApiClient.java +++ b/src/main/java/ai/reveng/invoker/ApiClient.java @@ -146,7 +146,7 @@ protected void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/3.81.0/java"); + setUserAgent("OpenAPI-Generator/3.82.0/java"); authentications = new HashMap(); } diff --git a/src/main/java/ai/reveng/invoker/Configuration.java b/src/main/java/ai/reveng/invoker/Configuration.java index 0b09a2d8..b958c3a7 100644 --- a/src/main/java/ai/reveng/invoker/Configuration.java +++ b/src/main/java/ai/reveng/invoker/Configuration.java @@ -18,7 +18,7 @@ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Configuration { - public static final String VERSION = "3.81.0"; + public static final String VERSION = "3.82.0"; private static final AtomicReference defaultApiClient = new AtomicReference<>(); private static volatile Supplier apiClientFactory = ApiClient::new; diff --git a/src/main/java/ai/reveng/model/FunctionListItem.java b/src/main/java/ai/reveng/model/FunctionListItem.java index f89398eb..455839e1 100644 --- a/src/main/java/ai/reveng/model/FunctionListItem.java +++ b/src/main/java/ai/reveng/model/FunctionListItem.java @@ -75,7 +75,9 @@ public enum NameSourceTypeEnum { EXTERNAL("EXTERNAL"), - AI_UNSTRIP("AI_UNSTRIP"); + AI_UNSTRIP("AI_UNSTRIP"), + + AI_AGENT("AI_AGENT"); private String value; diff --git a/src/main/java/ai/reveng/model/NameSourceType.java b/src/main/java/ai/reveng/model/NameSourceType.java index 8d79e044..fc0511e1 100644 --- a/src/main/java/ai/reveng/model/NameSourceType.java +++ b/src/main/java/ai/reveng/model/NameSourceType.java @@ -65,7 +65,9 @@ public enum TypeEnum { EXTERNAL("EXTERNAL"), - AI_UNSTRIP("AI_UNSTRIP"); + AI_UNSTRIP("AI_UNSTRIP"), + + AI_AGENT("AI_AGENT"); private String value;