public class OnenotePageCollectionRequest extends BaseCollectionRequest<OnenotePageCollectionResponse,IOnenotePageCollectionPage> implements IOnenotePageCollectionRequest
| Constructor and Description |
|---|
OnenotePageCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of OnenotePage
|
| Modifier and Type | Method and Description |
|---|---|
IOnenotePageCollectionPage |
buildFromResponse(OnenotePageCollectionResponse response) |
IOnenotePageCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IOnenotePageCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IOnenotePageCollectionPage |
get() |
void |
get(ICallback<? super IOnenotePageCollectionPage> callback) |
IOnenotePageCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
OnenotePage |
post(byte[] newOnenotePage) |
void |
post(byte[] newOnenotePage,
ICallback<? super OnenotePage> callback) |
IOnenotePageCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOnenotePageCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IOnenotePageCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IOnenotePageCollectionRequest |
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 OnenotePageCollectionRequest(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 IOnenotePageCollectionPage> callback)
get in interface IOnenotePageCollectionRequestpublic IOnenotePageCollectionPage get() throws ClientException
get in interface IOnenotePageCollectionRequestClientExceptionpublic void post(byte[] newOnenotePage,
ICallback<? super OnenotePage> callback)
post in interface IOnenotePageCollectionRequestpublic OnenotePage post(byte[] newOnenotePage) throws ClientException
post in interface IOnenotePageCollectionRequestClientExceptionpublic IOnenotePageCollectionRequest expand(java.lang.String value)
expand in interface IOnenotePageCollectionRequestvalue - the expand clausepublic IOnenotePageCollectionRequest filter(java.lang.String value)
filter in interface IOnenotePageCollectionRequestvalue - the filter clausepublic IOnenotePageCollectionRequest orderBy(java.lang.String value)
orderBy in interface IOnenotePageCollectionRequestvalue - the order by clausepublic IOnenotePageCollectionRequest select(java.lang.String value)
select in interface IOnenotePageCollectionRequestvalue - the select clausepublic IOnenotePageCollectionRequest top(int value)
top in interface IOnenotePageCollectionRequestvalue - the max number of items to returnpublic IOnenotePageCollectionRequest skip(int value)
skip in interface IOnenotePageCollectionRequestvalue - of the number of items to skippublic IOnenotePageCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IOnenotePageCollectionRequestskipToken - - Token for paginationpublic IOnenotePageCollectionPage buildFromResponse(OnenotePageCollectionResponse response)