public class ContactListApi extends Object
| Constructor and Description |
|---|
ContactListApi() |
ContactListApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
listsByListIdDelete(Integer listId)
ListsByListIdDelete
Delete a specific contact list
|
com.squareup.okhttp.Call |
listsByListIdDeleteAsync(Integer listId,
ApiCallback<String> callback)
ListsByListIdDelete (asynchronously)
Delete a specific contact list
|
com.squareup.okhttp.Call |
listsByListIdDeleteCall(Integer listId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsByListIdDelete
|
ApiResponse<String> |
listsByListIdDeleteWithHttpInfo(Integer listId)
ListsByListIdDelete
Delete a specific contact list
|
String |
listsByListIdGet(Integer listId)
Get specific contact list
Get specific contact list
|
com.squareup.okhttp.Call |
listsByListIdGetAsync(Integer listId,
ApiCallback<String> callback)
Get specific contact list (asynchronously)
Get specific contact list
|
com.squareup.okhttp.Call |
listsByListIdGetCall(Integer listId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsByListIdGet
|
ApiResponse<String> |
listsByListIdGetWithHttpInfo(Integer listId)
Get specific contact list
Get specific contact list
|
String |
listsByListIdPut(Integer listId,
ContactList contactList)
Update specific contact list
Update specific contact list
|
com.squareup.okhttp.Call |
listsByListIdPutAsync(Integer listId,
ContactList contactList,
ApiCallback<String> callback)
Update specific contact list (asynchronously)
Update specific contact list
|
com.squareup.okhttp.Call |
listsByListIdPutCall(Integer listId,
ContactList contactList,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsByListIdPut
|
ApiResponse<String> |
listsByListIdPutWithHttpInfo(Integer listId,
ContactList contactList)
Update specific contact list
Update specific contact list
|
String |
listsGet(Integer page,
Integer limit)
Get all contact lists
Get all contact lists
|
com.squareup.okhttp.Call |
listsGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all contact lists (asynchronously)
Get all contact lists
|
com.squareup.okhttp.Call |
listsGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsGet
|
ApiResponse<String> |
listsGetWithHttpInfo(Integer page,
Integer limit)
Get all contact lists
Get all contact lists
|
String |
listsImportByListIdPost(Integer listId,
ContactListImport file)
Import contacts to list
Import contacts to list
|
com.squareup.okhttp.Call |
listsImportByListIdPostAsync(Integer listId,
ContactListImport file,
ApiCallback<String> callback)
Import contacts to list (asynchronously)
Import contacts to list
|
com.squareup.okhttp.Call |
listsImportByListIdPostCall(Integer listId,
ContactListImport file,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsImportByListIdPost
|
ApiResponse<String> |
listsImportByListIdPostWithHttpInfo(Integer listId,
ContactListImport file)
Import contacts to list
Import contacts to list
|
String |
listsPost(ContactList contactList)
Create new contact list
Create new contact list
|
com.squareup.okhttp.Call |
listsPostAsync(ContactList contactList,
ApiCallback<String> callback)
Create new contact list (asynchronously)
Create new contact list
|
com.squareup.okhttp.Call |
listsPostCall(ContactList contactList,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsPost
|
ApiResponse<String> |
listsPostWithHttpInfo(ContactList contactList)
Create new contact list
Create new contact list
|
String |
listsRemoveDuplicatesByListIdPut(Integer listId,
Fields fields)
Remove duplicate contacts
Remove duplicate contacts
|
com.squareup.okhttp.Call |
listsRemoveDuplicatesByListIdPutAsync(Integer listId,
Fields fields,
ApiCallback<String> callback)
Remove duplicate contacts (asynchronously)
Remove duplicate contacts
|
com.squareup.okhttp.Call |
listsRemoveDuplicatesByListIdPutCall(Integer listId,
Fields fields,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsRemoveDuplicatesByListIdPut
|
ApiResponse<String> |
listsRemoveDuplicatesByListIdPutWithHttpInfo(Integer listId,
Fields fields)
Remove duplicate contacts
Remove duplicate contacts
|
void |
setApiClient(ApiClient apiClient) |
public ContactListApi()
public ContactListApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call listsByListIdDeleteCall(Integer listId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - List ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsByListIdDelete(Integer listId) throws ApiException
listId - List ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsByListIdDeleteWithHttpInfo(Integer listId) throws ApiException
listId - List ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsByListIdDeleteAsync(Integer listId, ApiCallback<String> callback) throws ApiException
listId - List 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 com.squareup.okhttp.Call listsByListIdGetCall(Integer listId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - List ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsByListIdGet(Integer listId) throws ApiException
listId - List ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsByListIdGetWithHttpInfo(Integer listId) throws ApiException
listId - List ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsByListIdGetAsync(Integer listId, ApiCallback<String> callback) throws ApiException
listId - List 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 com.squareup.okhttp.Call listsByListIdPutCall(Integer listId, ContactList contactList, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Your list id (required)contactList - Contact list model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsByListIdPut(Integer listId, ContactList contactList) throws ApiException
listId - Your list id (required)contactList - Contact list model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsByListIdPutWithHttpInfo(Integer listId, ContactList contactList) throws ApiException
listId - Your list id (required)contactList - Contact list model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsByListIdPutAsync(Integer listId, ContactList contactList, ApiCallback<String> callback) throws ApiException
listId - Your list id (required)contactList - Contact list model (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 listsGetCall(Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsGet(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsGetWithHttpInfo(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsGetAsync(Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)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 listsImportByListIdPostCall(Integer listId, ContactListImport file, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Your contact list id you want to access. (required)file - ContactListImport model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsImportByListIdPost(Integer listId, ContactListImport file) throws ApiException
listId - Your contact list id you want to access. (required)file - ContactListImport model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsImportByListIdPostWithHttpInfo(Integer listId, ContactListImport file) throws ApiException
listId - Your contact list id you want to access. (required)file - ContactListImport model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsImportByListIdPostAsync(Integer listId, ContactListImport file, ApiCallback<String> callback) throws ApiException
listId - Your contact list id you want to access. (required)file - ContactListImport model (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 listsPostCall(ContactList contactList, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
contactList - Contact list model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsPost(ContactList contactList) throws ApiException
contactList - Contact list model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsPostWithHttpInfo(ContactList contactList) throws ApiException
contactList - Contact list model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsPostAsync(ContactList contactList, ApiCallback<String> callback) throws ApiException
contactList - Contact list model (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 listsRemoveDuplicatesByListIdPutCall(Integer listId, Fields fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Your list id (required)fields - Fields model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsRemoveDuplicatesByListIdPut(Integer listId, Fields fields) throws ApiException
listId - Your list id (required)fields - Fields model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsRemoveDuplicatesByListIdPutWithHttpInfo(Integer listId, Fields fields) throws ApiException
listId - Your list id (required)fields - Fields model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsRemoveDuplicatesByListIdPutAsync(Integer listId, Fields fields, ApiCallback<String> callback) throws ApiException
listId - Your list id (required)fields - Fields model (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 objectCopyright © 2019. All rights reserved.