public class TransactionalEmailsApi extends Object
| Constructor and Description |
|---|
TransactionalEmailsApi() |
TransactionalEmailsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
blockNewDomain(BlockDomain blockDomain)
Add a new domain to the list of blocked domains
Blocks a new domain in order to avoid messages being sent to the same
|
com.squareup.okhttp.Call |
blockNewDomainAsync(BlockDomain blockDomain,
ApiCallback<Void> callback)
Add a new domain to the list of blocked domains (asynchronously)
Blocks a new domain in order to avoid messages being sent to the same
|
com.squareup.okhttp.Call |
blockNewDomainCall(BlockDomain blockDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for blockNewDomain
|
ApiResponse<Void> |
blockNewDomainWithHttpInfo(BlockDomain blockDomain)
Add a new domain to the list of blocked domains
Blocks a new domain in order to avoid messages being sent to the same
|
CreateModel |
createSmtpTemplate(CreateSmtpTemplate smtpTemplate)
Create an email template
|
com.squareup.okhttp.Call |
createSmtpTemplateAsync(CreateSmtpTemplate smtpTemplate,
ApiCallback<CreateModel> callback)
Create an email template (asynchronously)
|
com.squareup.okhttp.Call |
createSmtpTemplateCall(CreateSmtpTemplate smtpTemplate,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createSmtpTemplate
|
ApiResponse<CreateModel> |
createSmtpTemplateWithHttpInfo(CreateSmtpTemplate smtpTemplate)
Create an email template
|
void |
deleteBlockedDomain(String domain)
Unblock an existing domain from the list of blocked domains
Unblocks an existing domain from the list of blocked domains
|
com.squareup.okhttp.Call |
deleteBlockedDomainAsync(String domain,
ApiCallback<Void> callback)
Unblock an existing domain from the list of blocked domains (asynchronously)
Unblocks an existing domain from the list of blocked domains
|
com.squareup.okhttp.Call |
deleteBlockedDomainCall(String domain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteBlockedDomain
|
ApiResponse<Void> |
deleteBlockedDomainWithHttpInfo(String domain)
Unblock an existing domain from the list of blocked domains
Unblocks an existing domain from the list of blocked domains
|
void |
deleteHardbounces(DeleteHardbounces deleteHardbounces)
Delete hardbounces
Delete hardbounces.
|
com.squareup.okhttp.Call |
deleteHardbouncesAsync(DeleteHardbounces deleteHardbounces,
ApiCallback<Void> callback)
Delete hardbounces (asynchronously)
Delete hardbounces.
|
com.squareup.okhttp.Call |
deleteHardbouncesCall(DeleteHardbounces deleteHardbounces,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteHardbounces
|
ApiResponse<Void> |
deleteHardbouncesWithHttpInfo(DeleteHardbounces deleteHardbounces)
Delete hardbounces
Delete hardbounces.
|
void |
deleteSmtpTemplate(Long templateId)
Delete an inactive email template
|
com.squareup.okhttp.Call |
deleteSmtpTemplateAsync(Long templateId,
ApiCallback<Void> callback)
Delete an inactive email template (asynchronously)
|
com.squareup.okhttp.Call |
deleteSmtpTemplateCall(Long templateId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteSmtpTemplate
|
ApiResponse<Void> |
deleteSmtpTemplateWithHttpInfo(Long templateId)
Delete an inactive email template
|
GetAggregatedReport |
getAggregatedSmtpReport(String startDate,
String endDate,
Long days,
String tag)
Get your transactional email activity aggregated over a period of time
|
com.squareup.okhttp.Call |
getAggregatedSmtpReportAsync(String startDate,
String endDate,
Long days,
String tag,
ApiCallback<GetAggregatedReport> callback)
Get your transactional email activity aggregated over a period of time (asynchronously)
|
com.squareup.okhttp.Call |
getAggregatedSmtpReportCall(String startDate,
String endDate,
Long days,
String tag,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAggregatedSmtpReport
|
ApiResponse<GetAggregatedReport> |
getAggregatedSmtpReportWithHttpInfo(String startDate,
String endDate,
Long days,
String tag)
Get your transactional email activity aggregated over a period of time
|
ApiClient |
getApiClient() |
GetBlockedDomains |
getBlockedDomains()
Get the list of blocked domains
Get the list of blocked domains
|
com.squareup.okhttp.Call |
getBlockedDomainsAsync(ApiCallback<GetBlockedDomains> callback)
Get the list of blocked domains (asynchronously)
Get the list of blocked domains
|
com.squareup.okhttp.Call |
getBlockedDomainsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getBlockedDomains
|
ApiResponse<GetBlockedDomains> |
getBlockedDomainsWithHttpInfo()
Get the list of blocked domains
Get the list of blocked domains
|
GetEmailEventReport |
getEmailEventReport(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String email,
String event,
String tags,
String messageId,
Long templateId,
String sort)
Get all your transactional email activity (unaggregated events)
|
com.squareup.okhttp.Call |
getEmailEventReportAsync(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String email,
String event,
String tags,
String messageId,
Long templateId,
String sort,
ApiCallback<GetEmailEventReport> callback)
Get all your transactional email activity (unaggregated events) (asynchronously)
|
com.squareup.okhttp.Call |
getEmailEventReportCall(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String email,
String event,
String tags,
String messageId,
Long templateId,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEmailEventReport
|
ApiResponse<GetEmailEventReport> |
getEmailEventReportWithHttpInfo(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String email,
String event,
String tags,
String messageId,
Long templateId,
String sort)
Get all your transactional email activity (unaggregated events)
|
GetReports |
getSmtpReport(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String tag,
String sort)
Get your transactional email activity aggregated per day
|
com.squareup.okhttp.Call |
getSmtpReportAsync(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String tag,
String sort,
ApiCallback<GetReports> callback)
Get your transactional email activity aggregated per day (asynchronously)
|
com.squareup.okhttp.Call |
getSmtpReportCall(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String tag,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSmtpReport
|
ApiResponse<GetReports> |
getSmtpReportWithHttpInfo(Long limit,
Long offset,
String startDate,
String endDate,
Long days,
String tag,
String sort)
Get your transactional email activity aggregated per day
|
GetSmtpTemplateOverview |
getSmtpTemplate(Long templateId)
Returns the template information
|
com.squareup.okhttp.Call |
getSmtpTemplateAsync(Long templateId,
ApiCallback<GetSmtpTemplateOverview> callback)
Returns the template information (asynchronously)
|
com.squareup.okhttp.Call |
getSmtpTemplateCall(Long templateId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSmtpTemplate
|
GetSmtpTemplates |
getSmtpTemplates(Boolean templateStatus,
Long limit,
Long offset,
String sort)
Get the list of email templates
|
com.squareup.okhttp.Call |
getSmtpTemplatesAsync(Boolean templateStatus,
Long limit,
Long offset,
String sort,
ApiCallback<GetSmtpTemplates> callback)
Get the list of email templates (asynchronously)
|
com.squareup.okhttp.Call |
getSmtpTemplatesCall(Boolean templateStatus,
Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSmtpTemplates
|
ApiResponse<GetSmtpTemplates> |
getSmtpTemplatesWithHttpInfo(Boolean templateStatus,
Long limit,
Long offset,
String sort)
Get the list of email templates
|
ApiResponse<GetSmtpTemplateOverview> |
getSmtpTemplateWithHttpInfo(Long templateId)
Returns the template information
|
GetTransacBlockedContacts |
getTransacBlockedContacts(String startDate,
String endDate,
Long limit,
Long offset,
List<String> senders,
String sort)
Get the list of blocked or unsubscribed transactional contacts
|
com.squareup.okhttp.Call |
getTransacBlockedContactsAsync(String startDate,
String endDate,
Long limit,
Long offset,
List<String> senders,
String sort,
ApiCallback<GetTransacBlockedContacts> callback)
Get the list of blocked or unsubscribed transactional contacts (asynchronously)
|
com.squareup.okhttp.Call |
getTransacBlockedContactsCall(String startDate,
String endDate,
Long limit,
Long offset,
List<String> senders,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTransacBlockedContacts
|
ApiResponse<GetTransacBlockedContacts> |
getTransacBlockedContactsWithHttpInfo(String startDate,
String endDate,
Long limit,
Long offset,
List<String> senders,
String sort)
Get the list of blocked or unsubscribed transactional contacts
|
GetTransacEmailContent |
getTransacEmailContent(String uuid)
Get the personalized content of a sent transactional email
|
com.squareup.okhttp.Call |
getTransacEmailContentAsync(String uuid,
ApiCallback<GetTransacEmailContent> callback)
Get the personalized content of a sent transactional email (asynchronously)
|
com.squareup.okhttp.Call |
getTransacEmailContentCall(String uuid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTransacEmailContent
|
ApiResponse<GetTransacEmailContent> |
getTransacEmailContentWithHttpInfo(String uuid)
Get the personalized content of a sent transactional email
|
GetTransacEmailsList |
getTransacEmailsList(String email,
Long templateId,
String messageId,
String startDate,
String endDate,
String sort)
Get the list of transactional emails on the basis of allowed filters
This endpoint will show the list of emails for past 30 days by default.
|
com.squareup.okhttp.Call |
getTransacEmailsListAsync(String email,
Long templateId,
String messageId,
String startDate,
String endDate,
String sort,
ApiCallback<GetTransacEmailsList> callback)
Get the list of transactional emails on the basis of allowed filters (asynchronously)
This endpoint will show the list of emails for past 30 days by default.
|
com.squareup.okhttp.Call |
getTransacEmailsListCall(String email,
Long templateId,
String messageId,
String startDate,
String endDate,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTransacEmailsList
|
ApiResponse<GetTransacEmailsList> |
getTransacEmailsListWithHttpInfo(String email,
Long templateId,
String messageId,
String startDate,
String endDate,
String sort)
Get the list of transactional emails on the basis of allowed filters
This endpoint will show the list of emails for past 30 days by default.
|
SendTemplateEmail |
sendTemplate(Long templateId,
SendEmail sendEmail)
Deprecated.
|
com.squareup.okhttp.Call |
sendTemplateAsync(Long templateId,
SendEmail sendEmail,
ApiCallback<SendTemplateEmail> callback)
Deprecated.
|
com.squareup.okhttp.Call |
sendTemplateCall(Long templateId,
SendEmail sendEmail,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Deprecated.
|
ApiResponse<SendTemplateEmail> |
sendTemplateWithHttpInfo(Long templateId,
SendEmail sendEmail)
Deprecated.
|
void |
sendTestTemplate(Long templateId,
SendTestEmail sendTestEmail)
Send a template to your test list
|
com.squareup.okhttp.Call |
sendTestTemplateAsync(Long templateId,
SendTestEmail sendTestEmail,
ApiCallback<Void> callback)
Send a template to your test list (asynchronously)
|
com.squareup.okhttp.Call |
sendTestTemplateCall(Long templateId,
SendTestEmail sendTestEmail,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sendTestTemplate
|
ApiResponse<Void> |
sendTestTemplateWithHttpInfo(Long templateId,
SendTestEmail sendTestEmail)
Send a template to your test list
|
CreateSmtpEmail |
sendTransacEmail(SendSmtpEmail sendSmtpEmail)
Send a transactional email
|
com.squareup.okhttp.Call |
sendTransacEmailAsync(SendSmtpEmail sendSmtpEmail,
ApiCallback<CreateSmtpEmail> callback)
Send a transactional email (asynchronously)
|
com.squareup.okhttp.Call |
sendTransacEmailCall(SendSmtpEmail sendSmtpEmail,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sendTransacEmail
|
ApiResponse<CreateSmtpEmail> |
sendTransacEmailWithHttpInfo(SendSmtpEmail sendSmtpEmail)
Send a transactional email
|
void |
setApiClient(ApiClient apiClient) |
void |
smtpBlockedContactsEmailDelete(String email)
Unblock or resubscribe a transactional contact
|
com.squareup.okhttp.Call |
smtpBlockedContactsEmailDeleteAsync(String email,
ApiCallback<Void> callback)
Unblock or resubscribe a transactional contact (asynchronously)
|
com.squareup.okhttp.Call |
smtpBlockedContactsEmailDeleteCall(String email,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smtpBlockedContactsEmailDelete
|
ApiResponse<Void> |
smtpBlockedContactsEmailDeleteWithHttpInfo(String email)
Unblock or resubscribe a transactional contact
|
void |
smtpLogMessageIdDelete(String messageId)
Delete an SMTP transactional log
|
com.squareup.okhttp.Call |
smtpLogMessageIdDeleteAsync(String messageId,
ApiCallback<Void> callback)
Delete an SMTP transactional log (asynchronously)
|
com.squareup.okhttp.Call |
smtpLogMessageIdDeleteCall(String messageId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smtpLogMessageIdDelete
|
ApiResponse<Void> |
smtpLogMessageIdDeleteWithHttpInfo(String messageId)
Delete an SMTP transactional log
|
void |
updateSmtpTemplate(Long templateId,
UpdateSmtpTemplate smtpTemplate)
Update an email template
|
com.squareup.okhttp.Call |
updateSmtpTemplateAsync(Long templateId,
UpdateSmtpTemplate smtpTemplate,
ApiCallback<Void> callback)
Update an email template (asynchronously)
|
com.squareup.okhttp.Call |
updateSmtpTemplateCall(Long templateId,
UpdateSmtpTemplate smtpTemplate,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateSmtpTemplate
|
ApiResponse<Void> |
updateSmtpTemplateWithHttpInfo(Long templateId,
UpdateSmtpTemplate smtpTemplate)
Update an email template
|
public TransactionalEmailsApi()
public TransactionalEmailsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call blockNewDomainCall(BlockDomain blockDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
blockDomain - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void blockNewDomain(BlockDomain blockDomain) throws ApiException
blockDomain - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> blockNewDomainWithHttpInfo(BlockDomain blockDomain) throws ApiException
blockDomain - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call blockNewDomainAsync(BlockDomain blockDomain, ApiCallback<Void> callback) throws ApiException
blockDomain - (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 createSmtpTemplateCall(CreateSmtpTemplate smtpTemplate, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
smtpTemplate - values to update in transactional email template (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateModel createSmtpTemplate(CreateSmtpTemplate smtpTemplate) throws ApiException
smtpTemplate - values to update in transactional email template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateModel> createSmtpTemplateWithHttpInfo(CreateSmtpTemplate smtpTemplate) throws ApiException
smtpTemplate - values to update in transactional email template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSmtpTemplateAsync(CreateSmtpTemplate smtpTemplate, ApiCallback<CreateModel> callback) throws ApiException
smtpTemplate - values to update in transactional email template (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 deleteBlockedDomainCall(String domain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
domain - The name of the domain to be deleted (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteBlockedDomain(String domain) throws ApiException
domain - The name of the domain to be deleted (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteBlockedDomainWithHttpInfo(String domain) throws ApiException
domain - The name of the domain to be deleted (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteBlockedDomainAsync(String domain, ApiCallback<Void> callback) throws ApiException
domain - The name of the domain to be deleted (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 deleteHardbouncesCall(DeleteHardbounces deleteHardbounces, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
deleteHardbounces - values to delete hardbounces (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteHardbounces(DeleteHardbounces deleteHardbounces) throws ApiException
deleteHardbounces - values to delete hardbounces (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteHardbouncesWithHttpInfo(DeleteHardbounces deleteHardbounces) throws ApiException
deleteHardbounces - values to delete hardbounces (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteHardbouncesAsync(DeleteHardbounces deleteHardbounces, ApiCallback<Void> callback) throws ApiException
deleteHardbounces - values to delete hardbounces (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 deleteSmtpTemplateCall(Long templateId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - id of the template (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteSmtpTemplate(Long templateId) throws ApiException
templateId - id of the template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteSmtpTemplateWithHttpInfo(Long templateId) throws ApiException
templateId - id of the template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteSmtpTemplateAsync(Long templateId, ApiCallback<Void> callback) throws ApiException
templateId - id of the template (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 getAggregatedSmtpReportCall(String startDate, String endDate, Long days, String tag, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetAggregatedReport getAggregatedSmtpReport(String startDate, String endDate, Long days, String tag) throws ApiException
startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetAggregatedReport> getAggregatedSmtpReportWithHttpInfo(String startDate, String endDate, Long days, String tag) throws ApiException
startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAggregatedSmtpReportAsync(String startDate, String endDate, Long days, String tag, ApiCallback<GetAggregatedReport> callback) throws ApiException
startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (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 getBlockedDomainsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetBlockedDomains getBlockedDomains() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetBlockedDomains> getBlockedDomainsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getBlockedDomainsAsync(ApiCallback<GetBlockedDomains> 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 getEmailEventReportCall(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Number limitation for the result returned (optional, default to 50)offset - Beginning point in the list to retrieve from. (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)email - Filter the report for a specific email addresses (optional)event - Filter the report for a specific event type (optional)tags - Filter the report for tags (serialized and urlencoded array) (optional)messageId - Filter on a specific message id (optional)templateId - Filter on a specific template id (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 GetEmailEventReport getEmailEventReport(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort) throws ApiException
limit - Number limitation for the result returned (optional, default to 50)offset - Beginning point in the list to retrieve from. (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)email - Filter the report for a specific email addresses (optional)event - Filter the report for a specific event type (optional)tags - Filter the report for tags (serialized and urlencoded array) (optional)messageId - Filter on a specific message id (optional)templateId - Filter on a specific template id (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<GetEmailEventReport> getEmailEventReportWithHttpInfo(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort) throws ApiException
limit - Number limitation for the result returned (optional, default to 50)offset - Beginning point in the list to retrieve from. (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)email - Filter the report for a specific email addresses (optional)event - Filter the report for a specific event type (optional)tags - Filter the report for tags (serialized and urlencoded array) (optional)messageId - Filter on a specific message id (optional)templateId - Filter on a specific template id (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 getEmailEventReportAsync(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort, ApiCallback<GetEmailEventReport> callback) throws ApiException
limit - Number limitation for the result returned (optional, default to 50)offset - Beginning point in the list to retrieve from. (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)email - Filter the report for a specific email addresses (optional)event - Filter the report for a specific event type (optional)tags - Filter the report for tags (serialized and urlencoded array) (optional)messageId - Filter on a specific message id (optional)templateId - Filter on a specific template id (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 getSmtpReportCall(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Number of documents returned per page (optional, default to 10)offset - Index of the first document on the page (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (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 GetReports getSmtpReport(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort) throws ApiException
limit - Number of documents returned per page (optional, default to 10)offset - Index of the first document on the page (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (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<GetReports> getSmtpReportWithHttpInfo(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort) throws ApiException
limit - Number of documents returned per page (optional, default to 10)offset - Index of the first document on the page (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (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 getSmtpReportAsync(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort, ApiCallback<GetReports> callback) throws ApiException
limit - Number of documents returned per page (optional, default to 10)offset - Index of the first document on the page (optional, default to 0)startDate - Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) (optional)endDate - Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional)days - Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional)tag - Tag of the emails (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 getSmtpTemplateCall(Long templateId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - id of the template (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetSmtpTemplateOverview getSmtpTemplate(Long templateId) throws ApiException
templateId - id of the template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetSmtpTemplateOverview> getSmtpTemplateWithHttpInfo(Long templateId) throws ApiException
templateId - id of the template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSmtpTemplateAsync(Long templateId, ApiCallback<GetSmtpTemplateOverview> callback) throws ApiException
templateId - id of the template (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 getSmtpTemplatesCall(Boolean templateStatus, Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateStatus - Filter on the status of the template. Active = true, inactive = false (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document in 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 GetSmtpTemplates getSmtpTemplates(Boolean templateStatus, Long limit, Long offset, String sort) throws ApiException
templateStatus - Filter on the status of the template. Active = true, inactive = false (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document in 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<GetSmtpTemplates> getSmtpTemplatesWithHttpInfo(Boolean templateStatus, Long limit, Long offset, String sort) throws ApiException
templateStatus - Filter on the status of the template. Active = true, inactive = false (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document in 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 getSmtpTemplatesAsync(Boolean templateStatus, Long limit, Long offset, String sort, ApiCallback<GetSmtpTemplates> callback) throws ApiException
templateStatus - Filter on the status of the template. Active = true, inactive = false (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document in 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 getTransacBlockedContactsCall(String startDate, String endDate, Long limit, Long offset, List<String> senders, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the blocked or unsubscribed contacts (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the blocked or unsubscribed contacts (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document on the page (optional, default to 0)senders - Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (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 GetTransacBlockedContacts getTransacBlockedContacts(String startDate, String endDate, Long limit, Long offset, List<String> senders, String sort) throws ApiException
startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the blocked or unsubscribed contacts (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the blocked or unsubscribed contacts (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document on the page (optional, default to 0)senders - Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (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<GetTransacBlockedContacts> getTransacBlockedContactsWithHttpInfo(String startDate, String endDate, Long limit, Long offset, List<String> senders, String sort) throws ApiException
startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the blocked or unsubscribed contacts (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the blocked or unsubscribed contacts (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document on the page (optional, default to 0)senders - Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (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 getTransacBlockedContactsAsync(String startDate, String endDate, Long limit, Long offset, List<String> senders, String sort, ApiCallback<GetTransacBlockedContacts> callback) throws ApiException
startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the blocked or unsubscribed contacts (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the blocked or unsubscribed contacts (optional)limit - Number of documents returned per page (optional, default to 50)offset - Index of the first document on the page (optional, default to 0)senders - Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (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 getTransacEmailContentCall(String uuid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
uuid - Unique id of the transactional email that has been sent to a particular contact (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetTransacEmailContent getTransacEmailContent(String uuid) throws ApiException
uuid - Unique id of the transactional email that has been sent to a particular contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetTransacEmailContent> getTransacEmailContentWithHttpInfo(String uuid) throws ApiException
uuid - Unique id of the transactional email that has been sent to a particular contact (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTransacEmailContentAsync(String uuid, ApiCallback<GetTransacEmailContent> callback) throws ApiException
uuid - Unique id of the transactional email that has been sent to a particular 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 getTransacEmailsListCall(String email, Long templateId, String messageId, String startDate, String endDate, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
email - Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. (optional)templateId - Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. (optional)messageId - Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (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 GetTransacEmailsList getTransacEmailsList(String email, Long templateId, String messageId, String startDate, String endDate, String sort) throws ApiException
email - Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. (optional)templateId - Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. (optional)messageId - Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (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<GetTransacEmailsList> getTransacEmailsListWithHttpInfo(String email, Long templateId, String messageId, String startDate, String endDate, String sort) throws ApiException
email - Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. (optional)templateId - Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. (optional)messageId - Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (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 getTransacEmailsListAsync(String email, Long templateId, String messageId, String startDate, String endDate, String sort, ApiCallback<GetTransacEmailsList> callback) throws ApiException
email - Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. (optional)templateId - Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. (optional)messageId - Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional)startDate - Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional)endDate - Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (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 object@Deprecated public com.squareup.okhttp.Call sendTemplateCall(Long templateId, SendEmail sendEmail, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - Id of the template (required)sendEmail - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body object@Deprecated public SendTemplateEmail sendTemplate(Long templateId, SendEmail sendEmail) throws ApiException
templateId - Id of the template (required)sendEmail - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body@Deprecated public ApiResponse<SendTemplateEmail> sendTemplateWithHttpInfo(Long templateId, SendEmail sendEmail) throws ApiException
templateId - Id of the template (required)sendEmail - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body@Deprecated public com.squareup.okhttp.Call sendTemplateAsync(Long templateId, SendEmail sendEmail, ApiCallback<SendTemplateEmail> callback) throws ApiException
templateId - Id of the template (required)sendEmail - (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 sendTestTemplateCall(Long templateId, SendTestEmail sendTestEmail, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - Id of the template (required)sendTestEmail - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void sendTestTemplate(Long templateId, SendTestEmail sendTestEmail) throws ApiException
templateId - Id of the template (required)sendTestEmail - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> sendTestTemplateWithHttpInfo(Long templateId, SendTestEmail sendTestEmail) throws ApiException
templateId - Id of the template (required)sendTestEmail - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call sendTestTemplateAsync(Long templateId, SendTestEmail sendTestEmail, ApiCallback<Void> callback) throws ApiException
templateId - Id of the template (required)sendTestEmail - (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 sendTransacEmailCall(SendSmtpEmail sendSmtpEmail, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
sendSmtpEmail - Values to send a transactional email (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateSmtpEmail sendTransacEmail(SendSmtpEmail sendSmtpEmail) throws ApiException
sendSmtpEmail - Values to send a transactional email (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateSmtpEmail> sendTransacEmailWithHttpInfo(SendSmtpEmail sendSmtpEmail) throws ApiException
sendSmtpEmail - Values to send a transactional email (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call sendTransacEmailAsync(SendSmtpEmail sendSmtpEmail, ApiCallback<CreateSmtpEmail> callback) throws ApiException
sendSmtpEmail - Values to send a transactional email (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 smtpBlockedContactsEmailDeleteCall(String email, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
email - contact email (urlencoded) to unblock. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void smtpBlockedContactsEmailDelete(String email) throws ApiException
email - contact email (urlencoded) to unblock. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> smtpBlockedContactsEmailDeleteWithHttpInfo(String email) throws ApiException
email - contact email (urlencoded) to unblock. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smtpBlockedContactsEmailDeleteAsync(String email, ApiCallback<Void> callback) throws ApiException
email - contact email (urlencoded) to unblock. (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 smtpLogMessageIdDeleteCall(String messageId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
messageId - MessageId of the transactional log to delete (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void smtpLogMessageIdDelete(String messageId) throws ApiException
messageId - MessageId of the transactional log to delete (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> smtpLogMessageIdDeleteWithHttpInfo(String messageId) throws ApiException
messageId - MessageId of the transactional log to delete (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smtpLogMessageIdDeleteAsync(String messageId, ApiCallback<Void> callback) throws ApiException
messageId - MessageId of the transactional log to delete (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 updateSmtpTemplateCall(Long templateId, UpdateSmtpTemplate smtpTemplate, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - id of the template (required)smtpTemplate - values to update in transactional email template (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateSmtpTemplate(Long templateId, UpdateSmtpTemplate smtpTemplate) throws ApiException
templateId - id of the template (required)smtpTemplate - values to update in transactional email template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateSmtpTemplateWithHttpInfo(Long templateId, UpdateSmtpTemplate smtpTemplate) throws ApiException
templateId - id of the template (required)smtpTemplate - values to update in transactional email template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateSmtpTemplateAsync(Long templateId, UpdateSmtpTemplate smtpTemplate, ApiCallback<Void> callback) throws ApiException
templateId - id of the template (required)smtpTemplate - values to update in transactional email template (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.