Package ai.reveng.api

Class AnalysesCoreApi

java.lang.Object
ai.reveng.api.AnalysesCoreApi

public class AnalysesCoreApi extends Object
  • Constructor Details

    • AnalysesCoreApi

      public AnalysesCoreApi()
    • AnalysesCoreApi

      public AnalysesCoreApi(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)
    • batchSymbolAnnCall

      public okhttp3.Call batchSymbolAnnCall(@Nonnull AppApiRestV1AnnSchemaANNFunction appApiRestV1AnnSchemaANNFunction, ApiCallback _callback) throws ApiException
      Build call for batchSymbolAnn
      Parameters:
      appApiRestV1AnnSchemaANNFunction - (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 -
    • batchSymbolAnn

      public FunctionBatchAnn batchSymbolAnn(@Nonnull AppApiRestV1AnnSchemaANNFunction appApiRestV1AnnSchemaANNFunction) throws ApiException
      Batch Symbol ANN using function IDs Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the database
      Parameters:
      appApiRestV1AnnSchemaANNFunction - (required)
      Returns:
      FunctionBatchAnn
      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 -
    • batchSymbolAnnWithHttpInfo

      public ApiResponse<FunctionBatchAnn> batchSymbolAnnWithHttpInfo(@Nonnull AppApiRestV1AnnSchemaANNFunction appApiRestV1AnnSchemaANNFunction) throws ApiException
      Batch Symbol ANN using function IDs Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the database
      Parameters:
      appApiRestV1AnnSchemaANNFunction - (required)
      Returns:
      ApiResponse<FunctionBatchAnn>
      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 -
    • batchSymbolAnnAsync

      public okhttp3.Call batchSymbolAnnAsync(@Nonnull AppApiRestV1AnnSchemaANNFunction appApiRestV1AnnSchemaANNFunction, ApiCallback<FunctionBatchAnn> _callback) throws ApiException
      Batch Symbol ANN using function IDs (asynchronously) Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the database
      Parameters:
      appApiRestV1AnnSchemaANNFunction - (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 -
    • createAnalysisCall

      public okhttp3.Call createAnalysisCall(@Nonnull AnalysisCreateRequest analysisCreateRequest, ApiCallback _callback) throws ApiException
      Build call for createAnalysis
      Parameters:
      analysisCreateRequest - (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 -
      404 Not Found -
      400 Bad Request -
    • createAnalysis

      public BaseResponseAnalysisCreateResponse createAnalysis(@Nonnull AnalysisCreateRequest analysisCreateRequest) throws ApiException
      Create Analysis Begins an analysis
      Parameters:
      analysisCreateRequest - (required)
      Returns:
      BaseResponseAnalysisCreateResponse
      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 -
      404 Not Found -
      400 Bad Request -
    • createAnalysisWithHttpInfo

      public ApiResponse<BaseResponseAnalysisCreateResponse> createAnalysisWithHttpInfo(@Nonnull AnalysisCreateRequest analysisCreateRequest) throws ApiException
      Create Analysis Begins an analysis
      Parameters:
      analysisCreateRequest - (required)
      Returns:
      ApiResponse<BaseResponseAnalysisCreateResponse>
      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 -
      404 Not Found -
      400 Bad Request -
    • createAnalysisAsync

      public okhttp3.Call createAnalysisAsync(@Nonnull AnalysisCreateRequest analysisCreateRequest, ApiCallback<BaseResponseAnalysisCreateResponse> _callback) throws ApiException
      Create Analysis (asynchronously) Begins an analysis
      Parameters:
      analysisCreateRequest - (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 -
      404 Not Found -
      400 Bad Request -
    • deleteAnalysisCall

      public okhttp3.Call deleteAnalysisCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for deleteAnalysis
      Parameters:
      analysisId - (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 -
      404 Not Found -
      403 Forbidden -
    • deleteAnalysis

      public BaseResponseDict deleteAnalysis(@Nonnull Integer analysisId) throws ApiException
      Delete Analysis Deletes an analysis based on the provided analysis ID.
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseDict
      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 -
      404 Not Found -
      403 Forbidden -
    • deleteAnalysisWithHttpInfo

      public ApiResponse<BaseResponseDict> deleteAnalysisWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Delete Analysis Deletes an analysis based on the provided analysis ID.
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseDict>
      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 -
      404 Not Found -
      403 Forbidden -
    • deleteAnalysisAsync

      public okhttp3.Call deleteAnalysisAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseDict> _callback) throws ApiException
      Delete Analysis (asynchronously) Deletes an analysis based on the provided analysis ID.
      Parameters:
      analysisId - (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 -
      404 Not Found -
      403 Forbidden -
    • findSimilarFunctionsBatchCall

      public okhttp3.Call findSimilarFunctionsBatchCall(@Nonnull Integer analysisId, @Nonnull AppApiRestV2SimilaritySchemaANNFunction appApiRestV2SimilaritySchemaANNFunction, ApiCallback _callback) throws ApiException
      Build call for findSimilarFunctionsBatch
      Parameters:
      analysisId - (required)
      appApiRestV2SimilaritySchemaANNFunction - (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 -
    • findSimilarFunctionsBatch

      public BaseResponseNearestNeighborAnalysis findSimilarFunctionsBatch(@Nonnull Integer analysisId, @Nonnull AppApiRestV2SimilaritySchemaANNFunction appApiRestV2SimilaritySchemaANNFunction) throws ApiException
      Batch Symbol ANN using Analysis ID Takes a analysis ID and returns the nearest functions within the database that match those functions
      Parameters:
      analysisId - (required)
      appApiRestV2SimilaritySchemaANNFunction - (required)
      Returns:
      BaseResponseNearestNeighborAnalysis
      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 -
    • findSimilarFunctionsBatchWithHttpInfo

      public ApiResponse<BaseResponseNearestNeighborAnalysis> findSimilarFunctionsBatchWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AppApiRestV2SimilaritySchemaANNFunction appApiRestV2SimilaritySchemaANNFunction) throws ApiException
      Batch Symbol ANN using Analysis ID Takes a analysis ID and returns the nearest functions within the database that match those functions
      Parameters:
      analysisId - (required)
      appApiRestV2SimilaritySchemaANNFunction - (required)
      Returns:
      ApiResponse<BaseResponseNearestNeighborAnalysis>
      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 -
    • findSimilarFunctionsBatchAsync

      public okhttp3.Call findSimilarFunctionsBatchAsync(@Nonnull Integer analysisId, @Nonnull AppApiRestV2SimilaritySchemaANNFunction appApiRestV2SimilaritySchemaANNFunction, ApiCallback<BaseResponseNearestNeighborAnalysis> _callback) throws ApiException
      Batch Symbol ANN using Analysis ID (asynchronously) Takes a analysis ID and returns the nearest functions within the database that match those functions
      Parameters:
      analysisId - (required)
      appApiRestV2SimilaritySchemaANNFunction - (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 -
    • getAnalysisBasicInfoCall

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

      public BaseResponseBasic getAnalysisBasicInfo(@Nonnull Integer analysisId) throws ApiException
      Gets basic analysis information Just a random placeholder for now
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseBasic
      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 -
    • getAnalysisBasicInfoWithHttpInfo

      public ApiResponse<BaseResponseBasic> getAnalysisBasicInfoWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets basic analysis information Just a random placeholder for now
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseBasic>
      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 -
    • getAnalysisBasicInfoAsync

      public okhttp3.Call getAnalysisBasicInfoAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseBasic> _callback) throws ApiException
      Gets basic analysis information (asynchronously) Just a random placeholder for now
      Parameters:
      analysisId - (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 -
    • getAnalysisFunctionMapCall

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

      public BaseResponseAnalysisFunctionMapping getAnalysisFunctionMap(@Nonnull Integer analysisId) throws ApiException
      Get Analysis Function Map Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseAnalysisFunctionMapping
      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 -
    • getAnalysisFunctionMapWithHttpInfo

      public ApiResponse<BaseResponseAnalysisFunctionMapping> getAnalysisFunctionMapWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Get Analysis Function Map Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseAnalysisFunctionMapping>
      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 -
    • getAnalysisFunctionMapAsync

      public okhttp3.Call getAnalysisFunctionMapAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseAnalysisFunctionMapping> _callback) throws ApiException
      Get Analysis Function Map (asynchronously) Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
      Parameters:
      analysisId - (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 -
    • getAnalysisLogsCall

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

      public BaseResponseLogs getAnalysisLogs(@Nonnull Integer analysisId) throws ApiException
      Gets the logs of an analysis Given an analysis ID gets the current logs of an analysis
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseLogs
      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 -
    • getAnalysisLogsWithHttpInfo

      public ApiResponse<BaseResponseLogs> getAnalysisLogsWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets the logs of an analysis Given an analysis ID gets the current logs of an analysis
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseLogs>
      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 -
    • getAnalysisLogsAsync

      public okhttp3.Call getAnalysisLogsAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseLogs> _callback) throws ApiException
      Gets the logs of an analysis (asynchronously) Given an analysis ID gets the current logs of an analysis
      Parameters:
      analysisId - (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 -
    • getAnalysisParamsCall

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

      public BaseResponseParams getAnalysisParams(@Nonnull Integer analysisId) throws ApiException
      Gets analysis param information Gets the params that the analysis was run with
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseParams
      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 -
    • getAnalysisParamsWithHttpInfo

      public ApiResponse<BaseResponseParams> getAnalysisParamsWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets analysis param information Gets the params that the analysis was run with
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseParams>
      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 -
    • getAnalysisParamsAsync

      public okhttp3.Call getAnalysisParamsAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseParams> _callback) throws ApiException
      Gets analysis param information (asynchronously) Gets the params that the analysis was run with
      Parameters:
      analysisId - (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 -
    • getAnalysisStatusCall

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

      public BaseResponseStatus getAnalysisStatus(@Nonnull Integer analysisId) throws ApiException
      Gets the status of an analysis Given an analysis ID gets the current status of the analysis
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseStatus
      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 -
    • getAnalysisStatusWithHttpInfo

      public ApiResponse<BaseResponseStatus> getAnalysisStatusWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Gets the status of an analysis Given an analysis ID gets the current status of the analysis
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseStatus>
      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 -
    • getAnalysisStatusAsync

      public okhttp3.Call getAnalysisStatusAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseStatus> _callback) throws ApiException
      Gets the status of an analysis (asynchronously) Given an analysis ID gets the current status of the analysis
      Parameters:
      analysisId - (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 -
    • getBinaryAnnCall

      public okhttp3.Call getBinaryAnnCall(@Nonnull Integer analysisId, @Nonnull BinaryAnnForm binaryAnnForm, ApiCallback _callback) throws ApiException
      Build call for getBinaryAnn
      Parameters:
      analysisId - (required)
      binaryAnnForm - (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 -
    • getBinaryAnn

      public BaseResponseBinaryAnnListResponse getBinaryAnn(@Nonnull Integer analysisId, @Nonnull BinaryAnnForm binaryAnnForm) throws ApiException
      Binary Ann Binary Ann
      Parameters:
      analysisId - (required)
      binaryAnnForm - (required)
      Returns:
      BaseResponseBinaryAnnListResponse
      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 -
    • getBinaryAnnWithHttpInfo

      public ApiResponse<BaseResponseBinaryAnnListResponse> getBinaryAnnWithHttpInfo(@Nonnull Integer analysisId, @Nonnull BinaryAnnForm binaryAnnForm) throws ApiException
      Binary Ann Binary Ann
      Parameters:
      analysisId - (required)
      binaryAnnForm - (required)
      Returns:
      ApiResponse<BaseResponseBinaryAnnListResponse>
      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 -
    • getBinaryAnnAsync

      public okhttp3.Call getBinaryAnnAsync(@Nonnull Integer analysisId, @Nonnull BinaryAnnForm binaryAnnForm, ApiCallback<BaseResponseBinaryAnnListResponse> _callback) throws ApiException
      Binary Ann (asynchronously) Binary Ann
      Parameters:
      analysisId - (required)
      binaryAnnForm - (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 -
    • listAnalysesCall

      public okhttp3.Call listAnalysesCall(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatusInput dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order, ApiCallback _callback) throws ApiException
      Build call for listAnalyses
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (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 -
    • listAnalyses

      public BaseResponseRecent listAnalyses(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatusInput dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order) throws ApiException
      Gets the most recent analyses Gets the most recent analyses provided a scope, this is then paginated, if pages and limit doesnt fit, it increases the limit
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (optional)
      Returns:
      BaseResponseRecent
      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 -
    • listAnalysesWithHttpInfo

      public ApiResponse<BaseResponseRecent> listAnalysesWithHttpInfo(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatusInput dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order) throws ApiException
      Gets the most recent analyses Gets the most recent analyses provided a scope, this is then paginated, if pages and limit doesnt fit, it increases the limit
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (optional)
      Returns:
      ApiResponse<BaseResponseRecent>
      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 -
    • listAnalysesAsync

      public okhttp3.Call listAnalysesAsync(@Nullable String searchTerm, @Nullable List<Workspace> workspace, @Nullable List<StatusInput> status, @Nullable List<ModelName> modelName, @Nullable DynamicExecutionStatusInput dynamicExecutionStatus, @Nullable List<String> usernames, @Nullable String sha256Hash, @Nullable Integer limit, @Nullable Integer offset, @Nullable AppApiRestV2AnalysesEnumsOrderBy orderBy, @Nullable Order order, ApiCallback<BaseResponseRecent> _callback) throws ApiException
      Gets the most recent analyses (asynchronously) Gets the most recent analyses provided a scope, this is then paginated, if pages and limit doesnt fit, it increases the limit
      Parameters:
      searchTerm - (optional, default to )
      workspace - The workspace to be viewed (optional)
      status - The status of the analysis (optional)
      modelName - Show analysis belonging to the model (optional)
      dynamicExecutionStatus - Show analysis that have a dynamic execution with the given status (optional)
      usernames - Show analysis belonging to the user (optional)
      sha256Hash - (optional)
      limit - (optional, default to 20)
      offset - (optional, default to 0)
      orderBy - (optional)
      order - (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 -
    • lookupBinaryIdCall

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

      public Object lookupBinaryId(@Nonnull Integer binaryId) throws ApiException
      Gets the analysis ID from binary ID Given an binary ID gets the ID of an analysis
      Parameters:
      binaryId - (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
      200 Successful Response -
      422 Invalid request parameters -
    • lookupBinaryIdWithHttpInfo

      public ApiResponse<Object> lookupBinaryIdWithHttpInfo(@Nonnull Integer binaryId) throws ApiException
      Gets the analysis ID from binary ID Given an binary ID gets the ID of an analysis
      Parameters:
      binaryId - (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
      200 Successful Response -
      422 Invalid request parameters -
    • lookupBinaryIdAsync

      public okhttp3.Call lookupBinaryIdAsync(@Nonnull Integer binaryId, ApiCallback<Object> _callback) throws ApiException
      Gets the analysis ID from binary ID (asynchronously) Given an binary ID gets the ID of an analysis
      Parameters:
      binaryId - (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 -
    • requeueAnalysisCall

      public okhttp3.Call requeueAnalysisCall(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm, ApiCallback _callback) throws ApiException
      Build call for requeueAnalysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (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 -
      404 Not Found -
      400 Bad Request -
    • requeueAnalysis

      public BaseResponseCreated requeueAnalysis(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm) throws ApiException
      Requeue Analysis Re-queues an already uploaded analysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (required)
      Returns:
      BaseResponseCreated
      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 -
      404 Not Found -
      400 Bad Request -
    • requeueAnalysisWithHttpInfo

      public ApiResponse<BaseResponseCreated> requeueAnalysisWithHttpInfo(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm) throws ApiException
      Requeue Analysis Re-queues an already uploaded analysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (required)
      Returns:
      ApiResponse<BaseResponseCreated>
      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 -
      404 Not Found -
      400 Bad Request -
    • requeueAnalysisAsync

      public okhttp3.Call requeueAnalysisAsync(@Nonnull Integer analysisId, @Nonnull ReAnalysisForm reAnalysisForm, ApiCallback<BaseResponseCreated> _callback) throws ApiException
      Requeue Analysis (asynchronously) Re-queues an already uploaded analysis
      Parameters:
      analysisId - (required)
      reAnalysisForm - (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 -
      404 Not Found -
      400 Bad Request -
    • updateAnalysisCall

      public okhttp3.Call updateAnalysisCall(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest, ApiCallback _callback) throws ApiException
      Build call for updateAnalysis
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (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 -
    • updateAnalysis

      public BaseResponseAnalysisDetailResponse updateAnalysis(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest) throws ApiException
      Update Analysis Updates analysis attributes (binary_name, analysis_scope). User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (required)
      Returns:
      BaseResponseAnalysisDetailResponse
      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 -
    • updateAnalysisWithHttpInfo

      public ApiResponse<BaseResponseAnalysisDetailResponse> updateAnalysisWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest) throws ApiException
      Update Analysis Updates analysis attributes (binary_name, analysis_scope). User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (required)
      Returns:
      ApiResponse<BaseResponseAnalysisDetailResponse>
      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 -
    • updateAnalysisAsync

      public okhttp3.Call updateAnalysisAsync(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateRequest analysisUpdateRequest, ApiCallback<BaseResponseAnalysisDetailResponse> _callback) throws ApiException
      Update Analysis (asynchronously) Updates analysis attributes (binary_name, analysis_scope). User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateRequest - (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 -
    • updateAnalysisTagsCall

      public okhttp3.Call updateAnalysisTagsCall(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, ApiCallback _callback) throws ApiException
      Build call for updateAnalysisTags
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (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 -
    • updateAnalysisTags

      public BaseResponseAnalysisUpdateTagsResponse updateAnalysisTags(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest) throws ApiException
      Update Analysis Tags Updates analysis tags. User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (required)
      Returns:
      BaseResponseAnalysisUpdateTagsResponse
      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 -
    • updateAnalysisTagsWithHttpInfo

      public ApiResponse<BaseResponseAnalysisUpdateTagsResponse> updateAnalysisTagsWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest) throws ApiException
      Update Analysis Tags Updates analysis tags. User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (required)
      Returns:
      ApiResponse<BaseResponseAnalysisUpdateTagsResponse>
      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 -
    • updateAnalysisTagsAsync

      public okhttp3.Call updateAnalysisTagsAsync(@Nonnull Integer analysisId, @Nonnull AnalysisUpdateTagsRequest analysisUpdateTagsRequest, ApiCallback<BaseResponseAnalysisUpdateTagsResponse> _callback) throws ApiException
      Update Analysis Tags (asynchronously) Updates analysis tags. User must be the owner.
      Parameters:
      analysisId - (required)
      analysisUpdateTagsRequest - (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 -
    • uploadFileCall

      public okhttp3.Call uploadFileCall(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite, ApiCallback _callback) throws ApiException
      Build call for uploadFile
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      _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 -
    • uploadFile

      public BaseResponseUploadResponse uploadFile(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite) throws ApiException
      Upload File
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      Returns:
      BaseResponseUploadResponse
      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 -
    • uploadFileWithHttpInfo

      public ApiResponse<BaseResponseUploadResponse> uploadFileWithHttpInfo(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite) throws ApiException
      Upload File
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      Returns:
      ApiResponse<BaseResponseUploadResponse>
      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 -
    • uploadFileAsync

      public okhttp3.Call uploadFileAsync(@Nonnull UploadFileType uploadFileType, @Nonnull File _file, @Nullable String packedPassword, @Nullable Boolean forceOverwrite, ApiCallback<BaseResponseUploadResponse> _callback) throws ApiException
      Upload File (asynchronously)
      Parameters:
      uploadFileType - (required)
      _file - (required)
      packedPassword - (optional)
      forceOverwrite - (optional, default to false)
      _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 -