public class ManagedAppPolicyRequest extends BaseRequest implements IManagedAppPolicyRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ManagedAppPolicyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ManagedAppPolicy
|
ManagedAppPolicyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedAppPolicy> responseClass)
The request for the ManagedAppPolicy
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<ManagedAppPolicy> callback)
Delete this item from the service
|
IManagedAppPolicyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedAppPolicy |
get()
Gets the ManagedAppPolicy from the service
|
void |
get(ICallback<ManagedAppPolicy> callback)
Gets the ManagedAppPolicy from the service
|
ManagedAppPolicy |
patch(ManagedAppPolicy sourceManagedAppPolicy)
Patches this ManagedAppPolicy with a source
|
void |
patch(ManagedAppPolicy sourceManagedAppPolicy,
ICallback<ManagedAppPolicy> callback)
Patches this ManagedAppPolicy with a source
|
ManagedAppPolicy |
post(ManagedAppPolicy newManagedAppPolicy)
Creates a ManagedAppPolicy with a new object
|
void |
post(ManagedAppPolicy newManagedAppPolicy,
ICallback<ManagedAppPolicy> callback)
Creates a ManagedAppPolicy with a new object
|
IManagedAppPolicyRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic ManagedAppPolicyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedAppPolicy> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic ManagedAppPolicyRequest(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<ManagedAppPolicy> callback)
get in interface IManagedAppPolicyRequestcallback - the callback to be called after success or failurepublic ManagedAppPolicy get() throws ClientException
get in interface IManagedAppPolicyRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<ManagedAppPolicy> callback)
delete in interface IManagedAppPolicyRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IManagedAppPolicyRequestClientException - if there was an exception during the delete operationpublic void patch(ManagedAppPolicy sourceManagedAppPolicy, ICallback<ManagedAppPolicy> callback)
patch in interface IManagedAppPolicyRequestsourceManagedAppPolicy - the source object with updatescallback - the callback to be called after success or failurepublic ManagedAppPolicy patch(ManagedAppPolicy sourceManagedAppPolicy) throws ClientException
patch in interface IManagedAppPolicyRequestsourceManagedAppPolicy - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(ManagedAppPolicy newManagedAppPolicy, ICallback<ManagedAppPolicy> callback)
post in interface IManagedAppPolicyRequestnewManagedAppPolicy - the new object to createcallback - the callback to be called after success or failurepublic ManagedAppPolicy post(ManagedAppPolicy newManagedAppPolicy) throws ClientException
post in interface IManagedAppPolicyRequestnewManagedAppPolicy - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IManagedAppPolicyRequest select(java.lang.String value)
select in interface IManagedAppPolicyRequestvalue - the select clausepublic IManagedAppPolicyRequest expand(java.lang.String value)
expand in interface IManagedAppPolicyRequestvalue - the expand clause