Package ai.reveng.api
Class FunctionsAiDecompilationApi
java.lang.Object
ai.reveng.api.FunctionsAiDecompilationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAiDecompilationComment(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Create a comment for this function Creates a comment associated with a specified function).okhttp3.CallcreateAiDecompilationCommentAsync(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback<BaseResponseCommentResponse> _callback) Create a comment for this function (asynchronously) Creates a comment associated with a specified function).okhttp3.CallcreateAiDecompilationCommentCall(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback _callback) Build call for createAiDecompilationCommentcreateAiDecompilationCommentWithHttpInfo(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Create a comment for this function Creates a comment associated with a specified function).createAiDecompilationTask(Long functionId) Begins AI Decompilation Process Begins the AI Decompilation Processokhttp3.CallcreateAiDecompilationTaskAsync(Long functionId, ApiCallback<BaseResponse> _callback) Begins AI Decompilation Process (asynchronously) Begins the AI Decompilation Processokhttp3.CallcreateAiDecompilationTaskCall(Long functionId, ApiCallback _callback) Build call for createAiDecompilationTaskcreateAiDecompilationTaskWithHttpInfo(Long functionId) Begins AI Decompilation Process Begins the AI Decompilation ProcessdeleteAiDecompilationComment(Integer commentId, Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Delete a comment Deletes an existing comment.okhttp3.CalldeleteAiDecompilationCommentAsync(Integer commentId, Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback<BaseResponseBool> _callback) Delete a comment (asynchronously) Deletes an existing comment.okhttp3.CalldeleteAiDecompilationCommentCall(Integer commentId, Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback _callback) Build call for deleteAiDecompilationCommentdeleteAiDecompilationCommentWithHttpInfo(Integer commentId, Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Delete a comment Deletes an existing comment.getAiDecompilationComments(Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Get comments for this function Retrieves all comments created for a specific function.okhttp3.CallgetAiDecompilationCommentsAsync(Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback<BaseResponseListCommentResponse> _callback) Get comments for this function (asynchronously) Retrieves all comments created for a specific function.okhttp3.CallgetAiDecompilationCommentsCall(Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback _callback) Build call for getAiDecompilationCommentsgetAiDecompilationCommentsWithHttpInfo(Integer functionId, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Get comments for this function Retrieves all comments created for a specific function.getAiDecompilationRating(Long functionId) Get rating for AI decompilationokhttp3.CallgetAiDecompilationRatingAsync(Long functionId, ApiCallback<BaseResponseUnionGetAiDecompilationRatingResponseNoneType> _callback) Get rating for AI decompilation (asynchronously)okhttp3.CallgetAiDecompilationRatingCall(Long functionId, ApiCallback _callback) Build call for getAiDecompilationRatinggetAiDecompilationRatingWithHttpInfo(Long functionId) Get rating for AI decompilationgetAiDecompilationTaskResult(Long functionId, Boolean summarise, Boolean generateInlineComments, List<RegenerateTarget> forceRegenerate) Polls AI Decompilation Process Polls the AI Decompilation Processokhttp3.CallgetAiDecompilationTaskResultAsync(Long functionId, Boolean summarise, Boolean generateInlineComments, List<RegenerateTarget> forceRegenerate, ApiCallback<BaseResponseGetAiDecompilationTask> _callback) Polls AI Decompilation Process (asynchronously) Polls the AI Decompilation Processokhttp3.CallgetAiDecompilationTaskResultCall(Long functionId, Boolean summarise, Boolean generateInlineComments, List<RegenerateTarget> forceRegenerate, ApiCallback _callback) Build call for getAiDecompilationTaskResultgetAiDecompilationTaskResultWithHttpInfo(Long functionId, Boolean summarise, Boolean generateInlineComments, List<RegenerateTarget> forceRegenerate) Polls AI Decompilation Process Polls the AI Decompilation ProcessgetAiDecompilationTaskStatus(Long functionId) Check the status of a function ai decompilationokhttp3.CallgetAiDecompilationTaskStatusAsync(Long functionId, ApiCallback<BaseResponseFunctionTaskResponse> _callback) Check the status of a function ai decompilation (asynchronously)okhttp3.CallgetAiDecompilationTaskStatusCall(Long functionId, ApiCallback _callback) Build call for getAiDecompilationTaskStatusgetAiDecompilationTaskStatusWithHttpInfo(Long functionId) Check the status of a function ai decompilationintvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) updateAiDecompilationComment(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Update a comment Updates the content of an existing comment.okhttp3.CallupdateAiDecompilationCommentAsync(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback<BaseResponseCommentResponse> _callback) Update a comment (asynchronously) Updates the content of an existing comment.okhttp3.CallupdateAiDecompilationCommentCall(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts, ApiCallback _callback) Build call for updateAiDecompilationCommentupdateAiDecompilationCommentWithHttpInfo(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest, String endpointUrl, String localCacheDir, Integer localCacheMaxSizeMb, String customerSamplesBucket, String firmwareSamplesBucket, Integer maxRetryAttempts) Update a comment Updates the content of an existing comment.upsertAiDecompilationRating(Long functionId, UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest) Upsert rating for AI decompilationokhttp3.CallupsertAiDecompilationRatingAsync(Long functionId, UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest, ApiCallback<BaseResponse> _callback) Upsert rating for AI decompilation (asynchronously)okhttp3.CallupsertAiDecompilationRatingCall(Long functionId, UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest, ApiCallback _callback) Build call for upsertAiDecompilationRatingupsertAiDecompilationRatingWithHttpInfo(Long functionId, UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest) Upsert rating for AI decompilation
-
Constructor Details
-
FunctionsAiDecompilationApi
public FunctionsAiDecompilationApi() -
FunctionsAiDecompilationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createAiDecompilationCommentCall
public okhttp3.Call createAiDecompilationCommentCall(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback _callback) throws ApiException Build call for createAiDecompilationComment- Parameters:
functionId- (required)functionCommentCreateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 400 Bad Request -
-
createAiDecompilationComment
public BaseResponseCommentResponse createAiDecompilationComment(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Create a comment for this function Creates a comment associated with a specified function).- Parameters:
functionId- (required)functionCommentCreateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- BaseResponseCommentResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 400 Bad Request -
-
createAiDecompilationCommentWithHttpInfo
public ApiResponse<BaseResponseCommentResponse> createAiDecompilationCommentWithHttpInfo(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Create a comment for this function Creates a comment associated with a specified function).- Parameters:
functionId- (required)functionCommentCreateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- ApiResponse<BaseResponseCommentResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 400 Bad Request -
-
createAiDecompilationCommentAsync
public okhttp3.Call createAiDecompilationCommentAsync(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback<BaseResponseCommentResponse> _callback) throws ApiException Create a comment for this function (asynchronously) Creates a comment associated with a specified function).- Parameters:
functionId- (required)functionCommentCreateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 400 Bad Request -
-
createAiDecompilationTaskCall
public okhttp3.Call createAiDecompilationTaskCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException Build call for createAiDecompilationTask- Parameters:
functionId- The ID of the function for which we are creating the decompilation task (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 403 Forbidden - 402 Payment Required - 409 Conflict - 400 Bad Request -
-
createAiDecompilationTask
Begins AI Decompilation Process Begins the AI Decompilation Process- Parameters:
functionId- The ID of the function for which we are creating the decompilation task (required)- Returns:
- BaseResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 403 Forbidden - 402 Payment Required - 409 Conflict - 400 Bad Request -
-
createAiDecompilationTaskWithHttpInfo
public ApiResponse<BaseResponse> createAiDecompilationTaskWithHttpInfo(@Nonnull Long functionId) throws ApiException Begins AI Decompilation Process Begins the AI Decompilation Process- Parameters:
functionId- The ID of the function for which we are creating the decompilation task (required)- Returns:
- ApiResponse<BaseResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 403 Forbidden - 402 Payment Required - 409 Conflict - 400 Bad Request -
-
createAiDecompilationTaskAsync
public okhttp3.Call createAiDecompilationTaskAsync(@Nonnull Long functionId, ApiCallback<BaseResponse> _callback) throws ApiException Begins AI Decompilation Process (asynchronously) Begins the AI Decompilation Process- Parameters:
functionId- The ID of the function for which we are creating the decompilation task (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters - 403 Forbidden - 402 Payment Required - 409 Conflict - 400 Bad Request -
-
deleteAiDecompilationCommentCall
public okhttp3.Call deleteAiDecompilationCommentCall(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback _callback) throws ApiException Build call for deleteAiDecompilationComment- Parameters:
commentId- (required)functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only delete your own comments - 400 Bad Request -
-
deleteAiDecompilationComment
public BaseResponseBool deleteAiDecompilationComment(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Delete a comment Deletes an existing comment. Users can only delete their own comments.- Parameters:
commentId- (required)functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- BaseResponseBool
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only delete your own comments - 400 Bad Request -
-
deleteAiDecompilationCommentWithHttpInfo
public ApiResponse<BaseResponseBool> deleteAiDecompilationCommentWithHttpInfo(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Delete a comment Deletes an existing comment. Users can only delete their own comments.- Parameters:
commentId- (required)functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- ApiResponse<BaseResponseBool>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only delete your own comments - 400 Bad Request -
-
deleteAiDecompilationCommentAsync
public okhttp3.Call deleteAiDecompilationCommentAsync(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback<BaseResponseBool> _callback) throws ApiException Delete a comment (asynchronously) Deletes an existing comment. Users can only delete their own comments.- Parameters:
commentId- (required)functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only delete your own comments - 400 Bad Request -
-
getAiDecompilationCommentsCall
public okhttp3.Call getAiDecompilationCommentsCall(@Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback _callback) throws ApiException Build call for getAiDecompilationComments- Parameters:
functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationComments
public BaseResponseListCommentResponse getAiDecompilationComments(@Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Get comments for this function Retrieves all comments created for a specific function. Only returns comments for resources the requesting user has access to.- Parameters:
functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- BaseResponseListCommentResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationCommentsWithHttpInfo
public ApiResponse<BaseResponseListCommentResponse> getAiDecompilationCommentsWithHttpInfo(@Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Get comments for this function Retrieves all comments created for a specific function. Only returns comments for resources the requesting user has access to.- Parameters:
functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- ApiResponse<BaseResponseListCommentResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationCommentsAsync
public okhttp3.Call getAiDecompilationCommentsAsync(@Nonnull Integer functionId, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback<BaseResponseListCommentResponse> _callback) throws ApiException 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.- Parameters:
functionId- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationRatingCall
public okhttp3.Call getAiDecompilationRatingCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException Build call for getAiDecompilationRating- Parameters:
functionId- The ID of the function for which to get the rating (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationRating
public BaseResponseUnionGetAiDecompilationRatingResponseNoneType getAiDecompilationRating(@Nonnull Long functionId) throws ApiException Get rating for AI decompilation- Parameters:
functionId- The ID of the function for which to get the rating (required)- Returns:
- BaseResponseUnionGetAiDecompilationRatingResponseNoneType
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationRatingWithHttpInfo
public ApiResponse<BaseResponseUnionGetAiDecompilationRatingResponseNoneType> getAiDecompilationRatingWithHttpInfo(@Nonnull Long functionId) throws ApiException Get rating for AI decompilation- Parameters:
functionId- The ID of the function for which to get the rating (required)- Returns:
- ApiResponse<BaseResponseUnionGetAiDecompilationRatingResponseNoneType>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationRatingAsync
public okhttp3.Call getAiDecompilationRatingAsync(@Nonnull Long functionId, ApiCallback<BaseResponseUnionGetAiDecompilationRatingResponseNoneType> _callback) throws ApiException Get rating for AI decompilation (asynchronously)- Parameters:
functionId- The ID of the function for which to get the rating (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationTaskResultCall
public okhttp3.Call getAiDecompilationTaskResultCall(@Nonnull Long functionId, @Nullable Boolean summarise, @Nullable Boolean generateInlineComments, @Nullable List<RegenerateTarget> forceRegenerate, ApiCallback _callback) throws ApiException Build call for getAiDecompilationTaskResult- Parameters:
functionId- The ID of the function being decompiled (required)summarise- Generate a summary for the decompilation (optional, default to true)generateInlineComments- Generate inline comments for the decompilation (optional, default to true)forceRegenerate- Force regeneration of summary and/or comments. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 Forbidden -
-
getAiDecompilationTaskResult
public BaseResponseGetAiDecompilationTask getAiDecompilationTaskResult(@Nonnull Long functionId, @Nullable Boolean summarise, @Nullable Boolean generateInlineComments, @Nullable List<RegenerateTarget> forceRegenerate) throws ApiException Polls AI Decompilation Process Polls the AI Decompilation Process- Parameters:
functionId- The ID of the function being decompiled (required)summarise- Generate a summary for the decompilation (optional, default to true)generateInlineComments- Generate inline comments for the decompilation (optional, default to true)forceRegenerate- Force regeneration of summary and/or comments. (optional)- Returns:
- BaseResponseGetAiDecompilationTask
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 Forbidden -
-
getAiDecompilationTaskResultWithHttpInfo
public ApiResponse<BaseResponseGetAiDecompilationTask> getAiDecompilationTaskResultWithHttpInfo(@Nonnull Long functionId, @Nullable Boolean summarise, @Nullable Boolean generateInlineComments, @Nullable List<RegenerateTarget> forceRegenerate) throws ApiException Polls AI Decompilation Process Polls the AI Decompilation Process- Parameters:
functionId- The ID of the function being decompiled (required)summarise- Generate a summary for the decompilation (optional, default to true)generateInlineComments- Generate inline comments for the decompilation (optional, default to true)forceRegenerate- Force regeneration of summary and/or comments. (optional)- Returns:
- ApiResponse<BaseResponseGetAiDecompilationTask>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 Forbidden -
-
getAiDecompilationTaskResultAsync
public okhttp3.Call getAiDecompilationTaskResultAsync(@Nonnull Long functionId, @Nullable Boolean summarise, @Nullable Boolean generateInlineComments, @Nullable List<RegenerateTarget> forceRegenerate, ApiCallback<BaseResponseGetAiDecompilationTask> _callback) throws ApiException Polls AI Decompilation Process (asynchronously) Polls the AI Decompilation Process- Parameters:
functionId- The ID of the function being decompiled (required)summarise- Generate a summary for the decompilation (optional, default to true)generateInlineComments- Generate inline comments for the decompilation (optional, default to true)forceRegenerate- Force regeneration of summary and/or comments. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 Forbidden -
-
getAiDecompilationTaskStatusCall
public okhttp3.Call getAiDecompilationTaskStatusCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException Build call for getAiDecompilationTaskStatus- Parameters:
functionId- The ID of the function being checked (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationTaskStatus
public BaseResponseFunctionTaskResponse getAiDecompilationTaskStatus(@Nonnull Long functionId) throws ApiException Check the status of a function ai decompilation- Parameters:
functionId- The ID of the function being checked (required)- Returns:
- BaseResponseFunctionTaskResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationTaskStatusWithHttpInfo
public ApiResponse<BaseResponseFunctionTaskResponse> getAiDecompilationTaskStatusWithHttpInfo(@Nonnull Long functionId) throws ApiException Check the status of a function ai decompilation- Parameters:
functionId- The ID of the function being checked (required)- Returns:
- ApiResponse<BaseResponseFunctionTaskResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getAiDecompilationTaskStatusAsync
public okhttp3.Call getAiDecompilationTaskStatusAsync(@Nonnull Long functionId, ApiCallback<BaseResponseFunctionTaskResponse> _callback) throws ApiException Check the status of a function ai decompilation (asynchronously)- Parameters:
functionId- The ID of the function being checked (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
updateAiDecompilationCommentCall
public okhttp3.Call updateAiDecompilationCommentCall(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback _callback) throws ApiException Build call for updateAiDecompilationComment- Parameters:
commentId- (required)functionId- (required)commentUpdateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only update your own comments - 400 Bad Request -
-
updateAiDecompilationComment
public BaseResponseCommentResponse updateAiDecompilationComment(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Update a comment Updates the content of an existing comment. Users can only update their own comments.- Parameters:
commentId- (required)functionId- (required)commentUpdateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- BaseResponseCommentResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only update your own comments - 400 Bad Request -
-
updateAiDecompilationCommentWithHttpInfo
public ApiResponse<BaseResponseCommentResponse> updateAiDecompilationCommentWithHttpInfo(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts) throws ApiException Update a comment Updates the content of an existing comment. Users can only update their own comments.- Parameters:
commentId- (required)functionId- (required)commentUpdateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)- Returns:
- ApiResponse<BaseResponseCommentResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only update your own comments - 400 Bad Request -
-
updateAiDecompilationCommentAsync
public okhttp3.Call updateAiDecompilationCommentAsync(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest, @Nullable String endpointUrl, @Nullable String localCacheDir, @Nullable Integer localCacheMaxSizeMb, @Nullable String customerSamplesBucket, @Nullable String firmwareSamplesBucket, @Nullable Integer maxRetryAttempts, ApiCallback<BaseResponseCommentResponse> _callback) throws ApiException Update a comment (asynchronously) Updates the content of an existing comment. Users can only update their own comments.- Parameters:
commentId- (required)functionId- (required)commentUpdateRequest- (required)endpointUrl- (optional)localCacheDir- (optional)localCacheMaxSizeMb- (optional)customerSamplesBucket- (optional)firmwareSamplesBucket- (optional)maxRetryAttempts- (optional, default to 5)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters - 403 You can only update your own comments - 400 Bad Request -
-
upsertAiDecompilationRatingCall
public okhttp3.Call upsertAiDecompilationRatingCall(@Nonnull Long functionId, @Nonnull UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest, ApiCallback _callback) throws ApiException Build call for upsertAiDecompilationRating- Parameters:
functionId- The ID of the function being rated (required)upsertAiDecomplationRatingRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters -
-
upsertAiDecompilationRating
public BaseResponse upsertAiDecompilationRating(@Nonnull Long functionId, @Nonnull UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest) throws ApiException Upsert rating for AI decompilation- Parameters:
functionId- The ID of the function being rated (required)upsertAiDecomplationRatingRequest- (required)- Returns:
- BaseResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters -
-
upsertAiDecompilationRatingWithHttpInfo
public ApiResponse<BaseResponse> upsertAiDecompilationRatingWithHttpInfo(@Nonnull Long functionId, @Nonnull UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest) throws ApiException Upsert rating for AI decompilation- Parameters:
functionId- The ID of the function being rated (required)upsertAiDecomplationRatingRequest- (required)- Returns:
- ApiResponse<BaseResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters -
-
upsertAiDecompilationRatingAsync
public okhttp3.Call upsertAiDecompilationRatingAsync(@Nonnull Long functionId, @Nonnull UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest, ApiCallback<BaseResponse> _callback) throws ApiException Upsert rating for AI decompilation (asynchronously)- Parameters:
functionId- The ID of the function being rated (required)upsertAiDecomplationRatingRequest- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Successful Response - 422 Invalid request parameters -
-