Package ai.reveng.api

Class FunctionsCoreApi

java.lang.Object
ai.reveng.api.FunctionsCoreApi

public class FunctionsCoreApi extends Object
  • Constructor Details

    • FunctionsCoreApi

      public FunctionsCoreApi()
    • FunctionsCoreApi

      public FunctionsCoreApi(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)
    • aiUnstripCall

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

      public AutoUnstripResponse aiUnstrip(@Nonnull Integer analysisId, @Nonnull AiUnstripRequest aiUnstripRequest) throws ApiException
      Performs matching and auto-unstrip for an analysis and its functions Takes in the analysis ID, uses the functions ID's from it and settings to find the nearest function groups for each function that's within the system
      Parameters:
      analysisId - (required)
      aiUnstripRequest - (required)
      Returns:
      AutoUnstripResponse
      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 -
    • aiUnstripWithHttpInfo

      public ApiResponse<AutoUnstripResponse> aiUnstripWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AiUnstripRequest aiUnstripRequest) throws ApiException
      Performs matching and auto-unstrip for an analysis and its functions Takes in the analysis ID, uses the functions ID's from it and settings to find the nearest function groups for each function that's within the system
      Parameters:
      analysisId - (required)
      aiUnstripRequest - (required)
      Returns:
      ApiResponse<AutoUnstripResponse>
      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 -
    • aiUnstripAsync

      public okhttp3.Call aiUnstripAsync(@Nonnull Integer analysisId, @Nonnull AiUnstripRequest aiUnstripRequest, ApiCallback<AutoUnstripResponse> _callback) throws ApiException
      Performs matching and auto-unstrip for an analysis and its functions (asynchronously) Takes in the analysis ID, uses the functions ID's from it and settings to find the nearest function groups for each function that's within the system
      Parameters:
      analysisId - (required)
      aiUnstripRequest - (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 -
    • analysisFunctionMatchingCall

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

      public FunctionMatchingBatchResponse analysisFunctionMatching(@Nonnull Integer analysisId, @Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest) throws ApiException
      Perform matching for the functions of an analysis Takes in an analysis id and settings and matches the nearest functions to the ones associated with it. Results can optionally be filtered by collection, binary, debug type or (other) function ids
      Parameters:
      analysisId - (required)
      analysisFunctionMatchingRequest - (required)
      Returns:
      FunctionMatchingBatchResponse
      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 -
    • analysisFunctionMatchingWithHttpInfo

      public ApiResponse<FunctionMatchingBatchResponse> analysisFunctionMatchingWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest) throws ApiException
      Perform matching for the functions of an analysis Takes in an analysis id and settings and matches the nearest functions to the ones associated with it. Results can optionally be filtered by collection, binary, debug type or (other) function ids
      Parameters:
      analysisId - (required)
      analysisFunctionMatchingRequest - (required)
      Returns:
      ApiResponse<FunctionMatchingBatchResponse>
      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 -
    • analysisFunctionMatchingAsync

      public okhttp3.Call analysisFunctionMatchingAsync(@Nonnull Integer analysisId, @Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest, ApiCallback<FunctionMatchingBatchResponse> _callback) throws ApiException
      Perform matching for the functions of an analysis (asynchronously) Takes in an analysis id and settings and matches the nearest functions to the ones associated with it. Results can optionally be filtered by collection, binary, debug type or (other) function ids
      Parameters:
      analysisId - (required)
      analysisFunctionMatchingRequest - (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 -
    • autoUnstripCall

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

      public AutoUnstripResponse autoUnstrip(@Nonnull Integer analysisId, @Nonnull AutoUnstripRequest autoUnstripRequest) throws ApiException
      Performs matching and auto-unstrip for an analysis and its functions Takes in the analysis ID, uses the functions ID's from it and settings to find the nearest function for each function that's within the system
      Parameters:
      analysisId - (required)
      autoUnstripRequest - (required)
      Returns:
      AutoUnstripResponse
      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 -
    • autoUnstripWithHttpInfo

      public ApiResponse<AutoUnstripResponse> autoUnstripWithHttpInfo(@Nonnull Integer analysisId, @Nonnull AutoUnstripRequest autoUnstripRequest) throws ApiException
      Performs matching and auto-unstrip for an analysis and its functions Takes in the analysis ID, uses the functions ID's from it and settings to find the nearest function for each function that's within the system
      Parameters:
      analysisId - (required)
      autoUnstripRequest - (required)
      Returns:
      ApiResponse<AutoUnstripResponse>
      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 -
    • autoUnstripAsync

      public okhttp3.Call autoUnstripAsync(@Nonnull Integer analysisId, @Nonnull AutoUnstripRequest autoUnstripRequest, ApiCallback<AutoUnstripResponse> _callback) throws ApiException
      Performs matching and auto-unstrip for an analysis and its functions (asynchronously) Takes in the analysis ID, uses the functions ID's from it and settings to find the nearest function for each function that's within the system
      Parameters:
      analysisId - (required)
      autoUnstripRequest - (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 -
    • batchFunctionMatchingCall

      public okhttp3.Call batchFunctionMatchingCall(@Nonnull FunctionMatchingRequest functionMatchingRequest, ApiCallback _callback) throws ApiException
      Build call for batchFunctionMatching
      Parameters:
      functionMatchingRequest - (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 -
    • batchFunctionMatching

      public FunctionMatchingBatchResponse batchFunctionMatching(@Nonnull FunctionMatchingRequest functionMatchingRequest) throws ApiException
      Perform function matching for an arbitrary batch of functions, binaries or collections Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the system
      Parameters:
      functionMatchingRequest - (required)
      Returns:
      FunctionMatchingBatchResponse
      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 -
    • batchFunctionMatchingWithHttpInfo

      public ApiResponse<FunctionMatchingBatchResponse> batchFunctionMatchingWithHttpInfo(@Nonnull FunctionMatchingRequest functionMatchingRequest) throws ApiException
      Perform function matching for an arbitrary batch of functions, binaries or collections Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the system
      Parameters:
      functionMatchingRequest - (required)
      Returns:
      ApiResponse<FunctionMatchingBatchResponse>
      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 -
    • batchFunctionMatchingAsync

      public okhttp3.Call batchFunctionMatchingAsync(@Nonnull FunctionMatchingRequest functionMatchingRequest, ApiCallback<FunctionMatchingBatchResponse> _callback) throws ApiException
      Perform function matching for an arbitrary batch of functions, binaries or collections (asynchronously) Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the system
      Parameters:
      functionMatchingRequest - (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 -
    • cancelAiUnstripCall

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

      public AutoUnstripResponse cancelAiUnstrip(@Nonnull Integer analysisId) throws ApiException
      Cancels a running ai-unstrip Takes in the analysis ID and cancels a running ai-unstrip operation
      Parameters:
      analysisId - (required)
      Returns:
      AutoUnstripResponse
      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 -
    • cancelAiUnstripWithHttpInfo

      public ApiResponse<AutoUnstripResponse> cancelAiUnstripWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Cancels a running ai-unstrip Takes in the analysis ID and cancels a running ai-unstrip operation
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<AutoUnstripResponse>
      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 -
    • cancelAiUnstripAsync

      public okhttp3.Call cancelAiUnstripAsync(@Nonnull Integer analysisId, ApiCallback<AutoUnstripResponse> _callback) throws ApiException
      Cancels a running ai-unstrip (asynchronously) Takes in the analysis ID and cancels a running ai-unstrip operation
      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 -
    • cancelAutoUnstripCall

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

      public AutoUnstripResponse cancelAutoUnstrip(@Nonnull Integer analysisId) throws ApiException
      Cancels a running auto-unstrip Takes in the analysis ID and cancels a running auto-unstrip operation
      Parameters:
      analysisId - (required)
      Returns:
      AutoUnstripResponse
      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 -
    • cancelAutoUnstripWithHttpInfo

      public ApiResponse<AutoUnstripResponse> cancelAutoUnstripWithHttpInfo(@Nonnull Integer analysisId) throws ApiException
      Cancels a running auto-unstrip Takes in the analysis ID and cancels a running auto-unstrip operation
      Parameters:
      analysisId - (required)
      Returns:
      ApiResponse<AutoUnstripResponse>
      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 -
    • cancelAutoUnstripAsync

      public okhttp3.Call cancelAutoUnstripAsync(@Nonnull Integer analysisId, ApiCallback<AutoUnstripResponse> _callback) throws ApiException
      Cancels a running auto-unstrip (asynchronously) Takes in the analysis ID and cancels a running auto-unstrip operation
      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 -
    • getAnalysisStringsCall

      public okhttp3.Call getAnalysisStringsCall(@Nonnull Integer analysisId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search, @Nullable String functionSearch, ApiCallback _callback) throws ApiException
      Build call for getAnalysisStrings
      Parameters:
      analysisId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (optional)
      functionSearch - Search is applied to function names (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 -
    • getAnalysisStrings

      public BaseResponseAnalysisStringsResponse getAnalysisStrings(@Nonnull Integer analysisId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search, @Nullable String functionSearch) throws ApiException
      Get string information found in the Analysis Get string information found in the analysis
      Parameters:
      analysisId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (optional)
      functionSearch - Search is applied to function names (optional)
      Returns:
      BaseResponseAnalysisStringsResponse
      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 -
    • getAnalysisStringsWithHttpInfo

      public ApiResponse<BaseResponseAnalysisStringsResponse> getAnalysisStringsWithHttpInfo(@Nonnull Integer analysisId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search, @Nullable String functionSearch) throws ApiException
      Get string information found in the Analysis Get string information found in the analysis
      Parameters:
      analysisId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (optional)
      functionSearch - Search is applied to function names (optional)
      Returns:
      ApiResponse<BaseResponseAnalysisStringsResponse>
      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 -
    • getAnalysisStringsAsync

      public okhttp3.Call getAnalysisStringsAsync(@Nonnull Integer analysisId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search, @Nullable String functionSearch, ApiCallback<BaseResponseAnalysisStringsResponse> _callback) throws ApiException
      Get string information found in the Analysis (asynchronously) Get string information found in the analysis
      Parameters:
      analysisId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (optional)
      functionSearch - Search is applied to function names (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 -
    • getFunctionBlocksCall

      public okhttp3.Call getFunctionBlocksCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException
      Build call for getFunctionBlocks
      Parameters:
      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 -
      404 Not Found -
    • getFunctionBlocks

      public BaseResponseFunctionBlocksResponse getFunctionBlocks(@Nonnull Integer functionId) throws ApiException
      Get disassembly blocks related to the function Get disassembly blocks related to the function
      Parameters:
      functionId - (required)
      Returns:
      BaseResponseFunctionBlocksResponse
      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 -
    • getFunctionBlocksWithHttpInfo

      public ApiResponse<BaseResponseFunctionBlocksResponse> getFunctionBlocksWithHttpInfo(@Nonnull Integer functionId) throws ApiException
      Get disassembly blocks related to the function Get disassembly blocks related to the function
      Parameters:
      functionId - (required)
      Returns:
      ApiResponse<BaseResponseFunctionBlocksResponse>
      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 -
    • getFunctionBlocksAsync

      public okhttp3.Call getFunctionBlocksAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseFunctionBlocksResponse> _callback) throws ApiException
      Get disassembly blocks related to the function (asynchronously) Get disassembly blocks related to the function
      Parameters:
      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 -
      404 Not Found -
    • getFunctionCalleesCallersCall

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

      public BaseResponseCalleesCallerFunctionsResponse getFunctionCalleesCallers(@Nonnull Integer functionId) throws ApiException
      Get list of functions that call or are called by the specified function
      Parameters:
      functionId - (required)
      Returns:
      BaseResponseCalleesCallerFunctionsResponse
      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 -
    • getFunctionCalleesCallersWithHttpInfo

      public ApiResponse<BaseResponseCalleesCallerFunctionsResponse> getFunctionCalleesCallersWithHttpInfo(@Nonnull Integer functionId) throws ApiException
      Get list of functions that call or are called by the specified function
      Parameters:
      functionId - (required)
      Returns:
      ApiResponse<BaseResponseCalleesCallerFunctionsResponse>
      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 -
    • getFunctionCalleesCallersAsync

      public okhttp3.Call getFunctionCalleesCallersAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseCalleesCallerFunctionsResponse> _callback) throws ApiException
      Get list of functions that call or are called by the specified function (asynchronously)
      Parameters:
      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 -
    • getFunctionCapabilitiesCall

      public okhttp3.Call getFunctionCapabilitiesCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException
      Build call for getFunctionCapabilities
      Parameters:
      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 -
      404 Not Found -
    • getFunctionCapabilities

      public BaseResponseFunctionCapabilityResponse getFunctionCapabilities(@Nonnull Integer functionId) throws ApiException
      Retrieve a functions capabilities
      Parameters:
      functionId - (required)
      Returns:
      BaseResponseFunctionCapabilityResponse
      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 -
    • getFunctionCapabilitiesWithHttpInfo

      public ApiResponse<BaseResponseFunctionCapabilityResponse> getFunctionCapabilitiesWithHttpInfo(@Nonnull Integer functionId) throws ApiException
      Retrieve a functions capabilities
      Parameters:
      functionId - (required)
      Returns:
      ApiResponse<BaseResponseFunctionCapabilityResponse>
      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 -
    • getFunctionCapabilitiesAsync

      public okhttp3.Call getFunctionCapabilitiesAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseFunctionCapabilityResponse> _callback) throws ApiException
      Retrieve a functions capabilities (asynchronously)
      Parameters:
      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 -
      404 Not Found -
    • getFunctionDetailsCall

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

      public BaseResponseFunctionsDetailResponse getFunctionDetails(@Nonnull Integer functionId) throws ApiException
      Get function details
      Parameters:
      functionId - (required)
      Returns:
      BaseResponseFunctionsDetailResponse
      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 -
    • getFunctionDetailsWithHttpInfo

      public ApiResponse<BaseResponseFunctionsDetailResponse> getFunctionDetailsWithHttpInfo(@Nonnull Integer functionId) throws ApiException
      Get function details
      Parameters:
      functionId - (required)
      Returns:
      ApiResponse<BaseResponseFunctionsDetailResponse>
      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 -
    • getFunctionDetailsAsync

      public okhttp3.Call getFunctionDetailsAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseFunctionsDetailResponse> _callback) throws ApiException
      Get function details (asynchronously)
      Parameters:
      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 -
    • getFunctionStringsCall

      public okhttp3.Call getFunctionStringsCall(@Nonnull Integer functionId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search, ApiCallback _callback) throws ApiException
      Build call for getFunctionStrings
      Parameters:
      functionId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (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 -
    • getFunctionStrings

      public BaseResponseFunctionStringsResponse getFunctionStrings(@Nonnull Integer functionId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search) throws ApiException
      Get string information found in the function Get string information found in the function
      Parameters:
      functionId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (optional)
      Returns:
      BaseResponseFunctionStringsResponse
      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 -
    • getFunctionStringsWithHttpInfo

      public ApiResponse<BaseResponseFunctionStringsResponse> getFunctionStringsWithHttpInfo(@Nonnull Integer functionId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search) throws ApiException
      Get string information found in the function Get string information found in the function
      Parameters:
      functionId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (optional)
      Returns:
      ApiResponse<BaseResponseFunctionStringsResponse>
      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 -
    • getFunctionStringsAsync

      public okhttp3.Call getFunctionStringsAsync(@Nonnull Integer functionId, @Nullable Integer page, @Nullable Integer pageSize, @Nullable String search, ApiCallback<BaseResponseFunctionStringsResponse> _callback) throws ApiException
      Get string information found in the function (asynchronously) Get string information found in the function
      Parameters:
      functionId - (required)
      page - The page number to retrieve. (optional, default to 1)
      pageSize - Number of items per page. (optional, default to 100)
      search - Search is applied to string value (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 -
    • getSimilarFunctionsCall

      public okhttp3.Call getSimilarFunctionsCall(@Nonnull Integer functionId, @Nullable Integer limit, @Nullable BigDecimal distance, @Nullable List<Integer> collectionIds, @Nullable Boolean debug, @Nullable List<String> debugTypes, @Nullable List<Integer> binaryIds, ApiCallback _callback) throws ApiException
      Build call for getSimilarFunctions
      Parameters:
      functionId - (required)
      limit - Number of similar functions to return (optional, default to 20)
      distance - Maximum cosine distance (optional, default to 1.0)
      collectionIds - Collection filtering by IDs (optional)
      debug - Only return matching debug functions (optional, default to false)
      debugTypes - If limiting results to functions with debug names, which type of debug names to include? (optional)
      binaryIds - Limit similar functions to specific binaries (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 -
    • getSimilarFunctions

      public BaseResponseListSimilarFunctionsResponse getSimilarFunctions(@Nonnull Integer functionId, @Nullable Integer limit, @Nullable BigDecimal distance, @Nullable List<Integer> collectionIds, @Nullable Boolean debug, @Nullable List<String> debugTypes, @Nullable List<Integer> binaryIds) throws ApiException
      Get list of similar functions
      Parameters:
      functionId - (required)
      limit - Number of similar functions to return (optional, default to 20)
      distance - Maximum cosine distance (optional, default to 1.0)
      collectionIds - Collection filtering by IDs (optional)
      debug - Only return matching debug functions (optional, default to false)
      debugTypes - If limiting results to functions with debug names, which type of debug names to include? (optional)
      binaryIds - Limit similar functions to specific binaries (optional)
      Returns:
      BaseResponseListSimilarFunctionsResponse
      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 -
    • getSimilarFunctionsWithHttpInfo

      public ApiResponse<BaseResponseListSimilarFunctionsResponse> getSimilarFunctionsWithHttpInfo(@Nonnull Integer functionId, @Nullable Integer limit, @Nullable BigDecimal distance, @Nullable List<Integer> collectionIds, @Nullable Boolean debug, @Nullable List<String> debugTypes, @Nullable List<Integer> binaryIds) throws ApiException
      Get list of similar functions
      Parameters:
      functionId - (required)
      limit - Number of similar functions to return (optional, default to 20)
      distance - Maximum cosine distance (optional, default to 1.0)
      collectionIds - Collection filtering by IDs (optional)
      debug - Only return matching debug functions (optional, default to false)
      debugTypes - If limiting results to functions with debug names, which type of debug names to include? (optional)
      binaryIds - Limit similar functions to specific binaries (optional)
      Returns:
      ApiResponse<BaseResponseListSimilarFunctionsResponse>
      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 -
    • getSimilarFunctionsAsync

      public okhttp3.Call getSimilarFunctionsAsync(@Nonnull Integer functionId, @Nullable Integer limit, @Nullable BigDecimal distance, @Nullable List<Integer> collectionIds, @Nullable Boolean debug, @Nullable List<String> debugTypes, @Nullable List<Integer> binaryIds, ApiCallback<BaseResponseListSimilarFunctionsResponse> _callback) throws ApiException
      Get list of similar functions (asynchronously)
      Parameters:
      functionId - (required)
      limit - Number of similar functions to return (optional, default to 20)
      distance - Maximum cosine distance (optional, default to 1.0)
      collectionIds - Collection filtering by IDs (optional)
      debug - Only return matching debug functions (optional, default to false)
      debugTypes - If limiting results to functions with debug names, which type of debug names to include? (optional)
      binaryIds - Limit similar functions to specific binaries (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 -