public class TemplateControllerApi extends Object
| Constructor and Description |
|---|
TemplateControllerApi() |
TemplateControllerApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
TemplateDto |
createTemplate(CreateTemplateOptions createTemplateOptions)
Create a Template
|
okhttp3.Call |
createTemplateAsync(CreateTemplateOptions createTemplateOptions,
ApiCallback<TemplateDto> _callback)
Create a Template (asynchronously)
|
okhttp3.Call |
createTemplateCall(CreateTemplateOptions createTemplateOptions,
ApiCallback _callback)
Build call for createTemplate
|
ApiResponse<TemplateDto> |
createTemplateWithHttpInfo(CreateTemplateOptions createTemplateOptions)
Create a Template
|
void |
deleteTemplate(UUID templateId)
Delete Template
|
okhttp3.Call |
deleteTemplateAsync(UUID templateId,
ApiCallback<Void> _callback)
Delete Template (asynchronously)
|
okhttp3.Call |
deleteTemplateCall(UUID templateId,
ApiCallback _callback)
Build call for deleteTemplate
|
ApiResponse<Void> |
deleteTemplateWithHttpInfo(UUID templateId)
Delete Template
|
PageTemplateProjection |
getAllTemplates(Integer page,
Integer size,
String sort)
Get all Templates in paginated format
|
okhttp3.Call |
getAllTemplatesAsync(Integer page,
Integer size,
String sort,
ApiCallback<PageTemplateProjection> _callback)
Get all Templates in paginated format (asynchronously)
|
okhttp3.Call |
getAllTemplatesCall(Integer page,
Integer size,
String sort,
ApiCallback _callback)
Build call for getAllTemplates
|
ApiResponse<PageTemplateProjection> |
getAllTemplatesWithHttpInfo(Integer page,
Integer size,
String sort)
Get all Templates in paginated format
|
ApiClient |
getApiClient() |
TemplateDto |
getTemplate(UUID templateId)
Get Template
|
okhttp3.Call |
getTemplateAsync(UUID templateId,
ApiCallback<TemplateDto> _callback)
Get Template (asynchronously)
|
okhttp3.Call |
getTemplateCall(UUID templateId,
ApiCallback _callback)
Build call for getTemplate
|
List<TemplateProjection> |
getTemplates()
Get all Templates
|
okhttp3.Call |
getTemplatesAsync(ApiCallback<List<TemplateProjection>> _callback)
Get all Templates (asynchronously)
|
okhttp3.Call |
getTemplatesCall(ApiCallback _callback)
Build call for getTemplates
|
ApiResponse<List<TemplateProjection>> |
getTemplatesWithHttpInfo()
Get all Templates
|
ApiResponse<TemplateDto> |
getTemplateWithHttpInfo(UUID templateId)
Get Template
|
void |
setApiClient(ApiClient apiClient) |
public TemplateControllerApi()
public TemplateControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createTemplateCall(CreateTemplateOptions createTemplateOptions, ApiCallback _callback) throws ApiException
createTemplateOptions - createTemplateOptions (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public TemplateDto createTemplate(CreateTemplateOptions createTemplateOptions) throws ApiException
createTemplateOptions - createTemplateOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<TemplateDto> createTemplateWithHttpInfo(CreateTemplateOptions createTemplateOptions) throws ApiException
createTemplateOptions - createTemplateOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call createTemplateAsync(CreateTemplateOptions createTemplateOptions, ApiCallback<TemplateDto> _callback) throws ApiException
createTemplateOptions - createTemplateOptions (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 object| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call deleteTemplateCall(UUID templateId, ApiCallback _callback) throws ApiException
templateId - TemplateId (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public void deleteTemplate(UUID templateId) throws ApiException
templateId - TemplateId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public ApiResponse<Void> deleteTemplateWithHttpInfo(UUID templateId) throws ApiException
templateId - TemplateId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public okhttp3.Call deleteTemplateAsync(UUID templateId, ApiCallback<Void> _callback) throws ApiException
templateId - TemplateId (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 object| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public okhttp3.Call getAllTemplatesCall(Integer page, Integer size, String sort, ApiCallback _callback) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public PageTemplateProjection getAllTemplates(Integer page, Integer size, String sort) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<PageTemplateProjection> getAllTemplatesWithHttpInfo(Integer page, Integer size, String sort) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAllTemplatesAsync(Integer page, Integer size, String sort, ApiCallback<PageTemplateProjection> _callback) throws ApiException
page - Optional page index in inbox list pagination (optional, default to 0)size - Optional page size in inbox list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_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| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getTemplateCall(UUID templateId, ApiCallback _callback) throws ApiException
templateId - TemplateId (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public TemplateDto getTemplate(UUID templateId) throws ApiException
templateId - TemplateId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<TemplateDto> getTemplateWithHttpInfo(UUID templateId) throws ApiException
templateId - TemplateId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getTemplateAsync(UUID templateId, ApiCallback<TemplateDto> _callback) throws ApiException
templateId - TemplateId (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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getTemplatesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public List<TemplateProjection> getTemplates() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<List<TemplateProjection>> getTemplatesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getTemplatesAsync(ApiCallback<List<TemplateProjection>> _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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
Copyright © 2021. All rights reserved.