Package ai.reveng.api

Class FunctionsDataTypesApi

java.lang.Object
ai.reveng.api.FunctionsDataTypesApi

public class FunctionsDataTypesApi extends Object
  • Constructor Details

    • FunctionsDataTypesApi

      public FunctionsDataTypesApi()
    • FunctionsDataTypesApi

      public FunctionsDataTypesApi(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)
    • batchUpdateFunctionDataTypesCall

      public okhttp3.Call batchUpdateFunctionDataTypesCall(@Nonnull Long analysisId, @Nonnull BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody, ApiCallback _callback) throws ApiException
      Build call for batchUpdateFunctionDataTypes
      Parameters:
      analysisId - Analysis ID (required)
      batchUpdateDataTypesInputBody - (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 -
    • batchUpdateFunctionDataTypes

      public BatchUpdateDataTypesOutputBody batchUpdateFunctionDataTypes(@Nonnull Long analysisId, @Nonnull BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody) throws ApiException
      Batch update function data types Updates data types for multiple functions in one analysis. All function IDs in the body must belong to the analysis. Each item is processed independently and reports its own outcome: a stale `data_types_version` yields `version_conflict` for that item without affecting the rest of the batch. **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:
      analysisId - Analysis ID (required)
      batchUpdateDataTypesInputBody - (required)
      Returns:
      BatchUpdateDataTypesOutputBody
      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 -
    • batchUpdateFunctionDataTypesWithHttpInfo

      public ApiResponse<BatchUpdateDataTypesOutputBody> batchUpdateFunctionDataTypesWithHttpInfo(@Nonnull Long analysisId, @Nonnull BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody) throws ApiException
      Batch update function data types Updates data types for multiple functions in one analysis. All function IDs in the body must belong to the analysis. Each item is processed independently and reports its own outcome: a stale `data_types_version` yields `version_conflict` for that item without affecting the rest of the batch. **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:
      analysisId - Analysis ID (required)
      batchUpdateDataTypesInputBody - (required)
      Returns:
      ApiResponse<BatchUpdateDataTypesOutputBody>
      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 -
    • batchUpdateFunctionDataTypesAsync

      public okhttp3.Call batchUpdateFunctionDataTypesAsync(@Nonnull Long analysisId, @Nonnull BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody, ApiCallback<BatchUpdateDataTypesOutputBody> _callback) throws ApiException
      Batch update function data types (asynchronously) Updates data types for multiple functions in one analysis. All function IDs in the body must belong to the analysis. Each item is processed independently and reports its own outcome: a stale `data_types_version` yields `version_conflict` for that item without affecting the rest of the batch. **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:
      analysisId - Analysis ID (required)
      batchUpdateDataTypesInputBody - (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 -
    • generateFunctionDataTypesForAnalysisCall

      public okhttp3.Call generateFunctionDataTypesForAnalysisCall(@Nonnull Integer analysisId, @Nonnull FunctionDataTypesParams functionDataTypesParams, ApiCallback _callback) throws ApiException
      Build call for generateFunctionDataTypesForAnalysis
      Parameters:
      analysisId - (required)
      functionDataTypesParams - (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 -
    • generateFunctionDataTypesForAnalysis

      public BaseResponseGenerateFunctionDataTypes generateFunctionDataTypesForAnalysis(@Nonnull Integer analysisId, @Nonnull FunctionDataTypesParams functionDataTypesParams) throws ApiException
      Generate Function Data Types Submits a request to generate the function data types
      Parameters:
      analysisId - (required)
      functionDataTypesParams - (required)
      Returns:
      BaseResponseGenerateFunctionDataTypes
      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 -
    • generateFunctionDataTypesForAnalysisWithHttpInfo

      public ApiResponse<BaseResponseGenerateFunctionDataTypes> generateFunctionDataTypesForAnalysisWithHttpInfo(@Nonnull Integer analysisId, @Nonnull FunctionDataTypesParams functionDataTypesParams) throws ApiException
      Generate Function Data Types Submits a request to generate the function data types
      Parameters:
      analysisId - (required)
      functionDataTypesParams - (required)
      Returns:
      ApiResponse<BaseResponseGenerateFunctionDataTypes>
      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 -
    • generateFunctionDataTypesForAnalysisAsync

      public okhttp3.Call generateFunctionDataTypesForAnalysisAsync(@Nonnull Integer analysisId, @Nonnull FunctionDataTypesParams functionDataTypesParams, ApiCallback<BaseResponseGenerateFunctionDataTypes> _callback) throws ApiException
      Generate Function Data Types (asynchronously) Submits a request to generate the function data types
      Parameters:
      analysisId - (required)
      functionDataTypesParams - (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 -
    • generateFunctionDataTypesForFunctionsCall

      public okhttp3.Call generateFunctionDataTypesForFunctionsCall(@Nonnull FunctionDataTypesParams functionDataTypesParams, ApiCallback _callback) throws ApiException
      Build call for generateFunctionDataTypesForFunctions
      Parameters:
      functionDataTypesParams - (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 -
    • generateFunctionDataTypesForFunctions

      public BaseResponseGenerationStatusList generateFunctionDataTypesForFunctions(@Nonnull FunctionDataTypesParams functionDataTypesParams) throws ApiException
      Generate Function Data Types for an arbitrary list of functions Submits a request to generate the function data types
      Parameters:
      functionDataTypesParams - (required)
      Returns:
      BaseResponseGenerationStatusList
      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 -
    • generateFunctionDataTypesForFunctionsWithHttpInfo

      public ApiResponse<BaseResponseGenerationStatusList> generateFunctionDataTypesForFunctionsWithHttpInfo(@Nonnull FunctionDataTypesParams functionDataTypesParams) throws ApiException
      Generate Function Data Types for an arbitrary list of functions Submits a request to generate the function data types
      Parameters:
      functionDataTypesParams - (required)
      Returns:
      ApiResponse<BaseResponseGenerationStatusList>
      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 -
    • generateFunctionDataTypesForFunctionsAsync

      public okhttp3.Call generateFunctionDataTypesForFunctionsAsync(@Nonnull FunctionDataTypesParams functionDataTypesParams, ApiCallback<BaseResponseGenerationStatusList> _callback) throws ApiException
      Generate Function Data Types for an arbitrary list of functions (asynchronously) Submits a request to generate the function data types
      Parameters:
      functionDataTypesParams - (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 -
    • getFunctionDataTypesCall

      public okhttp3.Call getFunctionDataTypesCall(@Nonnull Integer analysisId, @Nonnull Integer functionId, ApiCallback _callback) throws ApiException
      Build call for getFunctionDataTypes
      Parameters:
      analysisId - (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 -
    • getFunctionDataTypes

      public BaseResponseFunctionDataTypes getFunctionDataTypes(@Nonnull Integer analysisId, @Nonnull Integer functionId) throws ApiException
      Get Function Data Types Polling endpoint which returns the current status of function generation and once completed the data type information
      Parameters:
      analysisId - (required)
      functionId - (required)
      Returns:
      BaseResponseFunctionDataTypes
      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 -
    • getFunctionDataTypesWithHttpInfo

      public ApiResponse<BaseResponseFunctionDataTypes> getFunctionDataTypesWithHttpInfo(@Nonnull Integer analysisId, @Nonnull Integer functionId) throws ApiException
      Get Function Data Types Polling endpoint which returns the current status of function generation and once completed the data type information
      Parameters:
      analysisId - (required)
      functionId - (required)
      Returns:
      ApiResponse<BaseResponseFunctionDataTypes>
      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 -
    • getFunctionDataTypesAsync

      public okhttp3.Call getFunctionDataTypesAsync(@Nonnull Integer analysisId, @Nonnull Integer functionId, ApiCallback<BaseResponseFunctionDataTypes> _callback) throws ApiException
      Get Function Data Types (asynchronously) Polling endpoint which returns the current status of function generation and once completed the data type information
      Parameters:
      analysisId - (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 -
    • listFunctionDataTypesForAnalysisCall

      public okhttp3.Call listFunctionDataTypesForAnalysisCall(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds, ApiCallback _callback) throws ApiException
      Build call for listFunctionDataTypesForAnalysis
      Parameters:
      analysisId - (required)
      functionIds - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • listFunctionDataTypesForAnalysis

      public BaseResponseFunctionDataTypesList listFunctionDataTypesForAnalysis(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds) throws ApiException
      List Function Data Types Returns data types for multiple functions with optional function ID filtering
      Parameters:
      analysisId - (required)
      functionIds - (optional)
      Returns:
      BaseResponseFunctionDataTypesList
      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 -
    • listFunctionDataTypesForAnalysisWithHttpInfo

      public ApiResponse<BaseResponseFunctionDataTypesList> listFunctionDataTypesForAnalysisWithHttpInfo(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds) throws ApiException
      List Function Data Types Returns data types for multiple functions with optional function ID filtering
      Parameters:
      analysisId - (required)
      functionIds - (optional)
      Returns:
      ApiResponse<BaseResponseFunctionDataTypesList>
      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 -
    • listFunctionDataTypesForAnalysisAsync

      public okhttp3.Call listFunctionDataTypesForAnalysisAsync(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds, ApiCallback<BaseResponseFunctionDataTypesList> _callback) throws ApiException
      List Function Data Types (asynchronously) Returns data types for multiple functions with optional function ID filtering
      Parameters:
      analysisId - (required)
      functionIds - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • listFunctionDataTypesForFunctionsCall

      public okhttp3.Call listFunctionDataTypesForFunctionsCall(@Nullable List<Integer> functionIds, ApiCallback _callback) throws ApiException
      Build call for listFunctionDataTypesForFunctions
      Parameters:
      functionIds - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -
    • listFunctionDataTypesForFunctions

      public BaseResponseFunctionDataTypesList listFunctionDataTypesForFunctions(@Nullable List<Integer> functionIds) throws ApiException
      List Function Data Types Returns data types for multiple function IDs
      Parameters:
      functionIds - (optional)
      Returns:
      BaseResponseFunctionDataTypesList
      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 -
    • listFunctionDataTypesForFunctionsWithHttpInfo

      public ApiResponse<BaseResponseFunctionDataTypesList> listFunctionDataTypesForFunctionsWithHttpInfo(@Nullable List<Integer> functionIds) throws ApiException
      List Function Data Types Returns data types for multiple function IDs
      Parameters:
      functionIds - (optional)
      Returns:
      ApiResponse<BaseResponseFunctionDataTypesList>
      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 -
    • listFunctionDataTypesForFunctionsAsync

      public okhttp3.Call listFunctionDataTypesForFunctionsAsync(@Nullable List<Integer> functionIds, ApiCallback<BaseResponseFunctionDataTypesList> _callback) throws ApiException
      List Function Data Types (asynchronously) Returns data types for multiple function IDs
      Parameters:
      functionIds - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful Response -
      422 Invalid request parameters -