@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T16:43:29.220+01:00") public class SendingAPIApi extends Object
| Constructor and Description |
|---|
SendingAPIApi() |
SendingAPIApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
SendEmailResponse |
sendEmail(String xPostmarkServerToken,
SendEmailRequest body)
Send a single email
|
SendEmailBatchResponse |
sendEmailBatch(String xPostmarkServerToken,
SendEmailBatchRequest body)
Send a batch of emails
|
SendEmailResponse |
sendEmailWithTemplate(String xPostmarkServerToken,
EmailWithTemplateRequest body)
Send an email using a Template
|
void |
setApiClient(ApiClient apiClient) |
public SendingAPIApi()
public SendingAPIApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public SendEmailResponse sendEmail(String xPostmarkServerToken, SendEmailRequest body) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)body - (optional)ApiException - if fails to make API callpublic SendEmailBatchResponse sendEmailBatch(String xPostmarkServerToken, SendEmailBatchRequest body) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)body - (optional)ApiException - if fails to make API callpublic SendEmailResponse sendEmailWithTemplate(String xPostmarkServerToken, EmailWithTemplateRequest body) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)body - (required)ApiException - if fails to make API callCopyright © 2019. All rights reserved.