public class ContactControllerApi extends Object
| Constructor and Description |
|---|
ContactControllerApi() |
ContactControllerApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ContactDto |
createContact(CreateContactOptions createContactOptions)
Create a contact
|
okhttp3.Call |
createContactAsync(CreateContactOptions createContactOptions,
ApiCallback<ContactDto> _callback)
Create a contact (asynchronously)
|
okhttp3.Call |
createContactCall(CreateContactOptions createContactOptions,
ApiCallback _callback)
Build call for createContact
|
ApiResponse<ContactDto> |
createContactWithHttpInfo(CreateContactOptions createContactOptions)
Create a contact
|
void |
deleteContact(UUID contactId)
Delete contact
|
okhttp3.Call |
deleteContactAsync(UUID contactId,
ApiCallback<Void> _callback)
Delete contact (asynchronously)
|
okhttp3.Call |
deleteContactCall(UUID contactId,
ApiCallback _callback)
Build call for deleteContact
|
ApiResponse<Void> |
deleteContactWithHttpInfo(UUID contactId)
Delete contact
|
PageContactProjection |
getAllContacts(Integer page,
Integer size,
String sort)
Get all contacts
|
okhttp3.Call |
getAllContactsAsync(Integer page,
Integer size,
String sort,
ApiCallback<PageContactProjection> _callback)
Get all contacts (asynchronously)
|
okhttp3.Call |
getAllContactsCall(Integer page,
Integer size,
String sort,
ApiCallback _callback)
Build call for getAllContacts
|
ApiResponse<PageContactProjection> |
getAllContactsWithHttpInfo(Integer page,
Integer size,
String sort)
Get all contacts
|
ApiClient |
getApiClient() |
ContactDto |
getContact(UUID contactId)
Get contact
|
okhttp3.Call |
getContactAsync(UUID contactId,
ApiCallback<ContactDto> _callback)
Get contact (asynchronously)
|
okhttp3.Call |
getContactCall(UUID contactId,
ApiCallback _callback)
Build call for getContact
|
List<ContactProjection> |
getContacts()
Get all contacts
|
okhttp3.Call |
getContactsAsync(ApiCallback<List<ContactProjection>> _callback)
Get all contacts (asynchronously)
|
okhttp3.Call |
getContactsCall(ApiCallback _callback)
Build call for getContacts
|
ApiResponse<List<ContactProjection>> |
getContactsWithHttpInfo()
Get all contacts
|
ApiResponse<ContactDto> |
getContactWithHttpInfo(UUID contactId)
Get contact
|
void |
setApiClient(ApiClient apiClient) |
public ContactControllerApi()
public ContactControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createContactCall(CreateContactOptions createContactOptions, ApiCallback _callback) throws ApiException
createContactOptions - createContactOptions (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ContactDto createContact(CreateContactOptions createContactOptions) throws ApiException
createContactOptions - createContactOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<ContactDto> createContactWithHttpInfo(CreateContactOptions createContactOptions) throws ApiException
createContactOptions - createContactOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call createContactAsync(CreateContactOptions createContactOptions, ApiCallback<ContactDto> _callback) throws ApiException
createContactOptions - createContactOptions (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| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call deleteContactCall(UUID contactId, ApiCallback _callback) throws ApiException
contactId - contactId (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public void deleteContact(UUID contactId) throws ApiException
contactId - contactId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public ApiResponse<Void> deleteContactWithHttpInfo(UUID contactId) throws ApiException
contactId - contactId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public okhttp3.Call deleteContactAsync(UUID contactId, ApiCallback<Void> _callback) throws ApiException
contactId - contactId (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| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public okhttp3.Call getAllContactsCall(Integer page, Integer size, String sort, ApiCallback _callback) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public PageContactProjection getAllContacts(Integer page, Integer size, String sort) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<PageContactProjection> getAllContactsWithHttpInfo(Integer page, Integer size, String sort) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAllContactsAsync(Integer page, Integer size, String sort, ApiCallback<PageContactProjection> _callback) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_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| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getContactCall(UUID contactId, ApiCallback _callback) throws ApiException
contactId - contactId (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ContactDto getContact(UUID contactId) throws ApiException
contactId - contactId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<ContactDto> getContactWithHttpInfo(UUID contactId) throws ApiException
contactId - contactId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getContactAsync(UUID contactId, ApiCallback<ContactDto> _callback) throws ApiException
contactId - contactId (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| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getContactsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public List<ContactProjection> getContacts() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<List<ContactProjection>> getContactsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getContactsAsync(ApiCallback<List<ContactProjection>> _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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
Copyright © 2021. All rights reserved.