public class ClientApi
extends java.lang.Object
| Constructor and Description |
|---|
ClientApi() |
ClientApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Client |
addClient(Client client)
Register a new client
|
com.squareup.okhttp.Call |
addClientAsync(Client client,
ApiCallback<Client> callback)
Register a new client (asynchronously)
|
com.squareup.okhttp.Call |
addClientCall(Client client,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addClient
|
PublicKey |
addClientPublicKey(java.lang.String clientId,
PublicKey newPublicKey)
Register a new public key for the client
|
com.squareup.okhttp.Call |
addClientPublicKeyAsync(java.lang.String clientId,
PublicKey newPublicKey,
ApiCallback<PublicKey> callback)
Register a new public key for the client (asynchronously)
|
com.squareup.okhttp.Call |
addClientPublicKeyCall(java.lang.String clientId,
PublicKey newPublicKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addClientPublicKey
|
ApiResponse<PublicKey> |
addClientPublicKeyWithHttpInfo(java.lang.String clientId,
PublicKey newPublicKey)
Register a new public key for the client
|
ApiResponse<Client> |
addClientWithHttpInfo(Client client)
Register a new client
|
Client |
deleteClient(java.lang.String clientId)
Remove an existing organization
|
com.squareup.okhttp.Call |
deleteClientAsync(java.lang.String clientId,
ApiCallback<Client> callback)
Remove an existing organization (asynchronously)
|
com.squareup.okhttp.Call |
deleteClientCall(java.lang.String clientId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteClient
|
ApiResponse<Client> |
deleteClientWithHttpInfo(java.lang.String clientId)
Remove an existing organization
|
ApiClient |
getApiClient() |
Client |
getClient(java.lang.String clientId)
Get an existing client
|
com.squareup.okhttp.Call |
getClientAsync(java.lang.String clientId,
ApiCallback<Client> callback)
Get an existing client (asynchronously)
|
com.squareup.okhttp.Call |
getClientCall(java.lang.String clientId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getClient
|
ApiResponse<Client> |
getClientWithHttpInfo(java.lang.String clientId)
Get an existing client
|
void |
setApiClient(ApiClient apiClient) |
public ClientApi()
public ClientApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addClientCall(Client client, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
client - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Client addClient(Client client) throws ApiException
client - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Client> addClientWithHttpInfo(Client client) throws ApiException
client - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addClientAsync(Client client, ApiCallback<Client> callback) throws ApiException
client - (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 com.squareup.okhttp.Call addClientPublicKeyCall(java.lang.String clientId,
PublicKey newPublicKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
clientId - (required)newPublicKey - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PublicKey addClientPublicKey(java.lang.String clientId, PublicKey newPublicKey) throws ApiException
clientId - (required)newPublicKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PublicKey> addClientPublicKeyWithHttpInfo(java.lang.String clientId, PublicKey newPublicKey) throws ApiException
clientId - (required)newPublicKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addClientPublicKeyAsync(java.lang.String clientId,
PublicKey newPublicKey,
ApiCallback<PublicKey> callback)
throws ApiException
clientId - (required)newPublicKey - (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 com.squareup.okhttp.Call deleteClientCall(java.lang.String clientId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
clientId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Client deleteClient(java.lang.String clientId) throws ApiException
clientId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Client> deleteClientWithHttpInfo(java.lang.String clientId) throws ApiException
clientId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteClientAsync(java.lang.String clientId,
ApiCallback<Client> callback)
throws ApiException
clientId - (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 com.squareup.okhttp.Call getClientCall(java.lang.String clientId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
clientId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Client getClient(java.lang.String clientId) throws ApiException
clientId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Client> getClientWithHttpInfo(java.lang.String clientId) throws ApiException
clientId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getClientAsync(java.lang.String clientId,
ApiCallback<Client> callback)
throws ApiException
clientId - (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