public class ClientsApi
extends java.lang.Object
| Constructor and Description |
|---|
ClientsApi() |
ClientsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ClientData |
create(ClientData body)
Creates client
|
com.squareup.okhttp.Call |
createAsync(ClientData body,
ApiCallback<ClientData> callback)
Creates client (asynchronously)
|
ApiResponse<ClientData> |
createWithHttpInfo(ClientData body)
Creates client
|
ClientData |
get_0(java.lang.String id)
Gets client by id
|
com.squareup.okhttp.Call |
get_0Async(java.lang.String id,
ApiCallback<ClientData> callback)
Gets client by id (asynchronously)
|
ApiResponse<ClientData> |
get_0WithHttpInfo(java.lang.String id)
Gets client by id
|
PagedClientData |
get()
Gets all clients which might be taken by current client
|
ApiClient |
getApiClient() |
com.squareup.okhttp.Call |
getAsync(ApiCallback<PagedClientData> callback)
Gets all clients which might be taken by current client (asynchronously)
|
ApiResponse<PagedClientData> |
getWithHttpInfo()
Gets all clients which might be taken by current client
|
void |
remove(java.lang.String id)
Deletes a client
|
com.squareup.okhttp.Call |
removeAsync(java.lang.String id,
ApiCallback<java.lang.Void> callback)
Deletes a client (asynchronously)
|
ApiResponse<java.lang.Void> |
removeWithHttpInfo(java.lang.String id)
Deletes a client
|
void |
setApiClient(ApiClient apiClient) |
ClientData |
update(java.lang.String id,
ClientData body)
Updtes client
|
com.squareup.okhttp.Call |
updateAsync(java.lang.String id,
ClientData body,
ApiCallback<ClientData> callback)
Updtes client (asynchronously)
|
ApiResponse<ClientData> |
updateWithHttpInfo(java.lang.String id,
ClientData body)
Updtes client
|
public ClientsApi()
public ClientsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ClientData create(ClientData body) throws ApiException
body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ClientData> createWithHttpInfo(ClientData body) throws ApiException
body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAsync(ClientData body, ApiCallback<ClientData> callback) throws ApiException
body - (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic PagedClientData get() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PagedClientData> getWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAsync(ApiCallback<PagedClientData> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic ClientData get_0(java.lang.String id) throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ClientData> get_0WithHttpInfo(java.lang.String id) throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call get_0Async(java.lang.String id,
ApiCallback<ClientData> callback)
throws ApiException
id - (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 objectpublic void remove(java.lang.String id)
throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> removeWithHttpInfo(java.lang.String id) throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeAsync(java.lang.String id,
ApiCallback<java.lang.Void> callback)
throws ApiException
id - (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 objectpublic ClientData update(java.lang.String id, ClientData body) throws ApiException
id - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ClientData> updateWithHttpInfo(java.lang.String id, ClientData body) throws ApiException
id - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateAsync(java.lang.String id,
ClientData body,
ApiCallback<ClientData> callback)
throws ApiException
id - (required)body - (optional)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