Package ai.reveng.api
Class FunctionsDataTypesApi
java.lang.Object
ai.reveng.api.FunctionsDataTypesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchUpdateFunctionDataTypes(Long analysisId, BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody) Batch update function data types Updates data types for multiple functions in one analysis.okhttp3.CallbatchUpdateFunctionDataTypesAsync(Long analysisId, BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody, ApiCallback<BatchUpdateDataTypesOutputBody> _callback) Batch update function data types (asynchronously) Updates data types for multiple functions in one analysis.okhttp3.CallbatchUpdateFunctionDataTypesCall(Long analysisId, BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody, ApiCallback _callback) Build call for batchUpdateFunctionDataTypesbatchUpdateFunctionDataTypesWithHttpInfo(Long analysisId, BatchUpdateDataTypesInputBody batchUpdateDataTypesInputBody) Batch update function data types Updates data types for multiple functions in one analysis.generateFunctionDataTypesForAnalysis(Integer analysisId, FunctionDataTypesParams functionDataTypesParams) Generate Function Data Types Submits a request to generate the function data typesokhttp3.CallgenerateFunctionDataTypesForAnalysisAsync(Integer analysisId, FunctionDataTypesParams functionDataTypesParams, ApiCallback<BaseResponseGenerateFunctionDataTypes> _callback) Generate Function Data Types (asynchronously) Submits a request to generate the function data typesokhttp3.CallgenerateFunctionDataTypesForAnalysisCall(Integer analysisId, FunctionDataTypesParams functionDataTypesParams, ApiCallback _callback) Build call for generateFunctionDataTypesForAnalysisgenerateFunctionDataTypesForAnalysisWithHttpInfo(Integer analysisId, FunctionDataTypesParams functionDataTypesParams) Generate Function Data Types Submits a request to generate the function data typesgenerateFunctionDataTypesForFunctions(FunctionDataTypesParams functionDataTypesParams) Generate Function Data Types for an arbitrary list of functions Submits a request to generate the function data typesokhttp3.CallgenerateFunctionDataTypesForFunctionsAsync(FunctionDataTypesParams functionDataTypesParams, ApiCallback<BaseResponseGenerationStatusList> _callback) Generate Function Data Types for an arbitrary list of functions (asynchronously) Submits a request to generate the function data typesokhttp3.CallgenerateFunctionDataTypesForFunctionsCall(FunctionDataTypesParams functionDataTypesParams, ApiCallback _callback) Build call for generateFunctionDataTypesForFunctionsgenerateFunctionDataTypesForFunctionsWithHttpInfo(FunctionDataTypesParams functionDataTypesParams) Generate Function Data Types for an arbitrary list of functions Submits a request to generate the function data typesgetFunctionDataTypes(Integer analysisId, Integer functionId) Get Function Data Types Polling endpoint which returns the current status of function generation and once completed the data type informationokhttp3.CallgetFunctionDataTypesAsync(Integer analysisId, Integer functionId, ApiCallback<BaseResponseFunctionDataTypes> _callback) Get Function Data Types (asynchronously) Polling endpoint which returns the current status of function generation and once completed the data type informationokhttp3.CallgetFunctionDataTypesCall(Integer analysisId, Integer functionId, ApiCallback _callback) Build call for getFunctionDataTypesgetFunctionDataTypesWithHttpInfo(Integer analysisId, Integer functionId) Get Function Data Types Polling endpoint which returns the current status of function generation and once completed the data type informationintlistFunctionDataTypesForAnalysis(Integer analysisId, List<Integer> functionIds) List Function Data Types Returns data types for multiple functions with optional function ID filteringokhttp3.CalllistFunctionDataTypesForAnalysisAsync(Integer analysisId, List<Integer> functionIds, ApiCallback<BaseResponseFunctionDataTypesList> _callback) List Function Data Types (asynchronously) Returns data types for multiple functions with optional function ID filteringokhttp3.CalllistFunctionDataTypesForAnalysisCall(Integer analysisId, List<Integer> functionIds, ApiCallback _callback) Build call for listFunctionDataTypesForAnalysislistFunctionDataTypesForAnalysisWithHttpInfo(Integer analysisId, List<Integer> functionIds) List Function Data Types Returns data types for multiple functions with optional function ID filteringlistFunctionDataTypesForFunctions(List<Integer> functionIds) List Function Data Types Returns data types for multiple function IDsokhttp3.CalllistFunctionDataTypesForFunctionsAsync(List<Integer> functionIds, ApiCallback<BaseResponseFunctionDataTypesList> _callback) List Function Data Types (asynchronously) Returns data types for multiple function IDsokhttp3.CalllistFunctionDataTypesForFunctionsCall(List<Integer> functionIds, ApiCallback _callback) Build call for listFunctionDataTypesForFunctionslistFunctionDataTypesForFunctionsWithHttpInfo(List<Integer> functionIds) List Function Data Types Returns data types for multiple function IDsvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
FunctionsDataTypesApi
public FunctionsDataTypesApi() -
FunctionsDataTypesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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 -
-