public class MasterEmailTemplatesApi extends Object
| Constructor and Description |
|---|
MasterEmailTemplatesApi() |
MasterEmailTemplatesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
masterEmailTemplateCategoriesGet(Integer page,
Integer limit)
Get all master email template categories
Get all master email template categories
|
com.squareup.okhttp.Call |
masterEmailTemplateCategoriesGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all master email template categories (asynchronously)
Get all master email template categories
|
com.squareup.okhttp.Call |
masterEmailTemplateCategoriesGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for masterEmailTemplateCategoriesGet
|
ApiResponse<String> |
masterEmailTemplateCategoriesGetWithHttpInfo(Integer page,
Integer limit)
Get all master email template categories
Get all master email template categories
|
String |
masterEmailTemplateCategoryGet(Integer categoryId)
Get specific master email template category
Get specific master email template category
|
com.squareup.okhttp.Call |
masterEmailTemplateCategoryGetAsync(Integer categoryId,
ApiCallback<String> callback)
Get specific master email template category (asynchronously)
Get specific master email template category
|
com.squareup.okhttp.Call |
masterEmailTemplateCategoryGetCall(Integer categoryId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for masterEmailTemplateCategoryGet
|
ApiResponse<String> |
masterEmailTemplateCategoryGetWithHttpInfo(Integer categoryId)
Get specific master email template category
Get specific master email template category
|
String |
masterEmailTemplateGet(Integer templateId)
Get specific master email template
Get specific master email template
|
com.squareup.okhttp.Call |
masterEmailTemplateGetAsync(Integer templateId,
ApiCallback<String> callback)
Get specific master email template (asynchronously)
Get specific master email template
|
com.squareup.okhttp.Call |
masterEmailTemplateGetCall(Integer templateId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for masterEmailTemplateGet
|
ApiResponse<String> |
masterEmailTemplateGetWithHttpInfo(Integer templateId)
Get specific master email template
Get specific master email template
|
String |
masterEmailTemplatesGet(Integer page,
Integer limit)
Get all master email templates
Get all master email templates
|
com.squareup.okhttp.Call |
masterEmailTemplatesGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all master email templates (asynchronously)
Get all master email templates
|
com.squareup.okhttp.Call |
masterEmailTemplatesGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for masterEmailTemplatesGet
|
ApiResponse<String> |
masterEmailTemplatesGetWithHttpInfo(Integer page,
Integer limit)
Get all master email templates
Get all master email templates
|
String |
masterEmailTemplatesInCategoryGet(Integer categoryId,
Integer page,
Integer limit)
Get all master email templates in a category
Get all master email templates in a category
|
com.squareup.okhttp.Call |
masterEmailTemplatesInCategoryGetAsync(Integer categoryId,
Integer page,
Integer limit,
ApiCallback<String> callback)
Get all master email templates in a category (asynchronously)
Get all master email templates in a category
|
com.squareup.okhttp.Call |
masterEmailTemplatesInCategoryGetCall(Integer categoryId,
Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for masterEmailTemplatesInCategoryGet
|
ApiResponse<String> |
masterEmailTemplatesInCategoryGetWithHttpInfo(Integer categoryId,
Integer page,
Integer limit)
Get all master email templates in a category
Get all master email templates in a category
|
void |
setApiClient(ApiClient apiClient) |
public MasterEmailTemplatesApi()
public MasterEmailTemplatesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call masterEmailTemplateCategoriesGetCall(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 masterEmailTemplateCategoriesGet(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> masterEmailTemplateCategoriesGetWithHttpInfo(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 masterEmailTemplateCategoriesGetAsync(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 objectpublic com.squareup.okhttp.Call masterEmailTemplateCategoryGetCall(Integer categoryId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
categoryId - Email category id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String masterEmailTemplateCategoryGet(Integer categoryId) throws ApiException
categoryId - Email category id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> masterEmailTemplateCategoryGetWithHttpInfo(Integer categoryId) throws ApiException
categoryId - Email category id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call masterEmailTemplateCategoryGetAsync(Integer categoryId, ApiCallback<String> callback) throws ApiException
categoryId - Email category 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 masterEmailTemplateGetCall(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 masterEmailTemplateGet(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> masterEmailTemplateGetWithHttpInfo(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 masterEmailTemplateGetAsync(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 masterEmailTemplatesGetCall(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 masterEmailTemplatesGet(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> masterEmailTemplatesGetWithHttpInfo(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 masterEmailTemplatesGetAsync(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 objectpublic com.squareup.okhttp.Call masterEmailTemplatesInCategoryGetCall(Integer categoryId, Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
categoryId - Email category id (required)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 masterEmailTemplatesInCategoryGet(Integer categoryId, Integer page, Integer limit) throws ApiException
categoryId - Email category id (required)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> masterEmailTemplatesInCategoryGetWithHttpInfo(Integer categoryId, Integer page, Integer limit) throws ApiException
categoryId - Email category id (required)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 masterEmailTemplatesInCategoryGetAsync(Integer categoryId, Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
categoryId - Email category id (required)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.