public class ContactsApi extends Object
| Constructor and Description |
|---|
ContactsApi() |
ContactsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
PostContactInfo |
addContactToList(Long listId,
AddContactToList contactEmails)
Add existing contacts to a list
|
com.squareup.okhttp.Call |
addContactToListAsync(Long listId,
AddContactToList contactEmails,
ApiCallback<PostContactInfo> callback)
Add existing contacts to a list (asynchronously)
|
com.squareup.okhttp.Call |
addContactToListCall(Long listId,
AddContactToList contactEmails,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addContactToList
|
ApiResponse<PostContactInfo> |
addContactToListWithHttpInfo(Long listId,
AddContactToList contactEmails)
Add existing contacts to a list
|
void |
createAttribute(String attributeCategory,
String attributeName,
CreateAttribute createAttribute)
Create contact attribute
|
com.squareup.okhttp.Call |
createAttributeAsync(String attributeCategory,
String attributeName,
CreateAttribute createAttribute,
ApiCallback<Void> callback)
Create contact attribute (asynchronously)
|
com.squareup.okhttp.Call |
createAttributeCall(String attributeCategory,
String attributeName,
CreateAttribute createAttribute,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createAttribute
|
ApiResponse<Void> |
createAttributeWithHttpInfo(String attributeCategory,
String attributeName,
CreateAttribute createAttribute)
Create contact attribute
|
CreateUpdateContactModel |
createContact(CreateContact createContact)
Create a contact
|
com.squareup.okhttp.Call |
createContactAsync(CreateContact createContact,
ApiCallback<CreateUpdateContactModel> callback)
Create a contact (asynchronously)
|
com.squareup.okhttp.Call |
createContactCall(CreateContact createContact,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createContact
|
ApiResponse<CreateUpdateContactModel> |
createContactWithHttpInfo(CreateContact createContact)
Create a contact
|
void |
createDoiContact(CreateDoiContact createDoiContact)
Create Contact via DOI (Double-Opt-In) Flow
|
com.squareup.okhttp.Call |
createDoiContactAsync(CreateDoiContact createDoiContact,
ApiCallback<Void> callback)
Create Contact via DOI (Double-Opt-In) Flow (asynchronously)
|
com.squareup.okhttp.Call |
createDoiContactCall(CreateDoiContact createDoiContact,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createDoiContact
|
ApiResponse<Void> |
createDoiContactWithHttpInfo(CreateDoiContact createDoiContact)
Create Contact via DOI (Double-Opt-In) Flow
|
CreateModel |
createFolder(CreateUpdateFolder createFolder)
Create a folder
|
com.squareup.okhttp.Call |
createFolderAsync(CreateUpdateFolder createFolder,
ApiCallback<CreateModel> callback)
Create a folder (asynchronously)
|
com.squareup.okhttp.Call |
createFolderCall(CreateUpdateFolder createFolder,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createFolder
|
ApiResponse<CreateModel> |
createFolderWithHttpInfo(CreateUpdateFolder createFolder)
Create a folder
|
CreateModel |
createList(CreateList createList)
Create a list
|
com.squareup.okhttp.Call |
createListAsync(CreateList createList,
ApiCallback<CreateModel> callback)
Create a list (asynchronously)
|
com.squareup.okhttp.Call |
createListCall(CreateList createList,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createList
|
ApiResponse<CreateModel> |
createListWithHttpInfo(CreateList createList)
Create a list
|
void |
deleteAttribute(String attributeCategory,
String attributeName)
Delete an attribute
|
com.squareup.okhttp.Call |
deleteAttributeAsync(String attributeCategory,
String attributeName,
ApiCallback<Void> callback)
Delete an attribute (asynchronously)
|
com.squareup.okhttp.Call |
deleteAttributeCall(String attributeCategory,
String attributeName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAttribute
|
ApiResponse<Void> |
deleteAttributeWithHttpInfo(String attributeCategory,
String attributeName)
Delete an attribute
|
void |
deleteContact(String identifier)
Delete a contact
|
com.squareup.okhttp.Call |
deleteContactAsync(String identifier,
ApiCallback<Void> callback)
Delete a contact (asynchronously)
|
com.squareup.okhttp.Call |
deleteContactCall(String identifier,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteContact
|
ApiResponse<Void> |
deleteContactWithHttpInfo(String identifier)
Delete a contact
|
void |
deleteFolder(Long folderId)
Delete a folder (and all its lists)
|
com.squareup.okhttp.Call |
deleteFolderAsync(Long folderId,
ApiCallback<Void> callback)
Delete a folder (and all its lists) (asynchronously)
|
com.squareup.okhttp.Call |
deleteFolderCall(Long folderId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteFolder
|
ApiResponse<Void> |
deleteFolderWithHttpInfo(Long folderId)
Delete a folder (and all its lists)
|
void |
deleteList(Long listId)
Delete a list
|
com.squareup.okhttp.Call |
deleteListAsync(Long listId,
ApiCallback<Void> callback)
Delete a list (asynchronously)
|
com.squareup.okhttp.Call |
deleteListCall(Long listId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteList
|
ApiResponse<Void> |
deleteListWithHttpInfo(Long listId)
Delete a list
|
ApiClient |
getApiClient() |
GetAttributes |
getAttributes()
List all attributes
|
com.squareup.okhttp.Call |
getAttributesAsync(ApiCallback<GetAttributes> callback)
List all attributes (asynchronously)
|
com.squareup.okhttp.Call |
getAttributesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAttributes
|
ApiResponse<GetAttributes> |
getAttributesWithHttpInfo()
List all attributes
|
GetExtendedContactDetails |
getContactInfo(String identifier)
Get a contact's details
|
com.squareup.okhttp.Call |
getContactInfoAsync(String identifier,
ApiCallback<GetExtendedContactDetails> callback)
Get a contact's details (asynchronously)
|
com.squareup.okhttp.Call |
getContactInfoCall(String identifier,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getContactInfo
|
ApiResponse<GetExtendedContactDetails> |
getContactInfoWithHttpInfo(String identifier)
Get a contact's details
|
GetContacts |
getContacts(Long limit,
Long offset,
String modifiedSince,
String sort)
Get all the contacts
|
com.squareup.okhttp.Call |
getContactsAsync(Long limit,
Long offset,
String modifiedSince,
String sort,
ApiCallback<GetContacts> callback)
Get all the contacts (asynchronously)
|
com.squareup.okhttp.Call |
getContactsCall(Long limit,
Long offset,
String modifiedSince,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getContacts
|
GetContacts |
getContactsFromList(Long listId,
String modifiedSince,
Long limit,
Long offset,
String sort)
Get contacts in a list
|
com.squareup.okhttp.Call |
getContactsFromListAsync(Long listId,
String modifiedSince,
Long limit,
Long offset,
String sort,
ApiCallback<GetContacts> callback)
Get contacts in a list (asynchronously)
|
com.squareup.okhttp.Call |
getContactsFromListCall(Long listId,
String modifiedSince,
Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getContactsFromList
|
ApiResponse<GetContacts> |
getContactsFromListWithHttpInfo(Long listId,
String modifiedSince,
Long limit,
Long offset,
String sort)
Get contacts in a list
|
GetContactCampaignStats |
getContactStats(String identifier,
String startDate,
String endDate)
Get email campaigns' statistics for a contact
|
com.squareup.okhttp.Call |
getContactStatsAsync(String identifier,
String startDate,
String endDate,
ApiCallback<GetContactCampaignStats> callback)
Get email campaigns' statistics for a contact (asynchronously)
|
com.squareup.okhttp.Call |
getContactStatsCall(String identifier,
String startDate,
String endDate,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getContactStats
|
ApiResponse<GetContactCampaignStats> |
getContactStatsWithHttpInfo(String identifier,
String startDate,
String endDate)
Get email campaigns' statistics for a contact
|
ApiResponse<GetContacts> |
getContactsWithHttpInfo(Long limit,
Long offset,
String modifiedSince,
String sort)
Get all the contacts
|
GetFolder |
getFolder(Long folderId)
Returns a folder's details
|
com.squareup.okhttp.Call |
getFolderAsync(Long folderId,
ApiCallback<GetFolder> callback)
Returns a folder's details (asynchronously)
|
com.squareup.okhttp.Call |
getFolderCall(Long folderId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFolder
|
GetFolderLists |
getFolderLists(Long folderId,
Long limit,
Long offset,
String sort)
Get lists in a folder
|
com.squareup.okhttp.Call |
getFolderListsAsync(Long folderId,
Long limit,
Long offset,
String sort,
ApiCallback<GetFolderLists> callback)
Get lists in a folder (asynchronously)
|
com.squareup.okhttp.Call |
getFolderListsCall(Long folderId,
Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFolderLists
|
ApiResponse<GetFolderLists> |
getFolderListsWithHttpInfo(Long folderId,
Long limit,
Long offset,
String sort)
Get lists in a folder
|
GetFolders |
getFolders(Long limit,
Long offset,
String sort)
Get all folders
|
com.squareup.okhttp.Call |
getFoldersAsync(Long limit,
Long offset,
String sort,
ApiCallback<GetFolders> callback)
Get all folders (asynchronously)
|
com.squareup.okhttp.Call |
getFoldersCall(Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFolders
|
ApiResponse<GetFolders> |
getFoldersWithHttpInfo(Long limit,
Long offset,
String sort)
Get all folders
|
ApiResponse<GetFolder> |
getFolderWithHttpInfo(Long folderId)
Returns a folder's details
|
GetExtendedList |
getList(Long listId)
Get a list's details
|
com.squareup.okhttp.Call |
getListAsync(Long listId,
ApiCallback<GetExtendedList> callback)
Get a list's details (asynchronously)
|
com.squareup.okhttp.Call |
getListCall(Long listId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getList
|
GetLists |
getLists(Long limit,
Long offset,
String sort)
Get all the lists
|
com.squareup.okhttp.Call |
getListsAsync(Long limit,
Long offset,
String sort,
ApiCallback<GetLists> callback)
Get all the lists (asynchronously)
|
com.squareup.okhttp.Call |
getListsCall(Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getLists
|
ApiResponse<GetLists> |
getListsWithHttpInfo(Long limit,
Long offset,
String sort)
Get all the lists
|
ApiResponse<GetExtendedList> |
getListWithHttpInfo(Long listId)
Get a list's details
|
CreatedProcessId |
importContacts(RequestContactImport requestContactImport)
Import contacts
It returns the background process ID which on completion calls the notify URL that you have set in the input.
|
com.squareup.okhttp.Call |
importContactsAsync(RequestContactImport requestContactImport,
ApiCallback<CreatedProcessId> callback)
Import contacts (asynchronously)
It returns the background process ID which on completion calls the notify URL that you have set in the input.
|
com.squareup.okhttp.Call |
importContactsCall(RequestContactImport requestContactImport,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importContacts
|
ApiResponse<CreatedProcessId> |
importContactsWithHttpInfo(RequestContactImport requestContactImport)
Import contacts
It returns the background process ID which on completion calls the notify URL that you have set in the input.
|
PostContactInfo |
removeContactFromList(Long listId,
RemoveContactFromList contactEmails)
Delete a contact from a list
|
com.squareup.okhttp.Call |
removeContactFromListAsync(Long listId,
RemoveContactFromList contactEmails,
ApiCallback<PostContactInfo> callback)
Delete a contact from a list (asynchronously)
|
com.squareup.okhttp.Call |
removeContactFromListCall(Long listId,
RemoveContactFromList contactEmails,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeContactFromList
|
ApiResponse<PostContactInfo> |
removeContactFromListWithHttpInfo(Long listId,
RemoveContactFromList contactEmails)
Delete a contact from a list
|
CreatedProcessId |
requestContactExport(RequestContactExport requestContactExport)
Export contacts
It returns the background process ID which on completion calls the notify URL that you have set in the input.
|
com.squareup.okhttp.Call |
requestContactExportAsync(RequestContactExport requestContactExport,
ApiCallback<CreatedProcessId> callback)
Export contacts (asynchronously)
It returns the background process ID which on completion calls the notify URL that you have set in the input.
|
com.squareup.okhttp.Call |
requestContactExportCall(RequestContactExport requestContactExport,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for requestContactExport
|
ApiResponse<CreatedProcessId> |
requestContactExportWithHttpInfo(RequestContactExport requestContactExport)
Export contacts
It returns the background process ID which on completion calls the notify URL that you have set in the input.
|
void |
setApiClient(ApiClient apiClient) |
void |
updateAttribute(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute)
Update contact attribute
|
com.squareup.okhttp.Call |
updateAttributeAsync(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute,
ApiCallback<Void> callback)
Update contact attribute (asynchronously)
|
com.squareup.okhttp.Call |
updateAttributeCall(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateAttribute
|
ApiResponse<Void> |
updateAttributeWithHttpInfo(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute)
Update contact attribute
|
void |
updateContact(String identifier,
UpdateContact updateContact)
Update a contact
|
com.squareup.okhttp.Call |
updateContactAsync(String identifier,
UpdateContact updateContact,
ApiCallback<Void> callback)
Update a contact (asynchronously)
|
com.squareup.okhttp.Call |
updateContactCall(String identifier,
UpdateContact updateContact,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateContact
|
ApiResponse<Void> |
updateContactWithHttpInfo(String identifier,
UpdateContact updateContact)
Update a contact
|
void |
updateFolder(Long folderId,
CreateUpdateFolder updateFolder)
Update a folder
|
com.squareup.okhttp.Call |
updateFolderAsync(Long folderId,
CreateUpdateFolder updateFolder,
ApiCallback<Void> callback)
Update a folder (asynchronously)
|
com.squareup.okhttp.Call |
updateFolderCall(Long folderId,
CreateUpdateFolder updateFolder,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateFolder
|
ApiResponse<Void> |
updateFolderWithHttpInfo(Long folderId,
CreateUpdateFolder updateFolder)
Update a folder
|
void |
updateList(Long listId,
UpdateList updateList)
Update a list
|
com.squareup.okhttp.Call |
updateListAsync(Long listId,
UpdateList updateList,
ApiCallback<Void> callback)
Update a list (asynchronously)
|
com.squareup.okhttp.Call |
updateListCall(Long listId,
UpdateList updateList,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateList
|
ApiResponse<Void> |
updateListWithHttpInfo(Long listId,
UpdateList updateList)
Update a list
|
public ContactsApi()
public ContactsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addContactToListCall(Long listId, AddContactToList contactEmails, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PostContactInfo addContactToList(Long listId, AddContactToList contactEmails) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PostContactInfo> addContactToListWithHttpInfo(Long listId, AddContactToList contactEmails) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addContactToListAsync(Long listId, AddContactToList contactEmails, ApiCallback<PostContactInfo> callback) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (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 createAttributeCall(String attributeCategory, String attributeName, CreateAttribute createAttribute, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void createAttribute(String attributeCategory, String attributeName, CreateAttribute createAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createAttributeWithHttpInfo(String attributeCategory, String attributeName, CreateAttribute createAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAttributeAsync(String attributeCategory, String attributeName, CreateAttribute createAttribute, ApiCallback<Void> callback) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (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 createContactCall(CreateContact createContact, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createContact - Values to create a contact (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateUpdateContactModel createContact(CreateContact createContact) throws ApiException
createContact - Values to create a contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateUpdateContactModel> createContactWithHttpInfo(CreateContact createContact) throws ApiException
createContact - Values to create a contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createContactAsync(CreateContact createContact, ApiCallback<CreateUpdateContactModel> callback) throws ApiException
createContact - Values to create a contact (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 createDoiContactCall(CreateDoiContact createDoiContact, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createDoiContact - Values to create the Double opt-in (DOI) contact (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void createDoiContact(CreateDoiContact createDoiContact) throws ApiException
createDoiContact - Values to create the Double opt-in (DOI) contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createDoiContactWithHttpInfo(CreateDoiContact createDoiContact) throws ApiException
createDoiContact - Values to create the Double opt-in (DOI) contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createDoiContactAsync(CreateDoiContact createDoiContact, ApiCallback<Void> callback) throws ApiException
createDoiContact - Values to create the Double opt-in (DOI) contact (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 createFolderCall(CreateUpdateFolder createFolder, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createFolder - Name of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateModel createFolder(CreateUpdateFolder createFolder) throws ApiException
createFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateModel> createFolderWithHttpInfo(CreateUpdateFolder createFolder) throws ApiException
createFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createFolderAsync(CreateUpdateFolder createFolder, ApiCallback<CreateModel> callback) throws ApiException
createFolder - Name of the folder (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 createListCall(CreateList createList, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createList - Values to create a list (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateModel createList(CreateList createList) throws ApiException
createList - Values to create a list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateModel> createListWithHttpInfo(CreateList createList) throws ApiException
createList - Values to create a list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createListAsync(CreateList createList, ApiCallback<CreateModel> callback) throws ApiException
createList - Values to create a 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 deleteAttributeCall(String attributeCategory, String attributeName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteAttribute(String attributeCategory, String attributeName) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAttributeWithHttpInfo(String attributeCategory, String attributeName) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAttributeAsync(String attributeCategory, String attributeName, ApiCallback<Void> callback) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (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 deleteContactCall(String identifier, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteContact(String identifier) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteContactWithHttpInfo(String identifier) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteContactAsync(String identifier, ApiCallback<Void> callback) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (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 deleteFolderCall(Long folderId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - Id of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteFolder(Long folderId) throws ApiException
folderId - Id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteFolderWithHttpInfo(Long folderId) throws ApiException
folderId - Id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteFolderAsync(Long folderId, ApiCallback<Void> callback) throws ApiException
folderId - Id of the folder (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 deleteListCall(Long listId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Id of the list (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteList(Long listId) throws ApiException
listId - Id of the list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteListWithHttpInfo(Long listId) throws ApiException
listId - Id of the list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteListAsync(Long listId, ApiCallback<Void> callback) throws ApiException
listId - Id of the 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 getAttributesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetAttributes getAttributes() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetAttributes> getAttributesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAttributesAsync(ApiCallback<GetAttributes> 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 objectpublic com.squareup.okhttp.Call getContactInfoCall(String identifier, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
identifier - Email (urlencoded) OR ID of the contact OR its SMS attribute value (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetExtendedContactDetails getContactInfo(String identifier) throws ApiException
identifier - Email (urlencoded) OR ID of the contact OR its SMS attribute value (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetExtendedContactDetails> getContactInfoWithHttpInfo(String identifier) throws ApiException
identifier - Email (urlencoded) OR ID of the contact OR its SMS attribute value (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getContactInfoAsync(String identifier, ApiCallback<GetExtendedContactDetails> callback) throws ApiException
identifier - Email (urlencoded) OR ID of the contact OR its SMS attribute value (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 getContactStatsCall(String identifier, String startDate, String endDate, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetContactCampaignStats getContactStats(String identifier, String startDate, String endDate) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetContactCampaignStats> getContactStatsWithHttpInfo(String identifier, String startDate, String endDate) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getContactStatsAsync(String identifier, String startDate, String endDate, ApiCallback<GetContactCampaignStats> callback) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (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 getContactsCall(Long limit, Long offset, String modifiedSince, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetContacts getContacts(Long limit, Long offset, String modifiedSince, String sort) throws ApiException
limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetContacts> getContactsWithHttpInfo(Long limit, Long offset, String modifiedSince, String sort) throws ApiException
limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getContactsAsync(Long limit, Long offset, String modifiedSince, String sort, ApiCallback<GetContacts> callback) throws ApiException
limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)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 getContactsFromListCall(Long listId, String modifiedSince, Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Id of the list (required)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetContacts getContactsFromList(Long listId, String modifiedSince, Long limit, Long offset, String sort) throws ApiException
listId - Id of the list (required)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetContacts> getContactsFromListWithHttpInfo(Long listId, String modifiedSince, Long limit, Long offset, String sort) throws ApiException
listId - Id of the list (required)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getContactsFromListAsync(Long listId, String modifiedSince, Long limit, Long offset, String sort, ApiCallback<GetContacts> callback) throws ApiException
listId - Id of the list (required)modifiedSince - Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)limit - Number of documents per page (optional, default to 50)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)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 getFolderCall(Long folderId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - id of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetFolder getFolder(Long folderId) throws ApiException
folderId - id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetFolder> getFolderWithHttpInfo(Long folderId) throws ApiException
folderId - id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFolderAsync(Long folderId, ApiCallback<GetFolder> callback) throws ApiException
folderId - id of the folder (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 getFolderListsCall(Long folderId, Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetFolderLists getFolderLists(Long folderId, Long limit, Long offset, String sort) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetFolderLists> getFolderListsWithHttpInfo(Long folderId, Long limit, Long offset, String sort) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFolderListsAsync(Long folderId, Long limit, Long offset, String sort, ApiCallback<GetFolderLists> callback) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)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 getFoldersCall(Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetFolders getFolders(Long limit, Long offset, String sort) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetFolders> getFoldersWithHttpInfo(Long limit, Long offset, String sort) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFoldersAsync(Long limit, Long offset, String sort, ApiCallback<GetFolders> callback) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)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 getListCall(Long listId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Id of the list (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetExtendedList getList(Long listId) throws ApiException
listId - Id of the list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetExtendedList> getListWithHttpInfo(Long listId) throws ApiException
listId - Id of the list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getListAsync(Long listId, ApiCallback<GetExtendedList> callback) throws ApiException
listId - Id of the 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 getListsCall(Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetLists getLists(Long limit, Long offset, String sort) throws ApiException
limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetLists> getListsWithHttpInfo(Long limit, Long offset, String sort) throws ApiException
limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getListsAsync(Long limit, Long offset, String sort, ApiCallback<GetLists> callback) throws ApiException
limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)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 importContactsCall(RequestContactImport requestContactImport, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
requestContactImport - Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreatedProcessId importContacts(RequestContactImport requestContactImport) throws ApiException
requestContactImport - Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreatedProcessId> importContactsWithHttpInfo(RequestContactImport requestContactImport) throws ApiException
requestContactImport - Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importContactsAsync(RequestContactImport requestContactImport, ApiCallback<CreatedProcessId> callback) throws ApiException
requestContactImport - Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (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 removeContactFromListCall(Long listId, RemoveContactFromList contactEmails, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PostContactInfo removeContactFromList(Long listId, RemoveContactFromList contactEmails) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PostContactInfo> removeContactFromListWithHttpInfo(Long listId, RemoveContactFromList contactEmails) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeContactFromListAsync(Long listId, RemoveContactFromList contactEmails, ApiCallback<PostContactInfo> callback) throws ApiException
listId - Id of the list (required)contactEmails - Emails addresses OR IDs of the contacts (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 requestContactExportCall(RequestContactExport requestContactExport, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
requestContactExport - Values to request a contact export (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreatedProcessId requestContactExport(RequestContactExport requestContactExport) throws ApiException
requestContactExport - Values to request a contact export (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreatedProcessId> requestContactExportWithHttpInfo(RequestContactExport requestContactExport) throws ApiException
requestContactExport - Values to request a contact export (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call requestContactExportAsync(RequestContactExport requestContactExport, ApiCallback<CreatedProcessId> callback) throws ApiException
requestContactExport - Values to request a contact export (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 updateAttributeCall(String attributeCategory, String attributeName, UpdateAttribute updateAttribute, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateAttribute(String attributeCategory, String attributeName, UpdateAttribute updateAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateAttributeWithHttpInfo(String attributeCategory, String attributeName, UpdateAttribute updateAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateAttributeAsync(String attributeCategory, String attributeName, UpdateAttribute updateAttribute, ApiCallback<Void> callback) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (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 updateContactCall(String identifier, UpdateContact updateContact, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)updateContact - Values to update a contact (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateContact(String identifier, UpdateContact updateContact) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)updateContact - Values to update a contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateContactWithHttpInfo(String identifier, UpdateContact updateContact) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)updateContact - Values to update a contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateContactAsync(String identifier, UpdateContact updateContact, ApiCallback<Void> callback) throws ApiException
identifier - Email (urlencoded) OR ID of the contact (required)updateContact - Values to update a contact (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 updateFolderCall(Long folderId, CreateUpdateFolder updateFolder, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateFolder(Long folderId, CreateUpdateFolder updateFolder) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateFolderWithHttpInfo(Long folderId, CreateUpdateFolder updateFolder) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateFolderAsync(Long folderId, CreateUpdateFolder updateFolder, ApiCallback<Void> callback) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (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 updateListCall(Long listId, UpdateList updateList, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
listId - Id of the list (required)updateList - Values to update a list (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateList(Long listId, UpdateList updateList) throws ApiException
listId - Id of the list (required)updateList - Values to update a list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateListWithHttpInfo(Long listId, UpdateList updateList) throws ApiException
listId - Id of the list (required)updateList - Values to update a list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateListAsync(Long listId, UpdateList updateList, ApiCallback<Void> callback) throws ApiException
listId - Id of the list (required)updateList - Values to update a 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 objectCopyright © 2021. All rights reserved.