public class TemplatesApi extends Object
| Constructor and Description |
|---|
TemplatesApi() |
TemplatesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
templatesNameDelete(String name)
Delete template with the specified ID
|
com.squareup.okhttp.Call |
templatesNameDeleteAsync(String name,
ApiCallback<Void> callback)
Delete template with the specified ID (asynchronously)
|
com.squareup.okhttp.Call |
templatesNameDeleteCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesNameDelete
|
ApiResponse<Void> |
templatesNameDeleteWithHttpInfo(String name)
Delete template with the specified ID
|
Template |
templatesNameGet(String name)
Load template with content
|
com.squareup.okhttp.Call |
templatesNameGetAsync(String name,
ApiCallback<Template> callback)
Load template with content (asynchronously)
|
com.squareup.okhttp.Call |
templatesNameGetCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesNameGet
|
ApiResponse<Template> |
templatesNameGetWithHttpInfo(String name)
Load template with content
|
Template |
templatesNamePut(String name,
Template body,
Boolean removeScreenshot)
Update existing template, overwriting existing data.
|
com.squareup.okhttp.Call |
templatesNamePutAsync(String name,
Template body,
Boolean removeScreenshot,
ApiCallback<Template> callback)
Update existing template, overwriting existing data.
|
com.squareup.okhttp.Call |
templatesNamePutCall(String name,
Template body,
Boolean removeScreenshot,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesNamePut
|
ApiResponse<Template> |
templatesNamePutWithHttpInfo(String name,
Template body,
Boolean removeScreenshot)
Update existing template, overwriting existing data.
|
Template |
templatesPost(Template body)
Create new Template.
|
com.squareup.okhttp.Call |
templatesPostAsync(Template body,
ApiCallback<Template> callback)
Create new Template.
|
com.squareup.okhttp.Call |
templatesPostCall(Template body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesPost
|
ApiResponse<Template> |
templatesPostWithHttpInfo(Template body)
Create new Template.
|
TemplateTagList |
templatesTagsGet()
Retrieve a list of your Tags
|
com.squareup.okhttp.Call |
templatesTagsGetAsync(ApiCallback<TemplateTagList> callback)
Retrieve a list of your Tags (asynchronously)
|
com.squareup.okhttp.Call |
templatesTagsGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesTagsGet
|
ApiResponse<TemplateTagList> |
templatesTagsGetWithHttpInfo()
Retrieve a list of your Tags
|
void |
templatesTagsNameDelete(String name)
Delete a tag, removing it from all Templates
|
com.squareup.okhttp.Call |
templatesTagsNameDeleteAsync(String name,
ApiCallback<Void> callback)
Delete a tag, removing it from all Templates (asynchronously)
|
com.squareup.okhttp.Call |
templatesTagsNameDeleteCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesTagsNameDelete
|
ApiResponse<Void> |
templatesTagsNameDeleteWithHttpInfo(String name)
Delete a tag, removing it from all Templates
|
TemplateTag |
templatesTagsPost(String tagName)
Create a new Tag to be used in your Templates
|
com.squareup.okhttp.Call |
templatesTagsPostAsync(String tagName,
ApiCallback<TemplateTag> callback)
Create a new Tag to be used in your Templates (asynchronously)
|
com.squareup.okhttp.Call |
templatesTagsPostCall(String tagName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesTagsPost
|
ApiResponse<TemplateTag> |
templatesTagsPostWithHttpInfo(String tagName)
Create a new Tag to be used in your Templates
|
List<Template> |
templatesTypeListGet(String type,
List<String> tags,
Integer limit,
Integer offset)
Load a list of templates of a specified type
|
com.squareup.okhttp.Call |
templatesTypeListGetAsync(String type,
List<String> tags,
Integer limit,
Integer offset,
ApiCallback<List<Template>> callback)
Load a list of templates of a specified type (asynchronously)
|
com.squareup.okhttp.Call |
templatesTypeListGetCall(String type,
List<String> tags,
Integer limit,
Integer offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for templatesTypeListGet
|
ApiResponse<List<Template>> |
templatesTypeListGetWithHttpInfo(String type,
List<String> tags,
Integer limit,
Integer offset)
Load a list of templates of a specified type
|
public TemplatesApi()
public TemplatesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call templatesNameDeleteCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Name of template. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void templatesNameDelete(String name) throws ApiException
name - Name of template. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> templatesNameDeleteWithHttpInfo(String name) throws ApiException
name - Name of template. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesNameDeleteAsync(String name, ApiCallback<Void> callback) throws ApiException
name - Name of template. (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 templatesNameGetCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Name of template. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Template templatesNameGet(String name) throws ApiException
name - Name of template. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Template> templatesNameGetWithHttpInfo(String name) throws ApiException
name - Name of template. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesNameGetAsync(String name, ApiCallback<Template> callback) throws ApiException
name - Name of template. (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 templatesNamePutCall(String name, Template body, Boolean removeScreenshot, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Name of template. (required)body - (required)removeScreenshot - (optional, default to True)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Template templatesNamePut(String name, Template body, Boolean removeScreenshot) throws ApiException
name - Name of template. (required)body - (required)removeScreenshot - (optional, default to True)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Template> templatesNamePutWithHttpInfo(String name, Template body, Boolean removeScreenshot) throws ApiException
name - Name of template. (required)body - (required)removeScreenshot - (optional, default to True)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesNamePutAsync(String name, Template body, Boolean removeScreenshot, ApiCallback<Template> callback) throws ApiException
name - Name of template. (required)body - (required)removeScreenshot - (optional, default to True)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 templatesPostCall(Template body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Template templatesPost(Template body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Template> templatesPostWithHttpInfo(Template body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesPostAsync(Template body, ApiCallback<Template> callback) throws ApiException
body - (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 templatesTagsGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TemplateTagList templatesTagsGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TemplateTagList> templatesTagsGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesTagsGetAsync(ApiCallback<TemplateTagList> 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 objectpublic com.squareup.okhttp.Call templatesTagsNameDeleteCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void templatesTagsNameDelete(String name) throws ApiException
name - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> templatesTagsNameDeleteWithHttpInfo(String name) throws ApiException
name - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesTagsNameDeleteAsync(String name, ApiCallback<Void> callback) throws ApiException
name - (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 templatesTagsPostCall(String tagName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tagName - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TemplateTag templatesTagsPost(String tagName) throws ApiException
tagName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TemplateTag> templatesTagsPostWithHttpInfo(String tagName) throws ApiException
tagName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesTagsPostAsync(String tagName, ApiCallback<TemplateTag> callback) throws ApiException
tagName - (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 templatesTypeListGetCall(String type, List<String> tags, Integer limit, Integer offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
type - (required)tags - (optional)limit - Maximum of loaded items. (optional, default to 500)offset - How many items should be loaded ahead. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<Template> templatesTypeListGet(String type, List<String> tags, Integer limit, Integer offset) throws ApiException
type - (required)tags - (optional)limit - Maximum of loaded items. (optional, default to 500)offset - How many items should be loaded ahead. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Template>> templatesTypeListGetWithHttpInfo(String type, List<String> tags, Integer limit, Integer offset) throws ApiException
type - (required)tags - (optional)limit - Maximum of loaded items. (optional, default to 500)offset - How many items should be loaded ahead. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call templatesTypeListGetAsync(String type, List<String> tags, Integer limit, Integer offset, ApiCallback<List<Template>> callback) throws ApiException
type - (required)tags - (optional)limit - Maximum of loaded items. (optional, default to 500)offset - How many items should be loaded ahead. (optional, default to 0)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.