Package ai.reveng.api

Class ConfigApi

java.lang.Object
ai.reveng.api.ConfigApi

public class ConfigApi extends Object
  • Constructor Details

    • ConfigApi

      public ConfigApi()
    • ConfigApi

      public ConfigApi(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)
    • getConfigCall

      public okhttp3.Call getConfigCall(ApiCallback _callback) throws ApiException
      Build call for getConfig
      Parameters:
      _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 -
    • getConfig

      public BaseResponseConfigResponse getConfig() throws ApiException
      Get Config General configuration endpoint
      Returns:
      BaseResponseConfigResponse
      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 -
    • getConfigWithHttpInfo

      public ApiResponse<BaseResponseConfigResponse> getConfigWithHttpInfo() throws ApiException
      Get Config General configuration endpoint
      Returns:
      ApiResponse<BaseResponseConfigResponse>
      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 -
    • getConfigAsync

      public okhttp3.Call getConfigAsync(ApiCallback<BaseResponseConfigResponse> _callback) throws ApiException
      Get Config (asynchronously) General configuration endpoint
      Parameters:
      _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 -