public class ManagedAppPolicyCollectionRequest extends BaseCollectionRequest<ManagedAppPolicyCollectionResponse,IManagedAppPolicyCollectionPage> implements IManagedAppPolicyCollectionRequest
| Constructor and Description |
|---|
ManagedAppPolicyCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ManagedAppPolicy
|
| Modifier and Type | Method and Description |
|---|---|
IManagedAppPolicyCollectionPage |
buildFromResponse(ManagedAppPolicyCollectionResponse response) |
IManagedAppPolicyCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IManagedAppPolicyCollectionPage |
get() |
void |
get(ICallback<IManagedAppPolicyCollectionPage> callback) |
ManagedAppPolicy |
post(ManagedAppPolicy newManagedAppPolicy) |
void |
post(ManagedAppPolicy newManagedAppPolicy,
ICallback<ManagedAppPolicy> callback) |
IManagedAppPolicyCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IManagedAppPolicyCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic ManagedAppPolicyCollectionRequest(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<IManagedAppPolicyCollectionPage> callback)
get in interface IManagedAppPolicyCollectionRequestpublic IManagedAppPolicyCollectionPage get() throws ClientException
get in interface IManagedAppPolicyCollectionRequestClientExceptionpublic void post(ManagedAppPolicy newManagedAppPolicy, ICallback<ManagedAppPolicy> callback)
post in interface IManagedAppPolicyCollectionRequestpublic ManagedAppPolicy post(ManagedAppPolicy newManagedAppPolicy) throws ClientException
post in interface IManagedAppPolicyCollectionRequestClientExceptionpublic IManagedAppPolicyCollectionRequest expand(java.lang.String value)
expand in interface IManagedAppPolicyCollectionRequestvalue - the expand clausepublic IManagedAppPolicyCollectionRequest select(java.lang.String value)
select in interface IManagedAppPolicyCollectionRequestvalue - the select clausepublic IManagedAppPolicyCollectionRequest top(int value)
top in interface IManagedAppPolicyCollectionRequestvalue - the max number of items to returnpublic IManagedAppPolicyCollectionPage buildFromResponse(ManagedAppPolicyCollectionResponse response)