public class EmailsApi extends Object
| Constructor and Description |
|---|
EmailsApi() |
EmailsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
EmailSend |
emailsMergePost(EmailMergeMessage body)
Send bulk merge email
|
com.squareup.okhttp.Call |
emailsMergePostAsync(EmailMergeMessage body,
ApiCallback<EmailSend> callback)
Send bulk merge email (asynchronously)
|
com.squareup.okhttp.Call |
emailsMergePostCall(EmailMergeMessage body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailsMergePost
|
ApiResponse<EmailSend> |
emailsMergePostWithHttpInfo(EmailMergeMessage body)
Send bulk merge email
|
Email |
emailsMsgidViewGet(String msgid)
View email
|
com.squareup.okhttp.Call |
emailsMsgidViewGetAsync(String msgid,
ApiCallback<Email> callback)
View email (asynchronously)
|
com.squareup.okhttp.Call |
emailsMsgidViewGetCall(String msgid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailsMsgidViewGet
|
ApiResponse<Email> |
emailsMsgidViewGetWithHttpInfo(String msgid)
View email
|
EmailSend |
emailsTransactionalPost(EmailTransactionalMessage body)
Send transactional message (recipients will be known to each other)
|
com.squareup.okhttp.Call |
emailsTransactionalPostAsync(EmailTransactionalMessage body,
ApiCallback<EmailSend> callback)
Send transactional message (recipients will be known to each other) (asynchronously)
|
com.squareup.okhttp.Call |
emailsTransactionalPostCall(EmailTransactionalMessage body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailsTransactionalPost
|
ApiResponse<EmailSend> |
emailsTransactionalPostWithHttpInfo(EmailTransactionalMessage body)
Send transactional message (recipients will be known to each other)
|
void |
emailsTransactionidCancelPost(String transactionid)
Cancels emails that are waiting to be sent.
|
com.squareup.okhttp.Call |
emailsTransactionidCancelPostAsync(String transactionid,
ApiCallback<Void> callback)
Cancels emails that are waiting to be sent.
|
com.squareup.okhttp.Call |
emailsTransactionidCancelPostCall(String transactionid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailsTransactionidCancelPost
|
ApiResponse<Void> |
emailsTransactionidCancelPostWithHttpInfo(String transactionid)
Cancels emails that are waiting to be sent.
|
EmailJobStatus |
emailsTransactionidStatusGet(String transactionid,
Boolean showFailed,
Boolean showSent,
Boolean showDelivered,
Boolean showPending,
Boolean showOpened,
Boolean showClicked,
Boolean showAbuse,
Boolean showUnsubscribed,
Boolean showErrors,
Boolean showMessageIDs)
Get email batch status
|
com.squareup.okhttp.Call |
emailsTransactionidStatusGetAsync(String transactionid,
Boolean showFailed,
Boolean showSent,
Boolean showDelivered,
Boolean showPending,
Boolean showOpened,
Boolean showClicked,
Boolean showAbuse,
Boolean showUnsubscribed,
Boolean showErrors,
Boolean showMessageIDs,
ApiCallback<EmailJobStatus> callback)
Get email batch status (asynchronously)
|
com.squareup.okhttp.Call |
emailsTransactionidStatusGetCall(String transactionid,
Boolean showFailed,
Boolean showSent,
Boolean showDelivered,
Boolean showPending,
Boolean showOpened,
Boolean showClicked,
Boolean showAbuse,
Boolean showUnsubscribed,
Boolean showErrors,
Boolean showMessageIDs,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailsTransactionidStatusGet
|
ApiResponse<EmailJobStatus> |
emailsTransactionidStatusGetWithHttpInfo(String transactionid,
Boolean showFailed,
Boolean showSent,
Boolean showDelivered,
Boolean showPending,
Boolean showOpened,
Boolean showClicked,
Boolean showAbuse,
Boolean showUnsubscribed,
Boolean showErrors,
Boolean showMessageIDs)
Get email batch status
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public EmailsApi()
public EmailsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call emailsMergePostCall(EmailMergeMessage body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Content of message, HTML encoded (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EmailSend emailsMergePost(EmailMergeMessage body) throws ApiException
body - Content of message, HTML encoded (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EmailSend> emailsMergePostWithHttpInfo(EmailMergeMessage body) throws ApiException
body - Content of message, HTML encoded (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailsMergePostAsync(EmailMergeMessage body, ApiCallback<EmailSend> callback) throws ApiException
body - Content of message, HTML encoded (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 emailsMsgidViewGetCall(String msgid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
msgid - Message identifier (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Email emailsMsgidViewGet(String msgid) throws ApiException
msgid - Message identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Email> emailsMsgidViewGetWithHttpInfo(String msgid) throws ApiException
msgid - Message identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailsMsgidViewGetAsync(String msgid, ApiCallback<Email> callback) throws ApiException
msgid - Message identifier (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 emailsTransactionalPostCall(EmailTransactionalMessage body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Content of message, HTML encoded (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EmailSend emailsTransactionalPost(EmailTransactionalMessage body) throws ApiException
body - Content of message, HTML encoded (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EmailSend> emailsTransactionalPostWithHttpInfo(EmailTransactionalMessage body) throws ApiException
body - Content of message, HTML encoded (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailsTransactionalPostAsync(EmailTransactionalMessage body, ApiCallback<EmailSend> callback) throws ApiException
body - Content of message, HTML encoded (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 emailsTransactionidCancelPostCall(String transactionid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
transactionid - ID number of transaction (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void emailsTransactionidCancelPost(String transactionid) throws ApiException
transactionid - ID number of transaction (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> emailsTransactionidCancelPostWithHttpInfo(String transactionid) throws ApiException
transactionid - ID number of transaction (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailsTransactionidCancelPostAsync(String transactionid, ApiCallback<Void> callback) throws ApiException
transactionid - ID number of transaction (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 emailsTransactionidStatusGetCall(String transactionid, Boolean showFailed, Boolean showSent, Boolean showDelivered, Boolean showPending, Boolean showOpened, Boolean showClicked, Boolean showAbuse, Boolean showUnsubscribed, Boolean showErrors, Boolean showMessageIDs, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
transactionid - Transaction identifier (required)showFailed - Include Bounced email addresses. (optional, default to False)showSent - Include Sent email addresses. (optional, default to False)showDelivered - Include all delivered email addresses. (optional, default to False)showPending - Include Ready to send email addresses. (optional, default to False)showOpened - Include Opened email addresses. (optional, default to False)showClicked - Include Clicked email addresses. (optional, default to False)showAbuse - Include Reported as abuse email addresses. (optional, default to False)showUnsubscribed - Include Unsubscribed email addresses. (optional, default to False)showErrors - Include error messages for bounced emails. (optional, default to False)showMessageIDs - Include all MessageIDs for this transaction (optional, default to False)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EmailJobStatus emailsTransactionidStatusGet(String transactionid, Boolean showFailed, Boolean showSent, Boolean showDelivered, Boolean showPending, Boolean showOpened, Boolean showClicked, Boolean showAbuse, Boolean showUnsubscribed, Boolean showErrors, Boolean showMessageIDs) throws ApiException
transactionid - Transaction identifier (required)showFailed - Include Bounced email addresses. (optional, default to False)showSent - Include Sent email addresses. (optional, default to False)showDelivered - Include all delivered email addresses. (optional, default to False)showPending - Include Ready to send email addresses. (optional, default to False)showOpened - Include Opened email addresses. (optional, default to False)showClicked - Include Clicked email addresses. (optional, default to False)showAbuse - Include Reported as abuse email addresses. (optional, default to False)showUnsubscribed - Include Unsubscribed email addresses. (optional, default to False)showErrors - Include error messages for bounced emails. (optional, default to False)showMessageIDs - Include all MessageIDs for this transaction (optional, default to False)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EmailJobStatus> emailsTransactionidStatusGetWithHttpInfo(String transactionid, Boolean showFailed, Boolean showSent, Boolean showDelivered, Boolean showPending, Boolean showOpened, Boolean showClicked, Boolean showAbuse, Boolean showUnsubscribed, Boolean showErrors, Boolean showMessageIDs) throws ApiException
transactionid - Transaction identifier (required)showFailed - Include Bounced email addresses. (optional, default to False)showSent - Include Sent email addresses. (optional, default to False)showDelivered - Include all delivered email addresses. (optional, default to False)showPending - Include Ready to send email addresses. (optional, default to False)showOpened - Include Opened email addresses. (optional, default to False)showClicked - Include Clicked email addresses. (optional, default to False)showAbuse - Include Reported as abuse email addresses. (optional, default to False)showUnsubscribed - Include Unsubscribed email addresses. (optional, default to False)showErrors - Include error messages for bounced emails. (optional, default to False)showMessageIDs - Include all MessageIDs for this transaction (optional, default to False)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailsTransactionidStatusGetAsync(String transactionid, Boolean showFailed, Boolean showSent, Boolean showDelivered, Boolean showPending, Boolean showOpened, Boolean showClicked, Boolean showAbuse, Boolean showUnsubscribed, Boolean showErrors, Boolean showMessageIDs, ApiCallback<EmailJobStatus> callback) throws ApiException
transactionid - Transaction identifier (required)showFailed - Include Bounced email addresses. (optional, default to False)showSent - Include Sent email addresses. (optional, default to False)showDelivered - Include all delivered email addresses. (optional, default to False)showPending - Include Ready to send email addresses. (optional, default to False)showOpened - Include Opened email addresses. (optional, default to False)showClicked - Include Clicked email addresses. (optional, default to False)showAbuse - Include Reported as abuse email addresses. (optional, default to False)showUnsubscribed - Include Unsubscribed email addresses. (optional, default to False)showErrors - Include error messages for bounced emails. (optional, default to False)showMessageIDs - Include all MessageIDs for this transaction (optional, default to False)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.