Package ai.reveng.api
Class ConfigApi
java.lang.Object
ai.reveng.api.ConfigApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet Config General configuration endpointokhttp3.CallgetConfigAsync(ApiCallback<BaseResponseConfigResponse> _callback) Get Config (asynchronously) General configuration endpointokhttp3.CallgetConfigCall(ApiCallback _callback) Build call for getConfigGet Config General configuration endpointintvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
ConfigApi
public ConfigApi() -
ConfigApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getConfigCall
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
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
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 -
-