Package ai.reveng.api
Class FunctionsDecompilationApi
java.lang.Object
ai.reveng.api.FunctionsDecompilationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckFunctionDecompilationTask(Integer functionId) Check the status of a function decompilationokhttp3.CallcheckFunctionDecompilationTaskAsync(Integer functionId, ApiCallback<BaseResponseFunctionTaskResponse> _callback) Check the status of a function decompilation (asynchronously)okhttp3.CallcheckFunctionDecompilationTaskCall(Integer functionId, ApiCallback _callback) Build call for checkFunctionDecompilationTaskcheckFunctionDecompilationTaskWithHttpInfo(Integer functionId) Check the status of a function decompilationcreateDecompilationComment(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest) Create a comment for this function Creates a comment associated with a specified function).okhttp3.CallcreateDecompilationCommentAsync(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest, ApiCallback<BaseResponseCommentResponse> _callback) Create a comment for this function (asynchronously) Creates a comment associated with a specified function).okhttp3.CallcreateDecompilationCommentCall(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest, ApiCallback _callback) Build call for createDecompilationCommentcreateDecompilationCommentWithHttpInfo(Integer functionId, FunctionCommentCreateRequest functionCommentCreateRequest) Create a comment for this function Creates a comment associated with a specified function).createFunctionDecompilationTask(Integer functionId) Queues a function decompilationokhttp3.CallcreateFunctionDecompilationTaskAsync(Integer functionId, ApiCallback<BaseResponseStr> _callback) Queues a function decompilation (asynchronously)okhttp3.CallcreateFunctionDecompilationTaskCall(Integer functionId, ApiCallback _callback) Build call for createFunctionDecompilationTaskcreateFunctionDecompilationTaskWithHttpInfo(Integer functionId) Queues a function decompilationdeleteDecompilationComment(Integer commentId, Integer functionId) Delete a comment Deletes an existing comment.okhttp3.CalldeleteDecompilationCommentAsync(Integer commentId, Integer functionId, ApiCallback<BaseResponseBool> _callback) Delete a comment (asynchronously) Deletes an existing comment.okhttp3.CalldeleteDecompilationCommentCall(Integer commentId, Integer functionId, ApiCallback _callback) Build call for deleteDecompilationCommentdeleteDecompilationCommentWithHttpInfo(Integer commentId, Integer functionId) Delete a comment Deletes an existing comment.getDecompilationComments(Integer functionId) Get comments for this function Retrieves all comments created for a specific function.okhttp3.CallgetDecompilationCommentsAsync(Integer functionId, ApiCallback<BaseResponseListCommentResponse> _callback) Get comments for this function (asynchronously) Retrieves all comments created for a specific function.okhttp3.CallgetDecompilationCommentsCall(Integer functionId, ApiCallback _callback) Build call for getDecompilationCommentsgetDecompilationCommentsWithHttpInfo(Integer functionId) Get comments for this function Retrieves all comments created for a specific function.getFunctionDecompilation(Integer functionId) Get decompilation resultokhttp3.CallgetFunctionDecompilationAsync(Integer functionId, ApiCallback<BaseResponseDecompilationResponse> _callback) Get decompilation result (asynchronously)okhttp3.CallgetFunctionDecompilationCall(Integer functionId, ApiCallback _callback) Build call for getFunctionDecompilationgetFunctionDecompilationWithHttpInfo(Integer functionId) Get decompilation resultintvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) updateDecompilationComment(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest) Update a comment Updates the content of an existing comment.okhttp3.CallupdateDecompilationCommentAsync(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest, ApiCallback<BaseResponseCommentResponse> _callback) Update a comment (asynchronously) Updates the content of an existing comment.okhttp3.CallupdateDecompilationCommentCall(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest, ApiCallback _callback) Build call for updateDecompilationCommentupdateDecompilationCommentWithHttpInfo(Integer commentId, Integer functionId, CommentUpdateRequest commentUpdateRequest) Update a comment Updates the content of an existing comment.
-
Constructor Details
-
FunctionsDecompilationApi
public FunctionsDecompilationApi() -
FunctionsDecompilationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
checkFunctionDecompilationTaskCall
public okhttp3.Call checkFunctionDecompilationTaskCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException Build call for checkFunctionDecompilationTask- Parameters:
functionId- (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 -
-
checkFunctionDecompilationTask
public BaseResponseFunctionTaskResponse checkFunctionDecompilationTask(@Nonnull Integer functionId) throws ApiException Check the status of a function decompilation- Parameters:
functionId- (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 -
-
checkFunctionDecompilationTaskWithHttpInfo
public ApiResponse<BaseResponseFunctionTaskResponse> checkFunctionDecompilationTaskWithHttpInfo(@Nonnull Integer functionId) throws ApiException Check the status of a function decompilation- Parameters:
functionId- (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 -
-
checkFunctionDecompilationTaskAsync
public okhttp3.Call checkFunctionDecompilationTaskAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseFunctionTaskResponse> _callback) throws ApiException Check the status of a function decompilation (asynchronously)- Parameters:
functionId- (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 -
-
createDecompilationCommentCall
public okhttp3.Call createDecompilationCommentCall(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, ApiCallback _callback) throws ApiException Build call for createDecompilationComment- Parameters:
functionId- (required)functionCommentCreateRequest- (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 - 400 Bad Request -
-
createDecompilationComment
public BaseResponseCommentResponse createDecompilationComment(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest) throws ApiException Create a comment for this function Creates a comment associated with a specified function).- Parameters:
functionId- (required)functionCommentCreateRequest- (required)- 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 -
-
createDecompilationCommentWithHttpInfo
public ApiResponse<BaseResponseCommentResponse> createDecompilationCommentWithHttpInfo(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest) throws ApiException Create a comment for this function Creates a comment associated with a specified function).- Parameters:
functionId- (required)functionCommentCreateRequest- (required)- 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 -
-
createDecompilationCommentAsync
public okhttp3.Call createDecompilationCommentAsync(@Nonnull Integer functionId, @Nonnull FunctionCommentCreateRequest functionCommentCreateRequest, 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)_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 -
-
createFunctionDecompilationTaskCall
public okhttp3.Call createFunctionDecompilationTaskCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException Build call for createFunctionDecompilationTask- Parameters:
functionId- (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 202 Successful Response - 422 Invalid request parameters - 409 Security checks already extracted or queued -
-
createFunctionDecompilationTask
public BaseResponseStr createFunctionDecompilationTask(@Nonnull Integer functionId) throws ApiException Queues a function decompilation- Parameters:
functionId- (required)- Returns:
- BaseResponseStr
- 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 202 Successful Response - 422 Invalid request parameters - 409 Security checks already extracted or queued -
-
createFunctionDecompilationTaskWithHttpInfo
public ApiResponse<BaseResponseStr> createFunctionDecompilationTaskWithHttpInfo(@Nonnull Integer functionId) throws ApiException Queues a function decompilation- Parameters:
functionId- (required)- Returns:
- ApiResponse<BaseResponseStr>
- 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 202 Successful Response - 422 Invalid request parameters - 409 Security checks already extracted or queued -
-
createFunctionDecompilationTaskAsync
public okhttp3.Call createFunctionDecompilationTaskAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseStr> _callback) throws ApiException Queues a function decompilation (asynchronously)- Parameters:
functionId- (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 202 Successful Response - 422 Invalid request parameters - 409 Security checks already extracted or queued -
-
deleteDecompilationCommentCall
public okhttp3.Call deleteDecompilationCommentCall(@Nonnull Integer commentId, @Nonnull Integer functionId, ApiCallback _callback) throws ApiException Build call for deleteDecompilationComment- Parameters:
commentId- (required)functionId- (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 - 403 You can only delete your own comments - 400 Bad Request -
-
deleteDecompilationComment
public BaseResponseBool deleteDecompilationComment(@Nonnull Integer commentId, @Nonnull Integer functionId) throws ApiException Delete a comment Deletes an existing comment. Users can only delete their own comments.- Parameters:
commentId- (required)functionId- (required)- 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 -
-
deleteDecompilationCommentWithHttpInfo
public ApiResponse<BaseResponseBool> deleteDecompilationCommentWithHttpInfo(@Nonnull Integer commentId, @Nonnull Integer functionId) throws ApiException Delete a comment Deletes an existing comment. Users can only delete their own comments.- Parameters:
commentId- (required)functionId- (required)- 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 -
-
deleteDecompilationCommentAsync
public okhttp3.Call deleteDecompilationCommentAsync(@Nonnull Integer commentId, @Nonnull Integer functionId, 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)_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 -
-
getDecompilationCommentsCall
public okhttp3.Call getDecompilationCommentsCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException Build call for getDecompilationComments- Parameters:
functionId- (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 -
-
getDecompilationComments
public BaseResponseListCommentResponse getDecompilationComments(@Nonnull Integer functionId) 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)- 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 -
-
getDecompilationCommentsWithHttpInfo
public ApiResponse<BaseResponseListCommentResponse> getDecompilationCommentsWithHttpInfo(@Nonnull Integer functionId) 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)- 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 -
-
getDecompilationCommentsAsync
public okhttp3.Call getDecompilationCommentsAsync(@Nonnull Integer functionId, 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)_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 -
-
getFunctionDecompilationCall
public okhttp3.Call getFunctionDecompilationCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException Build call for getFunctionDecompilation- Parameters:
functionId- (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 - 404 Unable to find a decompilation for the function_id given -
-
getFunctionDecompilation
public BaseResponseDecompilationResponse getFunctionDecompilation(@Nonnull Integer functionId) throws ApiException Get decompilation result- Parameters:
functionId- (required)- Returns:
- BaseResponseDecompilationResponse
- 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 - 404 Unable to find a decompilation for the function_id given -
-
getFunctionDecompilationWithHttpInfo
public ApiResponse<BaseResponseDecompilationResponse> getFunctionDecompilationWithHttpInfo(@Nonnull Integer functionId) throws ApiException Get decompilation result- Parameters:
functionId- (required)- Returns:
- ApiResponse<BaseResponseDecompilationResponse>
- 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 - 404 Unable to find a decompilation for the function_id given -
-
getFunctionDecompilationAsync
public okhttp3.Call getFunctionDecompilationAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseDecompilationResponse> _callback) throws ApiException Get decompilation result (asynchronously)- Parameters:
functionId- (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 - 404 Unable to find a decompilation for the function_id given -
-
updateDecompilationCommentCall
public okhttp3.Call updateDecompilationCommentCall(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest, ApiCallback _callback) throws ApiException Build call for updateDecompilationComment- Parameters:
commentId- (required)functionId- (required)commentUpdateRequest- (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 - 403 You can only update your own comments - 400 Bad Request -
-
updateDecompilationComment
public BaseResponseCommentResponse updateDecompilationComment(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest) 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)- 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 -
-
updateDecompilationCommentWithHttpInfo
public ApiResponse<BaseResponseCommentResponse> updateDecompilationCommentWithHttpInfo(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest) 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)- 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 -
-
updateDecompilationCommentAsync
public okhttp3.Call updateDecompilationCommentAsync(@Nonnull Integer commentId, @Nonnull Integer functionId, @Nonnull CommentUpdateRequest commentUpdateRequest, 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)_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 -
-