Package ai.reveng.api

Class FunctionsRenamingHistoryApi

java.lang.Object
ai.reveng.api.FunctionsRenamingHistoryApi

public class FunctionsRenamingHistoryApi extends Object
  • Constructor Details

    • FunctionsRenamingHistoryApi

      public FunctionsRenamingHistoryApi()
    • FunctionsRenamingHistoryApi

      public FunctionsRenamingHistoryApi(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)
    • batchRenameFunctionCall

      @Deprecated public okhttp3.Call batchRenameFunctionCall(@Nonnull FunctionsListRename functionsListRename, ApiCallback _callback) throws ApiException
      Deprecated.
      Build call for batchRenameFunction
      Parameters:
      functionsListRename - (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 -
    • batchRenameFunction

      @Deprecated public BaseResponse batchRenameFunction(@Nonnull FunctionsListRename functionsListRename) throws ApiException
      Deprecated.
      Batch Rename Functions Renames a list of functions using the function IDs Will record name changes in history
      Parameters:
      functionsListRename - (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
      200 Successful Response -
      422 Invalid request parameters -
    • batchRenameFunctionWithHttpInfo

      @Deprecated public ApiResponse<BaseResponse> batchRenameFunctionWithHttpInfo(@Nonnull FunctionsListRename functionsListRename) throws ApiException
      Deprecated.
      Batch Rename Functions Renames a list of functions using the function IDs Will record name changes in history
      Parameters:
      functionsListRename - (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
      200 Successful Response -
      422 Invalid request parameters -
    • batchRenameFunctionAsync

      @Deprecated public okhttp3.Call batchRenameFunctionAsync(@Nonnull FunctionsListRename functionsListRename, ApiCallback<BaseResponse> _callback) throws ApiException
      Deprecated.
      Batch Rename Functions (asynchronously) Renames a list of functions using the function IDs Will record name changes in history
      Parameters:
      functionsListRename - (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 -
    • batchRenameFunctionsCall

      public okhttp3.Call batchRenameFunctionsCall(@Nonnull BatchRenameInputBody batchRenameInputBody, ApiCallback _callback) throws ApiException
      Build call for batchRenameFunctions
      Parameters:
      batchRenameInputBody - (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 -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • batchRenameFunctions

      public BatchRenameOutputBody batchRenameFunctions(@Nonnull BatchRenameInputBody batchRenameInputBody) throws ApiException
      Batch rename functions Renames multiple functions in a single request. Records name changes in history and copies data types from source functions. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      batchRenameInputBody - (required)
      Returns:
      BatchRenameOutputBody
      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 -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • batchRenameFunctionsWithHttpInfo

      public ApiResponse<BatchRenameOutputBody> batchRenameFunctionsWithHttpInfo(@Nonnull BatchRenameInputBody batchRenameInputBody) throws ApiException
      Batch rename functions Renames multiple functions in a single request. Records name changes in history and copies data types from source functions. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      batchRenameInputBody - (required)
      Returns:
      ApiResponse<BatchRenameOutputBody>
      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 -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • batchRenameFunctionsAsync

      public okhttp3.Call batchRenameFunctionsAsync(@Nonnull BatchRenameInputBody batchRenameInputBody, ApiCallback<BatchRenameOutputBody> _callback) throws ApiException
      Batch rename functions (asynchronously) Renames multiple functions in a single request. Records name changes in history and copies data types from source functions. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) — Bad Request
      Parameters:
      batchRenameInputBody - (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 -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • getFunctionHistoryCall

      public okhttp3.Call getFunctionHistoryCall(@Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getFunctionHistory
      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 -
    • getFunctionHistory

      public List<HistoryEntry> getFunctionHistory(@Nonnull Long functionId) throws ApiException
      Get function name history Returns the name change history for a function, newest first. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      Returns:
      List<HistoryEntry>
      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 -
    • getFunctionHistoryWithHttpInfo

      public ApiResponse<List<HistoryEntry>> getFunctionHistoryWithHttpInfo(@Nonnull Long functionId) throws ApiException
      Get function name history Returns the name change history for a function, newest first. **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<List<HistoryEntry>>
      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 -
    • getFunctionHistoryAsync

      public okhttp3.Call getFunctionHistoryAsync(@Nonnull Long functionId, ApiCallback<List<HistoryEntry>> _callback) throws ApiException
      Get function name history (asynchronously) Returns the name change history for a function, newest first. **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 -
    • getFunctionNameHistoryCall

      @Deprecated public okhttp3.Call getFunctionNameHistoryCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException
      Deprecated.
      Build call for getFunctionNameHistory
      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 -
    • getFunctionNameHistory

      @Deprecated public BaseResponseListFunctionNameHistory getFunctionNameHistory(@Nonnull Integer functionId) throws ApiException
      Deprecated.
      Get Function Name History Gets the name history of a function using the function ID
      Parameters:
      functionId - (required)
      Returns:
      BaseResponseListFunctionNameHistory
      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 -
    • getFunctionNameHistoryWithHttpInfo

      @Deprecated public ApiResponse<BaseResponseListFunctionNameHistory> getFunctionNameHistoryWithHttpInfo(@Nonnull Integer functionId) throws ApiException
      Deprecated.
      Get Function Name History Gets the name history of a function using the function ID
      Parameters:
      functionId - (required)
      Returns:
      ApiResponse<BaseResponseListFunctionNameHistory>
      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 -
    • getFunctionNameHistoryAsync

      @Deprecated public okhttp3.Call getFunctionNameHistoryAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseListFunctionNameHistory> _callback) throws ApiException
      Deprecated.
      Get Function Name History (asynchronously) Gets the name history of a function using the function ID
      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 -
    • renameFunctionCall

      public okhttp3.Call renameFunctionCall(@Nonnull Long functionId, @Nonnull RenameInputBody renameInputBody, ApiCallback _callback) throws ApiException
      Build call for renameFunction
      Parameters:
      functionId - Function ID (required)
      renameInputBody - (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 -
    • renameFunction

      public RenameOutputBody renameFunction(@Nonnull Long functionId, @Nonnull RenameInputBody renameInputBody) throws ApiException
      Rename a function Renames a single function and records the change in history. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      renameInputBody - (required)
      Returns:
      RenameOutputBody
      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 -
    • renameFunctionWithHttpInfo

      public ApiResponse<RenameOutputBody> renameFunctionWithHttpInfo(@Nonnull Long functionId, @Nonnull RenameInputBody renameInputBody) throws ApiException
      Rename a function Renames a single function and records the change in history. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      renameInputBody - (required)
      Returns:
      ApiResponse<RenameOutputBody>
      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 -
    • renameFunctionAsync

      public okhttp3.Call renameFunctionAsync(@Nonnull Long functionId, @Nonnull RenameInputBody renameInputBody, ApiCallback<RenameOutputBody> _callback) throws ApiException
      Rename a function (asynchronously) Renames a single function and records the change in history. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      renameInputBody - (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 -
    • renameFunctionIdCall

      @Deprecated public okhttp3.Call renameFunctionIdCall(@Nonnull Integer functionId, @Nonnull FunctionRename functionRename, ApiCallback _callback) throws ApiException
      Deprecated.
      Build call for renameFunctionId
      Parameters:
      functionId - (required)
      functionRename - (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 -
    • renameFunctionId

      @Deprecated public BaseResponse renameFunctionId(@Nonnull Integer functionId, @Nonnull FunctionRename functionRename) throws ApiException
      Deprecated.
      Rename Function Renames a function using the function ID Will record name change history
      Parameters:
      functionId - (required)
      functionRename - (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
      200 Successful Response -
      422 Invalid request parameters -
    • renameFunctionIdWithHttpInfo

      @Deprecated public ApiResponse<BaseResponse> renameFunctionIdWithHttpInfo(@Nonnull Integer functionId, @Nonnull FunctionRename functionRename) throws ApiException
      Deprecated.
      Rename Function Renames a function using the function ID Will record name change history
      Parameters:
      functionId - (required)
      functionRename - (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
      200 Successful Response -
      422 Invalid request parameters -
    • renameFunctionIdAsync

      @Deprecated public okhttp3.Call renameFunctionIdAsync(@Nonnull Integer functionId, @Nonnull FunctionRename functionRename, ApiCallback<BaseResponse> _callback) throws ApiException
      Deprecated.
      Rename Function (asynchronously) Renames a function using the function ID Will record name change history
      Parameters:
      functionId - (required)
      functionRename - (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 -
    • revertFunctionNameCall

      @Deprecated public okhttp3.Call revertFunctionNameCall(@Nonnull Integer functionId, @Nonnull Integer historyId, ApiCallback _callback) throws ApiException
      Deprecated.
      Build call for revertFunctionName
      Parameters:
      functionId - (required)
      historyId - (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 -
    • revertFunctionName

      @Deprecated public BaseResponse revertFunctionName(@Nonnull Integer functionId, @Nonnull Integer historyId) throws ApiException
      Deprecated.
      Revert the function name Reverts the function name to a previous name using the function ID and history ID
      Parameters:
      functionId - (required)
      historyId - (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
      200 Successful Response -
      422 Invalid request parameters -
    • revertFunctionNameWithHttpInfo

      @Deprecated public ApiResponse<BaseResponse> revertFunctionNameWithHttpInfo(@Nonnull Integer functionId, @Nonnull Integer historyId) throws ApiException
      Deprecated.
      Revert the function name Reverts the function name to a previous name using the function ID and history ID
      Parameters:
      functionId - (required)
      historyId - (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
      200 Successful Response -
      422 Invalid request parameters -
    • revertFunctionNameAsync

      @Deprecated public okhttp3.Call revertFunctionNameAsync(@Nonnull Integer functionId, @Nonnull Integer historyId, ApiCallback<BaseResponse> _callback) throws ApiException
      Deprecated.
      Revert the function name (asynchronously) Reverts the function name to a previous name using the function ID and history ID
      Parameters:
      functionId - (required)
      historyId - (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 -
    • revertFunctionName_0Call

      public okhttp3.Call revertFunctionName_0Call(@Nonnull Long functionId, @Nonnull Long historyId, ApiCallback _callback) throws ApiException
      Build call for revertFunctionName_0
      Parameters:
      functionId - Function ID (required)
      historyId - History ID to revert to (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
      204 No Content -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • revertFunctionName_0

      public Object revertFunctionName_0(@Nonnull Long functionId, @Nonnull Long historyId) throws ApiException
      Revert function name Reverts a function's name to a previous value from its history. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      historyId - History ID to revert to (required)
      Returns:
      Object
      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
      204 No Content -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • revertFunctionName_0WithHttpInfo

      public ApiResponse<Object> revertFunctionName_0WithHttpInfo(@Nonnull Long functionId, @Nonnull Long historyId) throws ApiException
      Revert function name Reverts a function's name to a previous value from its history. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      historyId - History ID to revert to (required)
      Returns:
      ApiResponse<Object>
      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
      204 No Content -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • revertFunctionName_0Async

      public okhttp3.Call revertFunctionName_0Async(@Nonnull Long functionId, @Nonnull Long historyId, ApiCallback<Object> _callback) throws ApiException
      Revert function name (asynchronously) Reverts a function's name to a previous value from its history. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      functionId - Function ID (required)
      historyId - History ID to revert to (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
      204 No Content -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -