public class MobileAppCollectionRequest extends BaseCollectionRequest<MobileAppCollectionResponse,IMobileAppCollectionPage> implements IMobileAppCollectionRequest
Constructor and Description |
---|
MobileAppCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of MobileApp
|
Modifier and Type | Method and Description |
---|---|
IMobileAppCollectionPage |
buildFromResponse(MobileAppCollectionResponse response) |
IMobileAppCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IMobileAppCollectionPage |
get() |
void |
get(ICallback<IMobileAppCollectionPage> callback) |
MobileApp |
post(MobileApp newMobileApp) |
void |
post(MobileApp newMobileApp,
ICallback<MobileApp> callback) |
IMobileAppCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IMobileAppCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getHeaders, getHttpMethod, getOptions, getRequestUrl, getUseCaches, post, send, setUseCaches
public MobileAppCollectionRequest(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<IMobileAppCollectionPage> callback)
get
in interface IMobileAppCollectionRequest
public IMobileAppCollectionPage get() throws ClientException
get
in interface IMobileAppCollectionRequest
ClientException
public void post(MobileApp newMobileApp, ICallback<MobileApp> callback)
post
in interface IMobileAppCollectionRequest
public MobileApp post(MobileApp newMobileApp) throws ClientException
post
in interface IMobileAppCollectionRequest
ClientException
public IMobileAppCollectionRequest expand(java.lang.String value)
expand
in interface IMobileAppCollectionRequest
value
- the expand clausepublic IMobileAppCollectionRequest select(java.lang.String value)
select
in interface IMobileAppCollectionRequest
value
- the select clausepublic IMobileAppCollectionRequest top(int value)
top
in interface IMobileAppCollectionRequest
value
- the max number of items to returnpublic IMobileAppCollectionPage buildFromResponse(MobileAppCollectionResponse response)