public class UserEmailTemplatesApi extends Object
| Constructor and Description |
|---|
UserEmailTemplatesApi() |
UserEmailTemplatesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
String |
emailTemplateDelete(Integer templateId)
Delete user email template
Delete user email template
|
com.squareup.okhttp.Call |
emailTemplateDeleteAsync(Integer templateId,
ApiCallback<String> callback)
Delete user email template (asynchronously)
Delete user email template
|
com.squareup.okhttp.Call |
emailTemplateDeleteCall(Integer templateId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailTemplateDelete
|
ApiResponse<String> |
emailTemplateDeleteWithHttpInfo(Integer templateId)
Delete user email template
Delete user email template
|
String |
emailTemplateGet(Integer templateId)
Get specific user email template
Get specific user email templates
|
com.squareup.okhttp.Call |
emailTemplateGetAsync(Integer templateId,
ApiCallback<String> callback)
Get specific user email template (asynchronously)
Get specific user email templates
|
com.squareup.okhttp.Call |
emailTemplateGetCall(Integer templateId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailTemplateGet
|
ApiResponse<String> |
emailTemplateGetWithHttpInfo(Integer templateId)
Get specific user email template
Get specific user email templates
|
String |
emailTemplatePost(EmailTemplateNew emailTemplate)
Create email template
Create email template
|
com.squareup.okhttp.Call |
emailTemplatePostAsync(EmailTemplateNew emailTemplate,
ApiCallback<String> callback)
Create email template (asynchronously)
Create email template
|
com.squareup.okhttp.Call |
emailTemplatePostCall(EmailTemplateNew emailTemplate,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailTemplatePost
|
ApiResponse<String> |
emailTemplatePostWithHttpInfo(EmailTemplateNew emailTemplate)
Create email template
Create email template
|
String |
emailTemplatePut(Integer templateId,
EmailTemplateUpdate emailTemplate)
Update email template
Update email template
|
com.squareup.okhttp.Call |
emailTemplatePutAsync(Integer templateId,
EmailTemplateUpdate emailTemplate,
ApiCallback<String> callback)
Update email template (asynchronously)
Update email template
|
com.squareup.okhttp.Call |
emailTemplatePutCall(Integer templateId,
EmailTemplateUpdate emailTemplate,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailTemplatePut
|
ApiResponse<String> |
emailTemplatePutWithHttpInfo(Integer templateId,
EmailTemplateUpdate emailTemplate)
Update email template
Update email template
|
String |
emailTemplatesGet(Integer page,
Integer limit)
Get all user email templates
Get all user email templates
|
com.squareup.okhttp.Call |
emailTemplatesGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all user email templates (asynchronously)
Get all user email templates
|
com.squareup.okhttp.Call |
emailTemplatesGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailTemplatesGet
|
ApiResponse<String> |
emailTemplatesGetWithHttpInfo(Integer page,
Integer limit)
Get all user email templates
Get all user email templates
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public UserEmailTemplatesApi()
public UserEmailTemplatesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call emailTemplateDeleteCall(Integer templateId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - Email template id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailTemplateDelete(Integer templateId) throws ApiException
templateId - Email template id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailTemplateDeleteWithHttpInfo(Integer templateId) throws ApiException
templateId - Email template id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailTemplateDeleteAsync(Integer templateId, ApiCallback<String> callback) throws ApiException
templateId - Email template id (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 emailTemplateGetCall(Integer templateId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - Email template id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailTemplateGet(Integer templateId) throws ApiException
templateId - Email template id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailTemplateGetWithHttpInfo(Integer templateId) throws ApiException
templateId - Email template id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailTemplateGetAsync(Integer templateId, ApiCallback<String> callback) throws ApiException
templateId - Email template id (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 emailTemplatePostCall(EmailTemplateNew emailTemplate, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
emailTemplate - Email template model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailTemplatePost(EmailTemplateNew emailTemplate) throws ApiException
emailTemplate - Email template model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailTemplatePostWithHttpInfo(EmailTemplateNew emailTemplate) throws ApiException
emailTemplate - Email template model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailTemplatePostAsync(EmailTemplateNew emailTemplate, ApiCallback<String> callback) throws ApiException
emailTemplate - Email template model (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 emailTemplatePutCall(Integer templateId, EmailTemplateUpdate emailTemplate, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
templateId - Email template id (required)emailTemplate - Email template model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailTemplatePut(Integer templateId, EmailTemplateUpdate emailTemplate) throws ApiException
templateId - Email template id (required)emailTemplate - Email template model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailTemplatePutWithHttpInfo(Integer templateId, EmailTemplateUpdate emailTemplate) throws ApiException
templateId - Email template id (required)emailTemplate - Email template model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailTemplatePutAsync(Integer templateId, EmailTemplateUpdate emailTemplate, ApiCallback<String> callback) throws ApiException
templateId - Email template id (required)emailTemplate - Email template model (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 emailTemplatesGetCall(Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailTemplatesGet(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailTemplatesGetWithHttpInfo(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailTemplatesGetAsync(Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)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.