public class ApplicationTemplateRequest extends BaseRequest implements IApplicationTemplateRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ApplicationTemplateRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ApplicationTemplate
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super ApplicationTemplate> callback)
Delete this item from the service
|
IApplicationTemplateRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ApplicationTemplate |
get()
Gets the ApplicationTemplate from the service
|
void |
get(ICallback<? super ApplicationTemplate> callback)
Gets the ApplicationTemplate from the service
|
ApplicationTemplate |
patch(ApplicationTemplate sourceApplicationTemplate)
Patches this ApplicationTemplate with a source
|
void |
patch(ApplicationTemplate sourceApplicationTemplate,
ICallback<? super ApplicationTemplate> callback)
Patches this ApplicationTemplate with a source
|
ApplicationTemplate |
post(ApplicationTemplate newApplicationTemplate)
Creates a ApplicationTemplate with a new object
|
void |
post(ApplicationTemplate newApplicationTemplate,
ICallback<? super ApplicationTemplate> callback)
Creates a ApplicationTemplate with a new object
|
ApplicationTemplate |
put(ApplicationTemplate newApplicationTemplate)
Creates a ApplicationTemplate with a new object
|
void |
put(ApplicationTemplate newApplicationTemplate,
ICallback<? super ApplicationTemplate> callback)
Creates a ApplicationTemplate with a new object
|
IApplicationTemplateRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic ApplicationTemplateRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<? super ApplicationTemplate> callback)
get in interface IApplicationTemplateRequestcallback - the callback to be called after success or failurepublic ApplicationTemplate get() throws ClientException
get in interface IApplicationTemplateRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super ApplicationTemplate> callback)
delete in interface IApplicationTemplateRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IApplicationTemplateRequestClientException - if there was an exception during the delete operationpublic void patch(ApplicationTemplate sourceApplicationTemplate, ICallback<? super ApplicationTemplate> callback)
patch in interface IApplicationTemplateRequestsourceApplicationTemplate - the source object with updatescallback - the callback to be called after success or failurepublic ApplicationTemplate patch(ApplicationTemplate sourceApplicationTemplate) throws ClientException
patch in interface IApplicationTemplateRequestsourceApplicationTemplate - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(ApplicationTemplate newApplicationTemplate, ICallback<? super ApplicationTemplate> callback)
post in interface IApplicationTemplateRequestnewApplicationTemplate - the new object to createcallback - the callback to be called after success or failurepublic ApplicationTemplate post(ApplicationTemplate newApplicationTemplate) throws ClientException
post in interface IApplicationTemplateRequestnewApplicationTemplate - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(ApplicationTemplate newApplicationTemplate, ICallback<? super ApplicationTemplate> callback)
put in interface IApplicationTemplateRequestnewApplicationTemplate - the object to create/updatecallback - the callback to be called after success or failurepublic ApplicationTemplate put(ApplicationTemplate newApplicationTemplate) throws ClientException
put in interface IApplicationTemplateRequestnewApplicationTemplate - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IApplicationTemplateRequest select(java.lang.String value)
select in interface IApplicationTemplateRequestvalue - the select clausepublic IApplicationTemplateRequest expand(java.lang.String value)
expand in interface IApplicationTemplateRequestvalue - the expand clause