public class DefaultManagedAppProtectionCollectionRequest extends BaseCollectionRequest<DefaultManagedAppProtectionCollectionResponse,IDefaultManagedAppProtectionCollectionPage> implements IDefaultManagedAppProtectionCollectionRequest
Constructor and Description |
---|
DefaultManagedAppProtectionCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DefaultManagedAppProtection
|
Modifier and Type | Method and Description |
---|---|
IDefaultManagedAppProtectionCollectionPage |
buildFromResponse(DefaultManagedAppProtectionCollectionResponse response) |
IDefaultManagedAppProtectionCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDefaultManagedAppProtectionCollectionPage |
get() |
void |
get(ICallback<IDefaultManagedAppProtectionCollectionPage> callback) |
DefaultManagedAppProtection |
post(DefaultManagedAppProtection newDefaultManagedAppProtection) |
void |
post(DefaultManagedAppProtection newDefaultManagedAppProtection,
ICallback<DefaultManagedAppProtection> callback) |
IDefaultManagedAppProtectionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDefaultManagedAppProtectionCollectionRequest |
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, setUseCaches
public DefaultManagedAppProtectionCollectionRequest(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<IDefaultManagedAppProtectionCollectionPage> callback)
get
in interface IDefaultManagedAppProtectionCollectionRequest
public IDefaultManagedAppProtectionCollectionPage get() throws ClientException
get
in interface IDefaultManagedAppProtectionCollectionRequest
ClientException
public void post(DefaultManagedAppProtection newDefaultManagedAppProtection, ICallback<DefaultManagedAppProtection> callback)
post
in interface IDefaultManagedAppProtectionCollectionRequest
public DefaultManagedAppProtection post(DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException
post
in interface IDefaultManagedAppProtectionCollectionRequest
ClientException
public IDefaultManagedAppProtectionCollectionRequest expand(java.lang.String value)
expand
in interface IDefaultManagedAppProtectionCollectionRequest
value
- the expand clausepublic IDefaultManagedAppProtectionCollectionRequest select(java.lang.String value)
select
in interface IDefaultManagedAppProtectionCollectionRequest
value
- the select clausepublic IDefaultManagedAppProtectionCollectionRequest top(int value)
top
in interface IDefaultManagedAppProtectionCollectionRequest
value
- the max number of items to returnpublic IDefaultManagedAppProtectionCollectionPage buildFromResponse(DefaultManagedAppProtectionCollectionResponse response)