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