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 Long analysisId, @Nonnull Long functionId, ApiCallback _callback) throws ApiException
      Build call for getFunctionDataTypes
      Parameters:
      analysisId - Analysis ID (required)
      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 -
    • getFunctionDataTypes

      public DataTypesEntry getFunctionDataTypes(@Nonnull Long analysisId, @Nonnull Long functionId) throws ApiException
      Get data types for a single function Returns the stored data-types blob for one function. The function must belong to the supplied analysis. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      analysisId - Analysis ID (required)
      functionId - Function ID (required)
      Returns:
      DataTypesEntry
      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 -
    • getFunctionDataTypesWithHttpInfo

      public ApiResponse<DataTypesEntry> getFunctionDataTypesWithHttpInfo(@Nonnull Long analysisId, @Nonnull Long functionId) throws ApiException
      Get data types for a single function Returns the stored data-types blob for one function. The function must belong to the supplied analysis. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      analysisId - Analysis ID (required)
      functionId - Function ID (required)
      Returns:
      ApiResponse<DataTypesEntry>
      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 -
    • getFunctionDataTypesAsync

      public okhttp3.Call getFunctionDataTypesAsync(@Nonnull Long analysisId, @Nonnull Long functionId, ApiCallback<DataTypesEntry> _callback) throws ApiException
      Get data types for a single function (asynchronously) Returns the stored data-types blob for one function. The function must belong to the supplied analysis. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      analysisId - Analysis ID (required)
      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 -
    • listAnalysisFunctionsDataTypesCall

      public okhttp3.Call listAnalysisFunctionsDataTypesCall(@Nonnull Long analysisId, @Nullable Long offset, @Nullable Long limit, ApiCallback _callback) throws ApiException
      Build call for listAnalysisFunctionsDataTypes
      Parameters:
      analysisId - Analysis ID (required)
      offset - Pagination offset. Defaults to 0. (optional)
      limit - Page size. Defaults to 100. (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • listAnalysisFunctionsDataTypes

      public ListAnalysisFunctionsDataTypesOutputBody listAnalysisFunctionsDataTypes(@Nonnull Long analysisId, @Nullable Long offset, @Nullable Long limit) throws ApiException
      List data types for all functions in an analysis Paginated read of the stored data-types blob for each function in the analysis. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      analysisId - Analysis ID (required)
      offset - Pagination offset. Defaults to 0. (optional)
      limit - Page size. Defaults to 100. (optional)
      Returns:
      ListAnalysisFunctionsDataTypesOutputBody
      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 -
    • listAnalysisFunctionsDataTypesWithHttpInfo

      public ApiResponse<ListAnalysisFunctionsDataTypesOutputBody> listAnalysisFunctionsDataTypesWithHttpInfo(@Nonnull Long analysisId, @Nullable Long offset, @Nullable Long limit) throws ApiException
      List data types for all functions in an analysis Paginated read of the stored data-types blob for each function in the analysis. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      analysisId - Analysis ID (required)
      offset - Pagination offset. Defaults to 0. (optional)
      limit - Page size. Defaults to 100. (optional)
      Returns:
      ApiResponse<ListAnalysisFunctionsDataTypesOutputBody>
      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 -
    • listAnalysisFunctionsDataTypesAsync

      public okhttp3.Call listAnalysisFunctionsDataTypesAsync(@Nonnull Long analysisId, @Nullable Long offset, @Nullable Long limit, ApiCallback<ListAnalysisFunctionsDataTypesOutputBody> _callback) throws ApiException
      List data types for all functions in an analysis (asynchronously) Paginated read of the stored data-types blob for each function in the analysis. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Parameters:
      analysisId - Analysis ID (required)
      offset - Pagination offset. Defaults to 0. (optional)
      limit - Page size. Defaults to 100. (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 OK -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • listFunctionDataTypesForAnalysisCall

      @Deprecated public okhttp3.Call listFunctionDataTypesForAnalysisCall(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds, ApiCallback _callback) throws ApiException
      Deprecated.
      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

      @Deprecated public BaseResponseFunctionDataTypesList listFunctionDataTypesForAnalysis(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds) throws ApiException
      Deprecated.
      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

      @Deprecated public ApiResponse<BaseResponseFunctionDataTypesList> listFunctionDataTypesForAnalysisWithHttpInfo(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds) throws ApiException
      Deprecated.
      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

      @Deprecated public okhttp3.Call listFunctionDataTypesForAnalysisAsync(@Nonnull Integer analysisId, @Nullable List<Integer> functionIds, ApiCallback<BaseResponseFunctionDataTypesList> _callback) throws ApiException
      Deprecated.
      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

      @Deprecated public okhttp3.Call listFunctionDataTypesForFunctionsCall(@Nullable List<Integer> functionIds, ApiCallback _callback) throws ApiException
      Deprecated.
      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

      @Deprecated public BaseResponseFunctionDataTypesList listFunctionDataTypesForFunctions(@Nullable List<Integer> functionIds) throws ApiException
      Deprecated.
      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

      @Deprecated public ApiResponse<BaseResponseFunctionDataTypesList> listFunctionDataTypesForFunctionsWithHttpInfo(@Nullable List<Integer> functionIds) throws ApiException
      Deprecated.
      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

      @Deprecated public okhttp3.Call listFunctionDataTypesForFunctionsAsync(@Nullable List<Integer> functionIds, ApiCallback<BaseResponseFunctionDataTypesList> _callback) throws ApiException
      Deprecated.
      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 -
    • listFunctionsDataTypesCall

      public okhttp3.Call listFunctionsDataTypesCall(@Nullable List<Long> functionIds, ApiCallback _callback) throws ApiException
      Build call for listFunctionsDataTypes
      Parameters:
      functionIds - Function IDs to fetch data-types for. (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 -
    • listFunctionsDataTypes

      public ListFunctionsDataTypesOutputBody listFunctionsDataTypes(@Nullable List<Long> functionIds) throws ApiException
      Get data types for many functions Returns the stored data-types blob for each supplied function ID. Caller must have read access to every function or the request is rejected. **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:
      functionIds - Function IDs to fetch data-types for. (required)
      Returns:
      ListFunctionsDataTypesOutputBody
      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 -
    • listFunctionsDataTypesWithHttpInfo

      public ApiResponse<ListFunctionsDataTypesOutputBody> listFunctionsDataTypesWithHttpInfo(@Nullable List<Long> functionIds) throws ApiException
      Get data types for many functions Returns the stored data-types blob for each supplied function ID. Caller must have read access to every function or the request is rejected. **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:
      functionIds - Function IDs to fetch data-types for. (required)
      Returns:
      ApiResponse<ListFunctionsDataTypesOutputBody>
      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 -
    • listFunctionsDataTypesAsync

      public okhttp3.Call listFunctionsDataTypesAsync(@Nullable List<Long> functionIds, ApiCallback<ListFunctionsDataTypesOutputBody> _callback) throws ApiException
      Get data types for many functions (asynchronously) Returns the stored data-types blob for each supplied function ID. Caller must have read access to every function or the request is rejected. **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:
      functionIds - Function IDs to fetch data-types for. (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 -
    • updateFunctionDataTypesCall

      public okhttp3.Call updateFunctionDataTypesCall(@Nonnull Long analysisId, @Nonnull Long functionId, @Nonnull UpdateDataTypesInputBody updateDataTypesInputBody, ApiCallback _callback) throws ApiException
      Build call for updateFunctionDataTypes
      Parameters:
      analysisId - Analysis ID (required)
      functionId - Function ID (required)
      updateDataTypesInputBody - (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 -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • updateFunctionDataTypes

      public UpdateDataTypesOutputBody updateFunctionDataTypes(@Nonnull Long analysisId, @Nonnull Long functionId, @Nonnull UpdateDataTypesInputBody updateDataTypesInputBody) throws ApiException
      Update function data types Stores user-specific overrides for a function's data types. Uses optimistic concurrency: if the stored version doesn't match `data_types_version`, the update is rejected with 409. **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 - `409` [`CONFLICT`](/errors/CONFLICT) — Conflict
      Parameters:
      analysisId - Analysis ID (required)
      functionId - Function ID (required)
      updateDataTypesInputBody - (required)
      Returns:
      UpdateDataTypesOutputBody
      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 -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • updateFunctionDataTypesWithHttpInfo

      public ApiResponse<UpdateDataTypesOutputBody> updateFunctionDataTypesWithHttpInfo(@Nonnull Long analysisId, @Nonnull Long functionId, @Nonnull UpdateDataTypesInputBody updateDataTypesInputBody) throws ApiException
      Update function data types Stores user-specific overrides for a function's data types. Uses optimistic concurrency: if the stored version doesn't match `data_types_version`, the update is rejected with 409. **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 - `409` [`CONFLICT`](/errors/CONFLICT) — Conflict
      Parameters:
      analysisId - Analysis ID (required)
      functionId - Function ID (required)
      updateDataTypesInputBody - (required)
      Returns:
      ApiResponse<UpdateDataTypesOutputBody>
      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 -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • updateFunctionDataTypesAsync

      public okhttp3.Call updateFunctionDataTypesAsync(@Nonnull Long analysisId, @Nonnull Long functionId, @Nonnull UpdateDataTypesInputBody updateDataTypesInputBody, ApiCallback<UpdateDataTypesOutputBody> _callback) throws ApiException
      Update function data types (asynchronously) Stores user-specific overrides for a function's data types. Uses optimistic concurrency: if the stored version doesn't match `data_types_version`, the update is rejected with 409. **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 - `409` [`CONFLICT`](/errors/CONFLICT) — Conflict
      Parameters:
      analysisId - Analysis ID (required)
      functionId - Function ID (required)
      updateDataTypesInputBody - (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 -
      409 Conflict -
      422 Unprocessable Entity -
      500 Internal Server Error -