Package ai.reveng.api

Class FunctionsAiDecompilationApi

java.lang.Object
ai.reveng.api.FunctionsAiDecompilationApi

public class FunctionsAiDecompilationApi extends Object
  • Constructor Details

    • FunctionsAiDecompilationApi

      public FunctionsAiDecompilationApi()
    • FunctionsAiDecompilationApi

      public FunctionsAiDecompilationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • createAiDecompilationCall

      public okhttp3.Call createAiDecompilationCall(@Nonnull Long functionId, @Nullable Boolean contextAware, @Nullable Double temperature, ApiCallback _callback) throws ApiException
      Build call for createAiDecompilation
      Parameters:
      functionId - Function ID (required)
      contextAware - Use context-aware decompilation (optional, default to false)
      temperature - LLM temperature (0.0-1.0). Overrides the server default when set. Omit or set to -1 to use the server default. (optional, default to -1)
      _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 Created -
      400 Bad Request -
      402 Payment Required -
      403 Forbidden -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • createAiDecompilation

      public CreateAIDecompOutputBody createAiDecompilation(@Nonnull Long functionId, @Nullable Boolean contextAware, @Nullable Double temperature) throws ApiException
      Start AI decompilation Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request - `409` [`CONFLICT`](/errors/CONFLICT) — Conflict - `402` [`INSUFFICIENT_CREDITS`](/errors/INSUFFICIENT_CREDITS) — Insufficient Credits
      Parameters:
      functionId - Function ID (required)
      contextAware - Use context-aware decompilation (optional, default to false)
      temperature - LLM temperature (0.0-1.0). Overrides the server default when set. Omit or set to -1 to use the server default. (optional, default to -1)
      Returns:
      CreateAIDecompOutputBody
      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 Created -
      400 Bad Request -
      402 Payment Required -
      403 Forbidden -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • createAiDecompilationWithHttpInfo

      public ApiResponse<CreateAIDecompOutputBody> createAiDecompilationWithHttpInfo(@Nonnull Long functionId, @Nullable Boolean contextAware, @Nullable Double temperature) throws ApiException
      Start AI decompilation Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request - `409` [`CONFLICT`](/errors/CONFLICT) — Conflict - `402` [`INSUFFICIENT_CREDITS`](/errors/INSUFFICIENT_CREDITS) — Insufficient Credits
      Parameters:
      functionId - Function ID (required)
      contextAware - Use context-aware decompilation (optional, default to false)
      temperature - LLM temperature (0.0-1.0). Overrides the server default when set. Omit or set to -1 to use the server default. (optional, default to -1)
      Returns:
      ApiResponse<CreateAIDecompOutputBody>
      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 Created -
      400 Bad Request -
      402 Payment Required -
      403 Forbidden -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • createAiDecompilationAsync

      public okhttp3.Call createAiDecompilationAsync(@Nonnull Long functionId, @Nullable Boolean contextAware, @Nullable Double temperature, ApiCallback<CreateAIDecompOutputBody> _callback) throws ApiException
      Start AI decompilation (asynchronously) Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request - `409` [`CONFLICT`](/errors/CONFLICT) — Conflict - `402` [`INSUFFICIENT_CREDITS`](/errors/INSUFFICIENT_CREDITS) — Insufficient Credits
      Parameters:
      functionId - Function ID (required)
      contextAware - Use context-aware decompilation (optional, default to false)
      temperature - LLM temperature (0.0-1.0). Overrides the server default when set. Omit or set to -1 to use the server default. (optional, default to -1)
      _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 Created -
      400 Bad Request -
      402 Payment Required -
      403 Forbidden -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • deleteAiDecompilationInlineCommentCall

      public okhttp3.Call deleteAiDecompilationInlineCommentCall(@Nonnull Long functionId, @Nonnull Long line, ApiCallback _callback) throws ApiException
      Build call for deleteAiDecompilationInlineComment
      Parameters:
      functionId - Function ID (required)
      line - Line number of the comment to delete (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • deleteAiDecompilationInlineComment

      public CommentsData deleteAiDecompilationInlineComment(@Nonnull Long functionId, @Nonnull Long line) throws ApiException
      Delete a single inline comment Removes the comment for the given line number. Requires comments to have been generated first. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      line - Line number of the comment to delete (required)
      Returns:
      CommentsData
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • deleteAiDecompilationInlineCommentWithHttpInfo

      public ApiResponse<CommentsData> deleteAiDecompilationInlineCommentWithHttpInfo(@Nonnull Long functionId, @Nonnull Long line) throws ApiException
      Delete a single inline comment Removes the comment for the given line number. Requires comments to have been generated first. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      line - Line number of the comment to delete (required)
      Returns:
      ApiResponse<CommentsData>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • deleteAiDecompilationInlineCommentAsync

      public okhttp3.Call deleteAiDecompilationInlineCommentAsync(@Nonnull Long functionId, @Nonnull Long line, ApiCallback<CommentsData> _callback) throws ApiException
      Delete a single inline comment (asynchronously) Removes the comment for the given line number. Requires comments to have been generated first. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      line - Line number of the comment to delete (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationCall

      public okhttp3.Call getAiDecompilationCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getAiDecompilation
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilation

      public DecompilationData getAiDecompilation(@Nonnull Long functionId) throws ApiException
      Get AI decompilation result Returns the decompilation source code. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `500` [`INTERNAL_ERROR`](/errors/INTERNAL_ERROR) — Internal Server Error
      Parameters:
      functionId - Function ID (required)
      Returns:
      DecompilationData
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationWithHttpInfo

      public ApiResponse<DecompilationData> getAiDecompilationWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get AI decompilation result Returns the decompilation source code. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `500` [`INTERNAL_ERROR`](/errors/INTERNAL_ERROR) — Internal Server Error
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<DecompilationData>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationAsync

      public okhttp3.Call getAiDecompilationAsync(@Nonnull Long functionId, ApiCallback<DecompilationData> _callback) throws ApiException
      Get AI decompilation result (asynchronously) Returns the decompilation source code. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `500` [`INTERNAL_ERROR`](/errors/INTERNAL_ERROR) — Internal Server Error
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineCommentsCall

      public okhttp3.Call getAiDecompilationInlineCommentsCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getAiDecompilationInlineComments
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineComments

      public CommentsData getAiDecompilationInlineComments(@Nonnull Long functionId) throws ApiException
      Get AI decompilation inline comments Returns the commented source if available. Returns pending status if comments are still being generated. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      CommentsData
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineCommentsWithHttpInfo

      public ApiResponse<CommentsData> getAiDecompilationInlineCommentsWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get AI decompilation inline comments Returns the commented source if available. Returns pending status if comments are still being generated. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<CommentsData>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineCommentsAsync

      public okhttp3.Call getAiDecompilationInlineCommentsAsync(@Nonnull Long functionId, ApiCallback<CommentsData> _callback) throws ApiException
      Get AI decompilation inline comments (asynchronously) Returns the commented source if available. Returns pending status if comments are still being generated. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineCommentsStatusCall

      public okhttp3.Call getAiDecompilationInlineCommentsStatusCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getAiDecompilationInlineCommentsStatus
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineCommentsStatus

      public WorkflowProgress getAiDecompilationInlineCommentsStatus(@Nonnull Long functionId) throws ApiException
      Get inline comments generation workflow status Returns fine-grained progress of the inline comments generation workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      WorkflowProgress
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineCommentsStatusWithHttpInfo

      public ApiResponse<WorkflowProgress> getAiDecompilationInlineCommentsStatusWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get inline comments generation workflow status Returns fine-grained progress of the inline comments generation workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<WorkflowProgress>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationInlineCommentsStatusAsync

      public okhttp3.Call getAiDecompilationInlineCommentsStatusAsync(@Nonnull Long functionId, ApiCallback<WorkflowProgress> _callback) throws ApiException
      Get inline comments generation workflow status (asynchronously) Returns fine-grained progress of the inline comments generation workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • 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 -
    • getAiDecompilationStatusCall

      public okhttp3.Call getAiDecompilationStatusCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getAiDecompilationStatus
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationStatus

      public WorkflowProgress getAiDecompilationStatus(@Nonnull Long functionId) throws ApiException
      Get AI decompilation workflow status Returns fine-grained progress of the running workflow including current step, total steps, and messages. Falls back to the database task status when no workflow is running. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      WorkflowProgress
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationStatusWithHttpInfo

      public ApiResponse<WorkflowProgress> getAiDecompilationStatusWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get AI decompilation workflow status Returns fine-grained progress of the running workflow including current step, total steps, and messages. Falls back to the database task status when no workflow is running. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<WorkflowProgress>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationStatusAsync

      public okhttp3.Call getAiDecompilationStatusAsync(@Nonnull Long functionId, ApiCallback<WorkflowProgress> _callback) throws ApiException
      Get AI decompilation workflow status (asynchronously) Returns fine-grained progress of the running workflow including current step, total steps, and messages. Falls back to the database task status when no workflow is running. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummaryCall

      public okhttp3.Call getAiDecompilationSummaryCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getAiDecompilationSummary
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummary

      public SummaryData getAiDecompilationSummary(@Nonnull Long functionId) throws ApiException
      Get AI decompilation summary Returns the summary if available. Returns pending status if summary is still being generated. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      SummaryData
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummaryWithHttpInfo

      public ApiResponse<SummaryData> getAiDecompilationSummaryWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get AI decompilation summary Returns the summary if available. Returns pending status if summary is still being generated. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<SummaryData>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummaryAsync

      public okhttp3.Call getAiDecompilationSummaryAsync(@Nonnull Long functionId, ApiCallback<SummaryData> _callback) throws ApiException
      Get AI decompilation summary (asynchronously) Returns the summary if available. Returns pending status if summary is still being generated. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummaryStatusCall

      public okhttp3.Call getAiDecompilationSummaryStatusCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getAiDecompilationSummaryStatus
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummaryStatus

      public WorkflowProgress getAiDecompilationSummaryStatus(@Nonnull Long functionId) throws ApiException
      Get summary generation workflow status Returns fine-grained progress of the summary generation workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      WorkflowProgress
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummaryStatusWithHttpInfo

      public ApiResponse<WorkflowProgress> getAiDecompilationSummaryStatusWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get summary generation workflow status Returns fine-grained progress of the summary generation workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<WorkflowProgress>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationSummaryStatusAsync

      public okhttp3.Call getAiDecompilationSummaryStatusAsync(@Nonnull Long functionId, ApiCallback<WorkflowProgress> _callback) throws ApiException
      Get summary generation workflow status (asynchronously) Returns fine-grained progress of the summary generation workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationTokenisedCall

      public okhttp3.Call getAiDecompilationTokenisedCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getAiDecompilationTokenised
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationTokenised

      public TokenisedData getAiDecompilationTokenised(@Nonnull Long functionId) throws ApiException
      Get tokenised AI decompilation with function mapping Returns the decompilation with placeholder tokens, the function mapping for token resolution, and the predicted function name. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `500` [`INTERNAL_ERROR`](/errors/INTERNAL_ERROR) — Internal Server Error
      Parameters:
      functionId - Function ID (required)
      Returns:
      TokenisedData
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationTokenisedWithHttpInfo

      public ApiResponse<TokenisedData> getAiDecompilationTokenisedWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get tokenised AI decompilation with function mapping Returns the decompilation with placeholder tokens, the function mapping for token resolution, and the predicted function name. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `500` [`INTERNAL_ERROR`](/errors/INTERNAL_ERROR) — Internal Server Error
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<TokenisedData>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getAiDecompilationTokenisedAsync

      public okhttp3.Call getAiDecompilationTokenisedAsync(@Nonnull Long functionId, ApiCallback<TokenisedData> _callback) throws ApiException
      Get tokenised AI decompilation with function mapping (asynchronously) Returns the decompilation with placeholder tokens, the function mapping for token resolution, and the predicted function name. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `500` [`INTERNAL_ERROR`](/errors/INTERNAL_ERROR) — Internal Server Error
      Parameters:
      functionId - Function ID (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • patchAiDecompilationInlineCommentCall

      public okhttp3.Call patchAiDecompilationInlineCommentCall(@Nonnull Long functionId, @Nonnull PatchCommentBody patchCommentBody, ApiCallback _callback) throws ApiException
      Build call for patchAiDecompilationInlineComment
      Parameters:
      functionId - Function ID (required)
      patchCommentBody - (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • patchAiDecompilationInlineComment

      public CommentsData patchAiDecompilationInlineComment(@Nonnull Long functionId, @Nonnull PatchCommentBody patchCommentBody) throws ApiException
      Update a single inline comment Merges a single line comment into the existing AI-generated inline comments. Requires comments to have been generated first. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      patchCommentBody - (required)
      Returns:
      CommentsData
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • patchAiDecompilationInlineCommentWithHttpInfo

      public ApiResponse<CommentsData> patchAiDecompilationInlineCommentWithHttpInfo(@Nonnull Long functionId, @Nonnull PatchCommentBody patchCommentBody) throws ApiException
      Update a single inline comment Merges a single line comment into the existing AI-generated inline comments. Requires comments to have been generated first. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      patchCommentBody - (required)
      Returns:
      ApiResponse<CommentsData>
      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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • patchAiDecompilationInlineCommentAsync

      public okhttp3.Call patchAiDecompilationInlineCommentAsync(@Nonnull Long functionId, @Nonnull PatchCommentBody patchCommentBody, ApiCallback<CommentsData> _callback) throws ApiException
      Update a single inline comment (asynchronously) Merges a single line comment into the existing AI-generated inline comments. Requires comments to have been generated first. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      patchCommentBody - (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationInlineCommentsCall

      public okhttp3.Call regenerateAiDecompilationInlineCommentsCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for regenerateAiDecompilationInlineComments
      Parameters:
      functionId - Function ID (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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationInlineComments

      public RegenerateOutputBody regenerateAiDecompilationInlineComments(@Nonnull Long functionId) throws ApiException
      Regenerate AI decompilation inline comments Starts a new inline comments generation workflow for the function. Requires an existing decompilation with a summary. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      RegenerateOutputBody
      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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationInlineCommentsWithHttpInfo

      public ApiResponse<RegenerateOutputBody> regenerateAiDecompilationInlineCommentsWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Regenerate AI decompilation inline comments Starts a new inline comments generation workflow for the function. Requires an existing decompilation with a summary. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<RegenerateOutputBody>
      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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationInlineCommentsAsync

      public okhttp3.Call regenerateAiDecompilationInlineCommentsAsync(@Nonnull Long functionId, ApiCallback<RegenerateOutputBody> _callback) throws ApiException
      Regenerate AI decompilation inline comments (asynchronously) Starts a new inline comments generation workflow for the function. Requires an existing decompilation with a summary. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationSummaryCall

      public okhttp3.Call regenerateAiDecompilationSummaryCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for regenerateAiDecompilationSummary
      Parameters:
      functionId - Function ID (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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationSummary

      public RegenerateOutputBody regenerateAiDecompilationSummary(@Nonnull Long functionId) throws ApiException
      Regenerate AI decompilation summary Starts a new summary generation workflow for the function. Requires an existing decompilation. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      RegenerateOutputBody
      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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationSummaryWithHttpInfo

      public ApiResponse<RegenerateOutputBody> regenerateAiDecompilationSummaryWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Regenerate AI decompilation summary Starts a new summary generation workflow for the function. Requires an existing decompilation. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<RegenerateOutputBody>
      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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • regenerateAiDecompilationSummaryAsync

      public okhttp3.Call regenerateAiDecompilationSummaryAsync(@Nonnull Long functionId, ApiCallback<RegenerateOutputBody> _callback) throws ApiException
      Regenerate AI decompilation summary (asynchronously) Starts a new summary generation workflow for the function. Requires an existing decompilation. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (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 Accepted -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • streamAiDecompilationCall

      public okhttp3.Call streamAiDecompilationCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for streamAiDecompilation
      Parameters:
      functionId - Function ID (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 OK -
      0 Error -
    • streamAiDecompilation

      public List<ServerSentEventsInner1> streamAiDecompilation(@Nonnull Long functionId) throws ApiException
      Stream live AI decompilation output (SSE) Opens a Server-Sent Events stream of incremental decompilation events for the given function. Each event has a `type` discriminator (also used as the SSE `event:` line) and a per-attempt monotonic `seq`. Terminal events: `decomp_finished` (success) or `decomp_failed` (all retries exhausted). `attempt_failed` is per-attempt and non-terminal — Temporal may retry the activity. Clients should treat `attempt` changes as a reset signal. `last_event_id` is not supported — clients fall back to polling the standard GET endpoint after the stream ends.
      Parameters:
      functionId - Function ID (required)
      Returns:
      List<ServerSentEventsInner1>
      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 OK -
      0 Error -
    • streamAiDecompilationWithHttpInfo

      public ApiResponse<List<ServerSentEventsInner1>> streamAiDecompilationWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Stream live AI decompilation output (SSE) Opens a Server-Sent Events stream of incremental decompilation events for the given function. Each event has a `type` discriminator (also used as the SSE `event:` line) and a per-attempt monotonic `seq`. Terminal events: `decomp_finished` (success) or `decomp_failed` (all retries exhausted). `attempt_failed` is per-attempt and non-terminal — Temporal may retry the activity. Clients should treat `attempt` changes as a reset signal. `last_event_id` is not supported — clients fall back to polling the standard GET endpoint after the stream ends.
      Parameters:
      functionId - Function ID (required)
      Returns:
      ApiResponse<List<ServerSentEventsInner1>>
      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 OK -
      0 Error -
    • streamAiDecompilationAsync

      public okhttp3.Call streamAiDecompilationAsync(@Nonnull Long functionId, ApiCallback<List<ServerSentEventsInner1>> _callback) throws ApiException
      Stream live AI decompilation output (SSE) (asynchronously) Opens a Server-Sent Events stream of incremental decompilation events for the given function. Each event has a `type` discriminator (also used as the SSE `event:` line) and a per-attempt monotonic `seq`. Terminal events: `decomp_finished` (success) or `decomp_failed` (all retries exhausted). `attempt_failed` is per-attempt and non-terminal — Temporal may retry the activity. Clients should treat `attempt` changes as a reset signal. `last_event_id` is not supported — clients fall back to polling the standard GET endpoint after the stream ends.
      Parameters:
      functionId - Function ID (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 OK -
      0 Error -
    • upsertAiDecompilationOverridesCall

      public okhttp3.Call upsertAiDecompilationOverridesCall(@Nonnull Long functionId, @Nonnull UpsertOverridesInputBody upsertOverridesInputBody, ApiCallback _callback) throws ApiException
      Build call for upsertAiDecompilationOverrides
      Parameters:
      functionId - Function ID (required)
      upsertOverridesInputBody - (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 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • upsertAiDecompilationOverrides

      public UpsertOverridesData upsertAiDecompilationOverrides(@Nonnull Long functionId, @Nonnull UpsertOverridesInputBody upsertOverridesInputBody) throws ApiException
      Upsert variable/function name overrides Applies user-provided name overrides to placeholder tokens in the decompilation. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      functionId - Function ID (required)
      upsertOverridesInputBody - (required)
      Returns:
      UpsertOverridesData
      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 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • upsertAiDecompilationOverridesWithHttpInfo

      public ApiResponse<UpsertOverridesData> upsertAiDecompilationOverridesWithHttpInfo(@Nonnull Long functionId, @Nonnull UpsertOverridesInputBody upsertOverridesInputBody) throws ApiException
      Upsert variable/function name overrides Applies user-provided name overrides to placeholder tokens in the decompilation. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      functionId - Function ID (required)
      upsertOverridesInputBody - (required)
      Returns:
      ApiResponse<UpsertOverridesData>
      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 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • upsertAiDecompilationOverridesAsync

      public okhttp3.Call upsertAiDecompilationOverridesAsync(@Nonnull Long functionId, @Nonnull UpsertOverridesInputBody upsertOverridesInputBody, ApiCallback<UpsertOverridesData> _callback) throws ApiException
      Upsert variable/function name overrides (asynchronously) Applies user-provided name overrides to placeholder tokens in the decompilation. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      functionId - Function ID (required)
      upsertOverridesInputBody - (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 OK -
      400 Bad Request -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • 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 -