public class ListsApi extends Object
| Constructor and Description |
|---|
ListsApi() |
ListsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
List |
listsFromcampaignPost(CampaignListPayload body)
Create a new list from the recipients of the given campaign, using the given statuses of Messages
|
com.squareup.okhttp.Call |
listsFromcampaignPostAsync(CampaignListPayload body,
ApiCallback<List> callback)
Create a new list from the recipients of the given campaign, using the given statuses of Messages (asynchronously)
|
com.squareup.okhttp.Call |
listsFromcampaignPostCall(CampaignListPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsFromcampaignPost
|
ApiResponse<List> |
listsFromcampaignPostWithHttpInfo(CampaignListPayload body)
Create a new list from the recipients of the given campaign, using the given statuses of Messages
|
List<List> |
listsGet(String from,
String to)
Shows all your existing lists
|
com.squareup.okhttp.Call |
listsGetAsync(String from,
String to,
ApiCallback<List<List>> callback)
Shows all your existing lists (asynchronously)
|
com.squareup.okhttp.Call |
listsGetCall(String from,
String to,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsGet
|
ApiResponse<List<List>> |
listsGetWithHttpInfo(String from,
String to)
Shows all your existing lists
|
void |
listsListnameContactsDelete(String listname,
List<String> emails,
String rule)
Remove selected Contacts from your list
|
com.squareup.okhttp.Call |
listsListnameContactsDeleteAsync(String listname,
List<String> emails,
String rule,
ApiCallback<Void> callback)
Remove selected Contacts from your list (asynchronously)
|
com.squareup.okhttp.Call |
listsListnameContactsDeleteCall(String listname,
List<String> emails,
String rule,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsListnameContactsDelete
|
ApiResponse<Void> |
listsListnameContactsDeleteWithHttpInfo(String listname,
List<String> emails,
String rule)
Remove selected Contacts from your list
|
List |
listsListnameContactsMovePut(String listname,
MoveToListPayload body)
Move selected contacts from one List to another
|
com.squareup.okhttp.Call |
listsListnameContactsMovePutAsync(String listname,
MoveToListPayload body,
ApiCallback<List> callback)
Move selected contacts from one List to another (asynchronously)
|
com.squareup.okhttp.Call |
listsListnameContactsMovePutCall(String listname,
MoveToListPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsListnameContactsMovePut
|
ApiResponse<List> |
listsListnameContactsMovePutWithHttpInfo(String listname,
MoveToListPayload body)
Move selected contacts from one List to another
|
List |
listsListnameContactsPut(String listname,
EmailsPayload body)
Add existing Contacts to chosen list
|
com.squareup.okhttp.Call |
listsListnameContactsPutAsync(String listname,
EmailsPayload body,
ApiCallback<List> callback)
Add existing Contacts to chosen list (asynchronously)
|
com.squareup.okhttp.Call |
listsListnameContactsPutCall(String listname,
EmailsPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsListnameContactsPut
|
ApiResponse<List> |
listsListnameContactsPutWithHttpInfo(String listname,
EmailsPayload body)
Add existing Contacts to chosen list
|
void |
listsListnameDelete(String listname)
Deletes List and removes all the Contacts from it (does not delete Contacts).
|
com.squareup.okhttp.Call |
listsListnameDeleteAsync(String listname,
ApiCallback<Void> callback)
Deletes List and removes all the Contacts from it (does not delete Contacts).
|
com.squareup.okhttp.Call |
listsListnameDeleteCall(String listname,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsListnameDelete
|
ApiResponse<Void> |
listsListnameDeleteWithHttpInfo(String listname)
Deletes List and removes all the Contacts from it (does not delete Contacts).
|
List |
listsListnameGet(String listname)
Returns detailed information about specific list.
|
com.squareup.okhttp.Call |
listsListnameGetAsync(String listname,
ApiCallback<List> callback)
Returns detailed information about specific list.
|
com.squareup.okhttp.Call |
listsListnameGetCall(String listname,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsListnameGet
|
ApiResponse<List> |
listsListnameGetWithHttpInfo(String listname)
Returns detailed information about specific list.
|
List |
listsListnamePut(String listname,
ListUpdatePayload body)
Update existing list
|
com.squareup.okhttp.Call |
listsListnamePutAsync(String listname,
ListUpdatePayload body,
ApiCallback<List> callback)
Update existing list (asynchronously)
|
com.squareup.okhttp.Call |
listsListnamePutCall(String listname,
ListUpdatePayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsListnamePut
|
ApiResponse<List> |
listsListnamePutWithHttpInfo(String listname,
ListUpdatePayload body)
Update existing list
|
List |
listsPost(ListPayload body)
Create new list, based on filtering rule or list of IDs
|
com.squareup.okhttp.Call |
listsPostAsync(ListPayload body,
ApiCallback<List> callback)
Create new list, based on filtering rule or list of IDs (asynchronously)
|
com.squareup.okhttp.Call |
listsPostCall(ListPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsPost
|
ApiResponse<List> |
listsPostWithHttpInfo(ListPayload body)
Create new list, based on filtering rule or list of IDs
|
List |
listsRandomPost(RandomListPayload body)
Create a new list with randomized contacts from an existing list or segment
|
com.squareup.okhttp.Call |
listsRandomPostAsync(RandomListPayload body,
ApiCallback<List> callback)
Create a new list with randomized contacts from an existing list or segment (asynchronously)
|
com.squareup.okhttp.Call |
listsRandomPostCall(RandomListPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listsRandomPost
|
ApiResponse<List> |
listsRandomPostWithHttpInfo(RandomListPayload body)
Create a new list with randomized contacts from an existing list or segment
|
void |
setApiClient(ApiClient apiClient) |
public ListsApi()
public ListsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call listsFromcampaignPostCall(CampaignListPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Data of the campaign which recipients you want to copy (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List listsFromcampaignPost(CampaignListPayload body) throws ApiException
body - Data of the campaign which recipients you want to copy (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List> listsFromcampaignPostWithHttpInfo(CampaignListPayload body) throws ApiException
body - Data of the campaign which recipients you want to copy (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsFromcampaignPostAsync(CampaignListPayload body, ApiCallback<List> callback) throws ApiException
body - Data of the campaign which recipients you want to copy (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(String from, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
from - Starting date for search in YYYY-MM-DDThh:mm:ss format. (optional)to - Ending date for search in YYYY-MM-DDThh:mm:ss format. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<List> listsGet(String from, String to) throws ApiException
from - Starting date for search in YYYY-MM-DDThh:mm:ss format. (optional)to - Ending date for search in YYYY-MM-DDThh:mm:ss format. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<List>> listsGetWithHttpInfo(String from, String to) throws ApiException
from - Starting date for search in YYYY-MM-DDThh:mm:ss format. (optional)to - Ending date for search in YYYY-MM-DDThh:mm:ss format. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsGetAsync(String from, String to, ApiCallback<List<List>> callback) throws ApiException
from - Starting date for search in YYYY-MM-DDThh:mm:ss format. (optional)to - Ending date for search in YYYY-MM-DDThh:mm:ss format. (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 objectpublic com.squareup.okhttp.Call listsListnameContactsDeleteCall(String listname, List<String> emails, String rule, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listname - Name of your list. (required)emails - Comma delimited list of contact emails (optional)rule - Query used for filtering. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void listsListnameContactsDelete(String listname, List<String> emails, String rule) throws ApiException
listname - Name of your list. (required)emails - Comma delimited list of contact emails (optional)rule - Query used for filtering. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> listsListnameContactsDeleteWithHttpInfo(String listname, List<String> emails, String rule) throws ApiException
listname - Name of your list. (required)emails - Comma delimited list of contact emails (optional)rule - Query used for filtering. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsListnameContactsDeleteAsync(String listname, List<String> emails, String rule, ApiCallback<Void> callback) throws ApiException
listname - Name of your list. (required)emails - Comma delimited list of contact emails (optional)rule - Query used for filtering. (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 objectpublic com.squareup.okhttp.Call listsListnameContactsMovePutCall(String listname, MoveToListPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listname - The name of the list from which the contacts will be copied from (required)body - The data of the list to copy the contacts to (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List listsListnameContactsMovePut(String listname, MoveToListPayload body) throws ApiException
listname - The name of the list from which the contacts will be copied from (required)body - The data of the list to copy the contacts to (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List> listsListnameContactsMovePutWithHttpInfo(String listname, MoveToListPayload body) throws ApiException
listname - The name of the list from which the contacts will be copied from (required)body - The data of the list to copy the contacts to (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsListnameContactsMovePutAsync(String listname, MoveToListPayload body, ApiCallback<List> callback) throws ApiException
listname - The name of the list from which the contacts will be copied from (required)body - The data of the list to copy the contacts 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 objectpublic com.squareup.okhttp.Call listsListnameContactsPutCall(String listname, EmailsPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listname - Name of your list. (required)body - Comma delimited list of contact emails (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List listsListnameContactsPut(String listname, EmailsPayload body) throws ApiException
listname - Name of your list. (required)body - Comma delimited list of contact emails (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List> listsListnameContactsPutWithHttpInfo(String listname, EmailsPayload body) throws ApiException
listname - Name of your list. (required)body - Comma delimited list of contact emails (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsListnameContactsPutAsync(String listname, EmailsPayload body, ApiCallback<List> callback) throws ApiException
listname - Name of your list. (required)body - Comma delimited list of contact emails (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 listsListnameDeleteCall(String listname, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listname - Name of your list. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void listsListnameDelete(String listname) throws ApiException
listname - Name of your list. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> listsListnameDeleteWithHttpInfo(String listname) throws ApiException
listname - Name of your list. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsListnameDeleteAsync(String listname, ApiCallback<Void> callback) throws ApiException
listname - Name of your list. (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 listsListnameGetCall(String listname, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listname - Name of your list. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List listsListnameGet(String listname) throws ApiException
listname - Name of your list. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List> listsListnameGetWithHttpInfo(String listname) throws ApiException
listname - Name of your list. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsListnameGetAsync(String listname, ApiCallback<List> callback) throws ApiException
listname - Name of your list. (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 listsListnamePutCall(String listname, ListUpdatePayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listname - Name of your list. (required)body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List listsListnamePut(String listname, ListUpdatePayload body) throws ApiException
listname - Name of your list. (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List> listsListnamePutWithHttpInfo(String listname, ListUpdatePayload body) throws ApiException
listname - Name of your list. (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsListnamePutAsync(String listname, ListUpdatePayload body, ApiCallback<List> callback) throws ApiException
listname - Name of your list. (required)body - (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(ListPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List listsPost(ListPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List> listsPostWithHttpInfo(ListPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsPostAsync(ListPayload body, ApiCallback<List> callback) throws ApiException
body - (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 listsRandomPostCall(RandomListPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List listsRandomPost(RandomListPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List> listsRandomPostWithHttpInfo(RandomListPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listsRandomPostAsync(RandomListPayload body, ApiCallback<List> callback) throws ApiException
body - (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.