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
|
IManagedEBookCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IManagedEBookCollectionPage |
get() |
void |
get(ICallback<? super IManagedEBookCollectionPage> callback) |
IManagedEBookCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
ManagedEBook |
post(ManagedEBook newManagedEBook) |
void |
post(ManagedEBook newManagedEBook,
ICallback<? super ManagedEBook> callback) |
IManagedEBookCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IManagedEBookCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IManagedEBookCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IManagedEBookCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic 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<? super IManagedEBookCollectionPage> callback)
get in interface IManagedEBookCollectionRequestpublic IManagedEBookCollectionPage get() throws ClientException
get in interface IManagedEBookCollectionRequestClientExceptionpublic void post(ManagedEBook newManagedEBook, ICallback<? super 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 filter(java.lang.String value)
filter in interface IManagedEBookCollectionRequestvalue - the filter clausepublic IManagedEBookCollectionRequest orderBy(java.lang.String value)
orderBy in interface IManagedEBookCollectionRequestvalue - the order by 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 IManagedEBookCollectionRequest skip(int value)
skip in interface IManagedEBookCollectionRequestvalue - of the number of items to skippublic IManagedEBookCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IManagedEBookCollectionRequestskipToken - - Token for paginationpublic IManagedEBookCollectionPage buildFromResponse(ManagedEBookCollectionResponse response)