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
|
IOnenotePageCollectionPage |
get() |
void |
get(ICallback<IOnenotePageCollectionPage> callback) |
OnenotePage |
post(byte[] newOnenotePage) |
void |
post(byte[] newOnenotePage,
ICallback<OnenotePage> callback) |
IOnenotePageCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOnenotePageCollectionRequest |
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 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<IOnenotePageCollectionPage> callback)
get in interface IOnenotePageCollectionRequestpublic IOnenotePageCollectionPage get() throws ClientException
get in interface IOnenotePageCollectionRequestClientExceptionpublic void post(byte[] newOnenotePage,
ICallback<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 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 IOnenotePageCollectionPage buildFromResponse(OnenotePageCollectionResponse response)