public class ErrorsApi
extends java.lang.Object
| Constructor and Description |
|---|
ErrorsApi() |
ErrorsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ErrorDescription |
get(java.lang.Integer status,
java.lang.String code)
Returns a description of error returned by service
|
ApiClient |
getApiClient() |
com.squareup.okhttp.Call |
getAsync(java.lang.Integer status,
java.lang.String code,
ApiCallback<ErrorDescription> callback)
Returns a description of error returned by service (asynchronously)
|
ApiResponse<ErrorDescription> |
getWithHttpInfo(java.lang.Integer status,
java.lang.String code)
Returns a description of error returned by service
|
void |
setApiClient(ApiClient apiClient) |
public ErrorsApi()
public ErrorsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ErrorDescription get(java.lang.Integer status, java.lang.String code) throws ApiException
status - (required)code - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ErrorDescription> getWithHttpInfo(java.lang.Integer status, java.lang.String code) throws ApiException
status - (required)code - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAsync(java.lang.Integer status,
java.lang.String code,
ApiCallback<ErrorDescription> callback)
throws ApiException
status - (required)code - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object