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,
OffsetDateTime since,
OffsetDateTime before)
Get all contacts
|
okhttp3.Call |
getAllContactsAsync(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageContactProjection> _callback)
Get all contacts (asynchronously)
|
okhttp3.Call |
getAllContactsCall(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getAllContacts
|
ApiResponse<PageContactProjection> |
getAllContactsWithHttpInfo(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
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
|
List<byte[]> |
getContactVCard(UUID contactId)
Get contact vCard vcf file
|
okhttp3.Call |
getContactVCardAsync(UUID contactId,
ApiCallback<List<byte[]>> _callback)
Get contact vCard vcf file (asynchronously)
|
okhttp3.Call |
getContactVCardCall(UUID contactId,
ApiCallback _callback)
Build call for getContactVCard
|
ApiResponse<List<byte[]>> |
getContactVCardWithHttpInfo(UUID contactId)
Get contact vCard vcf file
|
ApiResponse<ContactDto> |
getContactWithHttpInfo(UUID contactId)
Get contact
|
String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public ContactControllerApi()
public ContactControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createContactCall(CreateContactOptions createContactOptions, ApiCallback _callback) throws ApiException
createContactOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
201 | Created | - |
public ContactDto createContact(CreateContactOptions createContactOptions) throws ApiException
createContactOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public ApiResponse<ContactDto> createContactWithHttpInfo(CreateContactOptions createContactOptions) throws ApiException
createContactOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call createContactAsync(CreateContactOptions createContactOptions, ApiCallback<ContactDto> _callback) throws ApiException
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 objectStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call deleteContactCall(UUID contactId, ApiCallback _callback) throws ApiException
contactId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteContact(UUID contactId) throws ApiException
contactId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public ApiResponse<Void> deleteContactWithHttpInfo(UUID contactId) throws ApiException
contactId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call deleteContactAsync(UUID contactId, ApiCallback<Void> _callback) throws ApiException
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 objectStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call getAllContactsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageContactProjection getAllContacts(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageContactProjection> getAllContactsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAllContactsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageContactProjection> _callback) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getContactCall(UUID contactId, ApiCallback _callback) throws ApiException
contactId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public ContactDto getContact(UUID contactId) throws ApiException
contactId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<ContactDto> getContactWithHttpInfo(UUID contactId) throws ApiException
contactId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getContactAsync(UUID contactId, ApiCallback<ContactDto> _callback) throws ApiException
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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getContactVCardCall(UUID contactId, ApiCallback _callback) throws ApiException
contactId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public List<byte[]> getContactVCard(UUID contactId) throws ApiException
contactId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<List<byte[]>> getContactVCardWithHttpInfo(UUID contactId) throws ApiException
contactId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getContactVCardAsync(UUID contactId, ApiCallback<List<byte[]>> _callback) throws ApiException
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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getContactsCall(ApiCallback _callback) throws ApiException
_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public List<ContactProjection> getContacts() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<List<ContactProjection>> getContactsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
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 objectStatus Code | Description | Response Headers |
200 | OK | - |
Copyright © 2023. All rights reserved.