Package ai.reveng.api

Class ExternalSourcesApi

java.lang.Object
ai.reveng.api.ExternalSourcesApi

public class ExternalSourcesApi extends Object
  • Constructor Details

    • ExternalSourcesApi

      public ExternalSourcesApi()
    • ExternalSourcesApi

      public ExternalSourcesApi(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)
    • createExternalTaskMbCall

      public okhttp3.Call createExternalTaskMbCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for createExternalTaskMb
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • createExternalTaskMb

      public BaseResponseStr createExternalTaskMb(@Nonnull Integer analysisId) throws ApiException
      Pulls data from VirusTotal
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseStr
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • createExternalTaskMbWithHttpInfo

      public ApiResponse<BaseResponseStr> createExternalTaskMbWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Pulls data from VirusTotal
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseStr>
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • createExternalTaskMbAsync

      public okhttp3.Call createExternalTaskMbAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseStr> _callback) throws ApiException
      Pulls data from VirusTotal (asynchronously)
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • createExternalTaskVtCall

      public okhttp3.Call createExternalTaskVtCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for createExternalTaskVt
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • createExternalTaskVt

      public BaseResponseStr createExternalTaskVt(@Nonnull Integer analysisId) throws ApiException
      Pulls data from VirusTotal
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseStr
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • createExternalTaskVtWithHttpInfo

      public ApiResponse<BaseResponseStr> createExternalTaskVtWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Pulls data from VirusTotal
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseStr>
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • createExternalTaskVtAsync

      public okhttp3.Call createExternalTaskVtAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseStr> _callback) throws ApiException
      Pulls data from VirusTotal (asynchronously)
      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
      202 Successful Response -
      422 Invalid request parameters -
      409 Request already queued -
    • getMbDataCall

      public okhttp3.Call getMbDataCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getMbData
      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 No data retrieved from MalwareBazaar for the given analysis_id -
    • getMbData

      public BaseResponseExternalResponse getMbData(@Nonnull Integer analysisId) throws ApiException
      Get MalwareBazaar data
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseExternalResponse
      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 No data retrieved from MalwareBazaar for the given analysis_id -
    • getMbDataWithHttpInfo

      public ApiResponse<BaseResponseExternalResponse> getMbDataWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Get MalwareBazaar data
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseExternalResponse>
      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 No data retrieved from MalwareBazaar for the given analysis_id -
    • getMbDataAsync

      public okhttp3.Call getMbDataAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseExternalResponse> _callback) throws ApiException
      Get MalwareBazaar data (asynchronously)
      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 No data retrieved from MalwareBazaar for the given analysis_id -
    • getMbTaskStatusCall

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

      public BaseResponseTaskResponse getMbTaskStatus(@Nonnull Integer analysisId) throws ApiException
      Check the status of MalwareBazaar data retrieval
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseTaskResponse
      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 -
    • getMbTaskStatusWithHttpInfo

      public ApiResponse<BaseResponseTaskResponse> getMbTaskStatusWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Check the status of MalwareBazaar data retrieval
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseTaskResponse>
      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 -
    • getMbTaskStatusAsync

      public okhttp3.Call getMbTaskStatusAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseTaskResponse> _callback) throws ApiException
      Check the status of MalwareBazaar data retrieval (asynchronously)
      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 -
    • getVtDataCall

      public okhttp3.Call getVtDataCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getVtData
      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 No data retrieved from VirusTotal for the given analysis_id -
    • getVtData

      public BaseResponseExternalResponse getVtData(@Nonnull Integer analysisId) throws ApiException
      Get VirusTotal data
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseExternalResponse
      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 No data retrieved from VirusTotal for the given analysis_id -
    • getVtDataWithHttpInfo

      public ApiResponse<BaseResponseExternalResponse> getVtDataWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Get VirusTotal data
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseExternalResponse>
      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 No data retrieved from VirusTotal for the given analysis_id -
    • getVtDataAsync

      public okhttp3.Call getVtDataAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseExternalResponse> _callback) throws ApiException
      Get VirusTotal data (asynchronously)
      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 No data retrieved from VirusTotal for the given analysis_id -
    • getVtTaskStatusCall

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

      public BaseResponseTaskResponse getVtTaskStatus(@Nonnull Integer analysisId) throws ApiException
      Check the status of VirusTotal data retrieval
      Parameters:
      analysisId - (required)
      Returns:
      BaseResponseTaskResponse
      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 -
    • getVtTaskStatusWithHttpInfo

      public ApiResponse<BaseResponseTaskResponse> getVtTaskStatusWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Check the status of VirusTotal data retrieval
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<BaseResponseTaskResponse>
      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 -
    • getVtTaskStatusAsync

      public okhttp3.Call getVtTaskStatusAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseTaskResponse> _callback) throws ApiException
      Check the status of VirusTotal data retrieval (asynchronously)
      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 -