Package ai.reveng.api

Class FirmwareApi

java.lang.Object
ai.reveng.api.FirmwareApi

public class FirmwareApi extends Object
  • Constructor Details

    • FirmwareApi

      public FirmwareApi()
    • FirmwareApi

      public FirmwareApi(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)
    • getBinariesForFirmwareTaskCall

      public okhttp3.Call getBinariesForFirmwareTaskCall(@Nonnull String taskId, ApiCallback _callback) throws ApiException
      Build call for getBinariesForFirmwareTask
      Parameters:
      taskId - (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 -
    • getBinariesForFirmwareTask

      public Object getBinariesForFirmwareTask(@Nonnull String taskId) throws ApiException
      Upload firmware for unpacking Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response.
      Parameters:
      taskId - (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 -
    • getBinariesForFirmwareTaskWithHttpInfo

      public ApiResponse<Object> getBinariesForFirmwareTaskWithHttpInfo(@Nonnull String taskId) throws ApiException
      Upload firmware for unpacking Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response.
      Parameters:
      taskId - (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 -
    • getBinariesForFirmwareTaskAsync

      public okhttp3.Call getBinariesForFirmwareTaskAsync(@Nonnull String taskId, ApiCallback<Object> _callback) throws ApiException
      Upload firmware for unpacking (asynchronously) Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response.
      Parameters:
      taskId - (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 -
    • uploadFirmwareCall

      public okhttp3.Call uploadFirmwareCall(@Nonnull File _file, @Nullable String password, ApiCallback _callback) throws ApiException
      Build call for uploadFirmware
      Parameters:
      _file - (required)
      password - (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
      201 Successful Response -
      422 Invalid request parameters -
    • uploadFirmware

      public Object uploadFirmware(@Nonnull File _file, @Nullable String password) throws ApiException
      Upload firmware for unpacking Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response.
      Parameters:
      _file - (required)
      password - (optional)
      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
      201 Successful Response -
      422 Invalid request parameters -
    • uploadFirmwareWithHttpInfo

      public ApiResponse<Object> uploadFirmwareWithHttpInfo(@Nonnull File _file, @Nullable String password) throws ApiException
      Upload firmware for unpacking Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response.
      Parameters:
      _file - (required)
      password - (optional)
      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
      201 Successful Response -
      422 Invalid request parameters -
    • uploadFirmwareAsync

      public okhttp3.Call uploadFirmwareAsync(@Nonnull File _file, @Nullable String password, ApiCallback<Object> _callback) throws ApiException
      Upload firmware for unpacking (asynchronously) Uploads a firmware file and begins a 'Firmware Unpacker' task. Returns a result identifier, which can be used to poll for the response.
      Parameters:
      _file - (required)
      password - (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
      201 Successful Response -
      422 Invalid request parameters -