public class ManagedAppRequest extends BaseRequest implements IManagedAppRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ManagedAppRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ManagedApp
|
ManagedAppRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedApp> responseClass)
The request for the ManagedApp
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super ManagedApp> callback)
Delete this item from the service
|
IManagedAppRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedApp |
get()
Gets the ManagedApp from the service
|
void |
get(ICallback<? super ManagedApp> callback)
Gets the ManagedApp from the service
|
ManagedApp |
patch(ManagedApp sourceManagedApp)
Patches this ManagedApp with a source
|
void |
patch(ManagedApp sourceManagedApp,
ICallback<? super ManagedApp> callback)
Patches this ManagedApp with a source
|
ManagedApp |
post(ManagedApp newManagedApp)
Creates a ManagedApp with a new object
|
void |
post(ManagedApp newManagedApp,
ICallback<? super ManagedApp> callback)
Creates a ManagedApp with a new object
|
ManagedApp |
put(ManagedApp newManagedApp)
Creates a ManagedApp with a new object
|
void |
put(ManagedApp newManagedApp,
ICallback<? super ManagedApp> callback)
Creates a ManagedApp with a new object
|
IManagedAppRequest |
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 ManagedAppRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedApp> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic ManagedAppRequest(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 ManagedApp> callback)
get in interface IManagedAppRequestcallback - the callback to be called after success or failurepublic ManagedApp get() throws ClientException
get in interface IManagedAppRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super ManagedApp> callback)
delete in interface IManagedAppRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IManagedAppRequestClientException - if there was an exception during the delete operationpublic void patch(ManagedApp sourceManagedApp, ICallback<? super ManagedApp> callback)
patch in interface IManagedAppRequestsourceManagedApp - the source object with updatescallback - the callback to be called after success or failurepublic ManagedApp patch(ManagedApp sourceManagedApp) throws ClientException
patch in interface IManagedAppRequestsourceManagedApp - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(ManagedApp newManagedApp, ICallback<? super ManagedApp> callback)
post in interface IManagedAppRequestnewManagedApp - the new object to createcallback - the callback to be called after success or failurepublic ManagedApp post(ManagedApp newManagedApp) throws ClientException
post in interface IManagedAppRequestnewManagedApp - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(ManagedApp newManagedApp, ICallback<? super ManagedApp> callback)
put in interface IManagedAppRequestnewManagedApp - the object to create/updatecallback - the callback to be called after success or failurepublic ManagedApp put(ManagedApp newManagedApp) throws ClientException
put in interface IManagedAppRequestnewManagedApp - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IManagedAppRequest select(java.lang.String value)
select in interface IManagedAppRequestvalue - the select clausepublic IManagedAppRequest expand(java.lang.String value)
expand in interface IManagedAppRequestvalue - the expand clause