public class ContactApi extends Object
| Constructor and Description |
|---|
ContactApi() |
ContactApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
listsContactsByListIdAndContactIdDelete(Integer listId,
Integer contactId)
Delete a contact
Delete a contact
|
com.squareup.okhttp.Call |
listsContactsByListIdAndContactIdDeleteAsync(Integer listId,
Integer contactId,
ApiCallback<String> callback)
Delete a contact (asynchronously)
Delete a contact
|
com.squareup.okhttp.Call |
listsContactsByListIdAndContactIdDeleteCall(Integer listId,
Integer contactId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsContactsByListIdAndContactIdDelete
|
ApiResponse<String> |
listsContactsByListIdAndContactIdDeleteWithHttpInfo(Integer listId,
Integer contactId)
Delete a contact
Delete a contact
|
String |
listsContactsByListIdAndContactIdGet(Integer listId,
Integer contactId)
Get a specific contact
Get a specific contact
|
com.squareup.okhttp.Call |
listsContactsByListIdAndContactIdGetAsync(Integer listId,
Integer contactId,
ApiCallback<String> callback)
Get a specific contact (asynchronously)
Get a specific contact
|
com.squareup.okhttp.Call |
listsContactsByListIdAndContactIdGetCall(Integer listId,
Integer contactId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsContactsByListIdAndContactIdGet
|
ApiResponse<String> |
listsContactsByListIdAndContactIdGetWithHttpInfo(Integer listId,
Integer contactId)
Get a specific contact
Get a specific contact
|
String |
listsContactsByListIdAndContactIdPut(Integer listId,
Integer contactId,
Contact contact)
Update specific contact
Update specific contact
|
com.squareup.okhttp.Call |
listsContactsByListIdAndContactIdPutAsync(Integer listId,
Integer contactId,
Contact contact,
ApiCallback<String> callback)
Update specific contact (asynchronously)
Update specific contact
|
com.squareup.okhttp.Call |
listsContactsByListIdAndContactIdPutCall(Integer listId,
Integer contactId,
Contact contact,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsContactsByListIdAndContactIdPut
|
ApiResponse<String> |
listsContactsByListIdAndContactIdPutWithHttpInfo(Integer listId,
Integer contactId,
Contact contact)
Update specific contact
Update specific contact
|
String |
listsContactsByListIdGet(Integer listId,
Integer page,
Integer limit)
Get all contacts in a list
Get all contacts in a list
|
com.squareup.okhttp.Call |
listsContactsByListIdGetAsync(Integer listId,
Integer page,
Integer limit,
ApiCallback<String> callback)
Get all contacts in a list (asynchronously)
Get all contacts in a list
|
com.squareup.okhttp.Call |
listsContactsByListIdGetCall(Integer listId,
Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsContactsByListIdGet
|
ApiResponse<String> |
listsContactsByListIdGetWithHttpInfo(Integer listId,
Integer page,
Integer limit)
Get all contacts in a list
Get all contacts in a list
|
String |
listsContactsByListIdPost(Contact contact,
Integer listId)
Create new contact
Create new contact
|
com.squareup.okhttp.Call |
listsContactsByListIdPostAsync(Contact contact,
Integer listId,
ApiCallback<String> callback)
Create new contact (asynchronously)
Create new contact
|
com.squareup.okhttp.Call |
listsContactsByListIdPostCall(Contact contact,
Integer listId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsContactsByListIdPost
|
ApiResponse<String> |
listsContactsByListIdPostWithHttpInfo(Contact contact,
Integer listId)
Create new contact
Create new contact
|
String |
listsRemoveOptedOutContactsByListIdAndOptOutListIdPut(Integer listId,
Integer optOutListId)
Remove all opted out contacts
Remove all opted out contacts
|
com.squareup.okhttp.Call |
listsRemoveOptedOutContactsByListIdAndOptOutListIdPutAsync(Integer listId,
Integer optOutListId,
ApiCallback<String> callback)
Remove all opted out contacts (asynchronously)
Remove all opted out contacts
|
com.squareup.okhttp.Call |
listsRemoveOptedOutContactsByListIdAndOptOutListIdPutCall(Integer listId,
Integer optOutListId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsRemoveOptedOutContactsByListIdAndOptOutListIdPut
|
ApiResponse<String> |
listsRemoveOptedOutContactsByListIdAndOptOutListIdPutWithHttpInfo(Integer listId,
Integer optOutListId)
Remove all opted out contacts
Remove all opted out contacts
|
String |
listsTransferContactPut(Integer fromListId,
Integer contactId,
Integer toListId)
Transfer contact to another list
Transfer contact to another list
|
com.squareup.okhttp.Call |
listsTransferContactPutAsync(Integer fromListId,
Integer contactId,
Integer toListId,
ApiCallback<String> callback)
Transfer contact to another list (asynchronously)
Transfer contact to another list
|
com.squareup.okhttp.Call |
listsTransferContactPutCall(Integer fromListId,
Integer contactId,
Integer toListId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsTransferContactPut
|
ApiResponse<String> |
listsTransferContactPutWithHttpInfo(Integer fromListId,
Integer contactId,
Integer toListId)
Transfer contact to another list
Transfer contact to another list
|
void |
setApiClient(ApiClient apiClient) |
public ContactApi()
public ContactApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call listsContactsByListIdAndContactIdDeleteCall(Integer listId, Integer contactId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - List ID (required)contactId - Contact ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsContactsByListIdAndContactIdDelete(Integer listId, Integer contactId) throws ApiException
listId - List ID (required)contactId - Contact ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsContactsByListIdAndContactIdDeleteWithHttpInfo(Integer listId, Integer contactId) throws ApiException
listId - List ID (required)contactId - Contact ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsContactsByListIdAndContactIdDeleteAsync(Integer listId, Integer contactId, ApiCallback<String> callback) throws ApiException
listId - List ID (required)contactId - Contact 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 listsContactsByListIdAndContactIdGetCall(Integer listId, Integer contactId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Your contact list id you want to access. (required)contactId - Your contact id you want to access. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsContactsByListIdAndContactIdGet(Integer listId, Integer contactId) throws ApiException
listId - Your contact list id you want to access. (required)contactId - Your contact id you want to access. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsContactsByListIdAndContactIdGetWithHttpInfo(Integer listId, Integer contactId) throws ApiException
listId - Your contact list id you want to access. (required)contactId - Your contact id you want to access. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsContactsByListIdAndContactIdGetAsync(Integer listId, Integer contactId, ApiCallback<String> callback) throws ApiException
listId - Your contact list id you want to access. (required)contactId - Your contact id you want to access. (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 listsContactsByListIdAndContactIdPutCall(Integer listId, Integer contactId, Contact contact, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Contact list id (required)contactId - Contact ID (required)contact - Contact model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsContactsByListIdAndContactIdPut(Integer listId, Integer contactId, Contact contact) throws ApiException
listId - Contact list id (required)contactId - Contact ID (required)contact - Contact model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsContactsByListIdAndContactIdPutWithHttpInfo(Integer listId, Integer contactId, Contact contact) throws ApiException
listId - Contact list id (required)contactId - Contact ID (required)contact - Contact model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsContactsByListIdAndContactIdPutAsync(Integer listId, Integer contactId, Contact contact, ApiCallback<String> callback) throws ApiException
listId - Contact list id (required)contactId - Contact ID (required)contact - Contact 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 listsContactsByListIdGetCall(Integer listId, Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Contact list ID (required)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 listsContactsByListIdGet(Integer listId, Integer page, Integer limit) throws ApiException
listId - Contact list ID (required)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> listsContactsByListIdGetWithHttpInfo(Integer listId, Integer page, Integer limit) throws ApiException
listId - Contact list ID (required)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 listsContactsByListIdGetAsync(Integer listId, Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
listId - Contact list ID (required)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 listsContactsByListIdPostCall(Contact contact, Integer listId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
contact - Contact model (required)listId - List id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsContactsByListIdPost(Contact contact, Integer listId) throws ApiException
contact - Contact model (required)listId - List id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsContactsByListIdPostWithHttpInfo(Contact contact, Integer listId) throws ApiException
contact - Contact model (required)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 listsContactsByListIdPostAsync(Contact contact, Integer listId, ApiCallback<String> callback) throws ApiException
contact - Contact model (required)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 listsRemoveOptedOutContactsByListIdAndOptOutListIdPutCall(Integer listId, Integer optOutListId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Your list id (required)optOutListId - Your opt out list id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsRemoveOptedOutContactsByListIdAndOptOutListIdPut(Integer listId, Integer optOutListId) throws ApiException
listId - Your list id (required)optOutListId - Your opt out list id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsRemoveOptedOutContactsByListIdAndOptOutListIdPutWithHttpInfo(Integer listId, Integer optOutListId) throws ApiException
listId - Your list id (required)optOutListId - Your opt out list id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsRemoveOptedOutContactsByListIdAndOptOutListIdPutAsync(Integer listId, Integer optOutListId, ApiCallback<String> callback) throws ApiException
listId - Your list id (required)optOutListId - Your opt out 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 listsTransferContactPutCall(Integer fromListId, Integer contactId, Integer toListId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
fromListId - List ID for list that contains contact. (required)contactId - Contact ID (required)toListId - List ID for list you want to transfer contact to. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String listsTransferContactPut(Integer fromListId, Integer contactId, Integer toListId) throws ApiException
fromListId - List ID for list that contains contact. (required)contactId - Contact ID (required)toListId - List ID for list you want to transfer contact to. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> listsTransferContactPutWithHttpInfo(Integer fromListId, Integer contactId, Integer toListId) throws ApiException
fromListId - List ID for list that contains contact. (required)contactId - Contact ID (required)toListId - List ID for list you want to transfer contact to. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsTransferContactPutAsync(Integer fromListId, Integer contactId, Integer toListId, ApiCallback<String> callback) throws ApiException
fromListId - List ID for list that contains contact. (required)contactId - Contact ID (required)toListId - List ID for list you want to transfer contact to. (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.