public class ApplicationWithReferenceRequest extends BaseRequest implements IApplicationWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ApplicationWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Application
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super Application> callback) |
IApplicationWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Application |
get() |
void |
get(ICallback<? super Application> callback) |
Application |
patch(Application sourceApplication) |
void |
patch(Application sourceApplication,
ICallback<? super Application> callback) |
Application |
post(Application newApplication,
IJsonBackedObject payload) |
void |
post(Application newApplication,
IJsonBackedObject payload,
ICallback<? super Application> callback) |
IApplicationWithReferenceRequest |
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 ApplicationWithReferenceRequest(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 post(Application newApplication, IJsonBackedObject payload, ICallback<? super Application> callback)
post in interface IApplicationWithReferenceRequestpublic Application post(Application newApplication, IJsonBackedObject payload) throws ClientException
post in interface IApplicationWithReferenceRequestClientExceptionpublic void get(ICallback<? super Application> callback)
get in interface IApplicationWithReferenceRequestpublic Application get() throws ClientException
get in interface IApplicationWithReferenceRequestClientExceptionpublic void delete(ICallback<? super Application> callback)
delete in interface IApplicationWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IApplicationWithReferenceRequestClientExceptionpublic void patch(Application sourceApplication, ICallback<? super Application> callback)
patch in interface IApplicationWithReferenceRequestpublic Application patch(Application sourceApplication) throws ClientException
patch in interface IApplicationWithReferenceRequestClientExceptionpublic IApplicationWithReferenceRequest select(java.lang.String value)
select in interface IApplicationWithReferenceRequestvalue - the select clausepublic IApplicationWithReferenceRequest expand(java.lang.String value)
expand in interface IApplicationWithReferenceRequestvalue - the expand clause