public class ManagedAppStatusRequest extends BaseRequest implements IManagedAppStatusRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
ManagedAppStatusRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ManagedAppStatus
|
ManagedAppStatusRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedAppStatus> responseClass)
The request for the ManagedAppStatus
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super ManagedAppStatus> callback)
Delete this item from the service
|
IManagedAppStatusRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedAppStatus |
get()
Gets the ManagedAppStatus from the service
|
void |
get(ICallback<? super ManagedAppStatus> callback)
Gets the ManagedAppStatus from the service
|
ManagedAppStatus |
patch(ManagedAppStatus sourceManagedAppStatus)
Patches this ManagedAppStatus with a source
|
void |
patch(ManagedAppStatus sourceManagedAppStatus,
ICallback<? super ManagedAppStatus> callback)
Patches this ManagedAppStatus with a source
|
ManagedAppStatus |
post(ManagedAppStatus newManagedAppStatus)
Creates a ManagedAppStatus with a new object
|
void |
post(ManagedAppStatus newManagedAppStatus,
ICallback<? super ManagedAppStatus> callback)
Creates a ManagedAppStatus with a new object
|
ManagedAppStatus |
put(ManagedAppStatus newManagedAppStatus)
Creates a ManagedAppStatus with a new object
|
void |
put(ManagedAppStatus newManagedAppStatus,
ICallback<? super ManagedAppStatus> callback)
Creates a ManagedAppStatus with a new object
|
IManagedAppStatusRequest |
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, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public ManagedAppStatusRequest(java.lang.String requestUrl, IBaseClient client, java.util.List<? extends Option> requestOptions, java.lang.Class<? extends ManagedAppStatus> responseClass)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this requestresponseClass
- the class of the responsepublic ManagedAppStatusRequest(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 ManagedAppStatus> callback)
get
in interface IManagedAppStatusRequest
callback
- the callback to be called after success or failurepublic ManagedAppStatus get() throws ClientException
get
in interface IManagedAppStatusRequest
ClientException
- this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super ManagedAppStatus> callback)
delete
in interface IManagedAppStatusRequest
callback
- the callback when the deletion action has completedpublic void delete() throws ClientException
delete
in interface IManagedAppStatusRequest
ClientException
- if there was an exception during the delete operationpublic void patch(ManagedAppStatus sourceManagedAppStatus, ICallback<? super ManagedAppStatus> callback)
patch
in interface IManagedAppStatusRequest
sourceManagedAppStatus
- the source object with updatescallback
- the callback to be called after success or failurepublic ManagedAppStatus patch(ManagedAppStatus sourceManagedAppStatus) throws ClientException
patch
in interface IManagedAppStatusRequest
sourceManagedAppStatus
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonpublic void post(ManagedAppStatus newManagedAppStatus, ICallback<? super ManagedAppStatus> callback)
post
in interface IManagedAppStatusRequest
newManagedAppStatus
- the new object to createcallback
- the callback to be called after success or failurepublic ManagedAppStatus post(ManagedAppStatus newManagedAppStatus) throws ClientException
post
in interface IManagedAppStatusRequest
newManagedAppStatus
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonpublic void put(ManagedAppStatus newManagedAppStatus, ICallback<? super ManagedAppStatus> callback)
put
in interface IManagedAppStatusRequest
newManagedAppStatus
- the object to create/updatecallback
- the callback to be called after success or failurepublic ManagedAppStatus put(ManagedAppStatus newManagedAppStatus) throws ClientException
put
in interface IManagedAppStatusRequest
newManagedAppStatus
- the object to create/updateClientException
- this exception occurs if the request was unable to complete for any reasonpublic IManagedAppStatusRequest select(java.lang.String value)
select
in interface IManagedAppStatusRequest
value
- the select clausepublic IManagedAppStatusRequest expand(java.lang.String value)
expand
in interface IManagedAppStatusRequest
value
- the expand clause