Package ai.reveng.api

Class ConfidenceApi

java.lang.Object
ai.reveng.api.ConfidenceApi

public class ConfidenceApi extends Object
  • Constructor Details

    • ConfidenceApi

      public ConfidenceApi()
    • ConfidenceApi

      public ConfidenceApi(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)
    • getAnalysisTagScoreCall

      public okhttp3.Call getAnalysisTagScoreCall(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody, ApiCallback _callback) throws ApiException
      Build call for getAnalysisTagScore
      Parameters:
      analysisId - The analysis to calculate the tag scores for (required)
      tagConfidenceBody - (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 -
    • getAnalysisTagScore

      public BaseResponseListTagOriginBoxPlotConfidence getAnalysisTagScore(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody) throws ApiException
      Calculate Tag Confidence Score for an Analysis Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
      Parameters:
      analysisId - The analysis to calculate the tag scores for (required)
      tagConfidenceBody - (required)
      Returns:
      BaseResponseListTagOriginBoxPlotConfidence
      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 -
    • getAnalysisTagScoreWithHttpInfo

      public ApiResponse<BaseResponseListTagOriginBoxPlotConfidence> getAnalysisTagScoreWithHttpInfo(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody) throws ApiException
      Calculate Tag Confidence Score for an Analysis Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
      Parameters:
      analysisId - The analysis to calculate the tag scores for (required)
      tagConfidenceBody - (required)
      Returns:
      ApiResponse<BaseResponseListTagOriginBoxPlotConfidence>
      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 -
    • getAnalysisTagScoreAsync

      public okhttp3.Call getAnalysisTagScoreAsync(@Nonnull Integer analysisId, @Nonnull TagConfidenceBody tagConfidenceBody, ApiCallback<BaseResponseListTagOriginBoxPlotConfidence> _callback) throws ApiException
      Calculate Tag Confidence Score for an Analysis (asynchronously) Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
      Parameters:
      analysisId - The analysis to calculate the tag scores for (required)
      tagConfidenceBody - (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 -
    • getAnalysisThreatScoreCall

      public okhttp3.Call getAnalysisThreatScoreCall(@Nonnull Integer analysisId, ApiCallback _callback) throws ApiException
      Build call for getAnalysisThreatScore
      Parameters:
      analysisId - The analysis to calculate the threat score 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 Successful Response -
      422 Invalid request parameters -
    • getAnalysisThreatScore

      public BaseResponseBoxPlotConfidence getAnalysisThreatScore(@Nonnull Integer analysisId) throws ApiException
      Calculate Threat Score for Binary Accepts a binary ID and returns the threat score for that binary
      Parameters:
      analysisId - The analysis to calculate the threat score for (required)
      Returns:
      BaseResponseBoxPlotConfidence
      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 -
    • getAnalysisThreatScoreWithHttpInfo

      public ApiResponse<BaseResponseBoxPlotConfidence> getAnalysisThreatScoreWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Calculate Threat Score for Binary Accepts a binary ID and returns the threat score for that binary
      Parameters:
      analysisId - The analysis to calculate the threat score for (required)
      Returns:
      ApiResponse<BaseResponseBoxPlotConfidence>
      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 -
    • getAnalysisThreatScoreAsync

      public okhttp3.Call getAnalysisThreatScoreAsync(@Nonnull Integer analysisId, ApiCallback<BaseResponseBoxPlotConfidence> _callback) throws ApiException
      Calculate Threat Score for Binary (asynchronously) Accepts a binary ID and returns the threat score for that binary
      Parameters:
      analysisId - The analysis to calculate the threat score 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 Successful Response -
      422 Invalid request parameters -
    • getFunctionsNameScoreCall

      public okhttp3.Call getFunctionsNameScoreCall(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody, ApiCallback _callback) throws ApiException
      Build call for getFunctionsNameScore
      Parameters:
      functionNameConfidenceBody - (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 -
    • getFunctionsNameScore

      public BaseResponseListFunctionBoxPlotConfidence getFunctionsNameScore(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody) throws ApiException
      Calculate function name confidence for a set of Functions Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function. Each function must be from the same model, or you may find some functions missing in the return.
      Parameters:
      functionNameConfidenceBody - (required)
      Returns:
      BaseResponseListFunctionBoxPlotConfidence
      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 -
    • getFunctionsNameScoreWithHttpInfo

      public ApiResponse<BaseResponseListFunctionBoxPlotConfidence> getFunctionsNameScoreWithHttpInfo(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody) throws ApiException
      Calculate function name confidence for a set of Functions Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function. Each function must be from the same model, or you may find some functions missing in the return.
      Parameters:
      functionNameConfidenceBody - (required)
      Returns:
      ApiResponse<BaseResponseListFunctionBoxPlotConfidence>
      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 -
    • getFunctionsNameScoreAsync

      public okhttp3.Call getFunctionsNameScoreAsync(@Nonnull FunctionNameConfidenceBody functionNameConfidenceBody, ApiCallback<BaseResponseListFunctionBoxPlotConfidence> _callback) throws ApiException
      Calculate function name confidence for a set of Functions (asynchronously) Accepts a list of function ids mapped to a function name, for each function we return a confidence score in that being the correct name for each function. Each function must be from the same model, or you may find some functions missing in the return.
      Parameters:
      functionNameConfidenceBody - (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 -
    • getFunctionsThreatScoreCall

      public okhttp3.Call getFunctionsThreatScoreCall(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody, ApiCallback _callback) throws ApiException
      Build call for getFunctionsThreatScore
      Parameters:
      threatScoreFunctionBody - (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 -
    • getFunctionsThreatScore

      public BaseResponseListFunctionBoxPlotConfidence getFunctionsThreatScore(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody) throws ApiException
      Calculate Threat Score for a set of Functions Accepts a list of function ids and returns the threat score for each function. Each function must be from the same model, or you may find some functions missing in the return.
      Parameters:
      threatScoreFunctionBody - (required)
      Returns:
      BaseResponseListFunctionBoxPlotConfidence
      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 -
    • getFunctionsThreatScoreWithHttpInfo

      public ApiResponse<BaseResponseListFunctionBoxPlotConfidence> getFunctionsThreatScoreWithHttpInfo(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody) throws ApiException
      Calculate Threat Score for a set of Functions Accepts a list of function ids and returns the threat score for each function. Each function must be from the same model, or you may find some functions missing in the return.
      Parameters:
      threatScoreFunctionBody - (required)
      Returns:
      ApiResponse<BaseResponseListFunctionBoxPlotConfidence>
      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 -
    • getFunctionsThreatScoreAsync

      public okhttp3.Call getFunctionsThreatScoreAsync(@Nonnull ThreatScoreFunctionBody threatScoreFunctionBody, ApiCallback<BaseResponseListFunctionBoxPlotConfidence> _callback) throws ApiException
      Calculate Threat Score for a set of Functions (asynchronously) Accepts a list of function ids and returns the threat score for each function. Each function must be from the same model, or you may find some functions missing in the return.
      Parameters:
      threatScoreFunctionBody - (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 -