public class OnenoteSectionCollectionRequest extends BaseCollectionRequest<OnenoteSectionCollectionResponse,IOnenoteSectionCollectionPage> implements IOnenoteSectionCollectionRequest
| Constructor and Description |
|---|
OnenoteSectionCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of OnenoteSection
|
| Modifier and Type | Method and Description |
|---|---|
IOnenoteSectionCollectionPage |
buildFromResponse(OnenoteSectionCollectionResponse response) |
IOnenoteSectionCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IOnenoteSectionCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IOnenoteSectionCollectionPage |
get() |
void |
get(ICallback<? super IOnenoteSectionCollectionPage> callback) |
IOnenoteSectionCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
OnenoteSection |
post(OnenoteSection newOnenoteSection) |
void |
post(OnenoteSection newOnenoteSection,
ICallback<? super OnenoteSection> callback) |
IOnenoteSectionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOnenoteSectionCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IOnenoteSectionCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IOnenoteSectionCollectionRequest |
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 OnenoteSectionCollectionRequest(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 IOnenoteSectionCollectionPage> callback)
get in interface IOnenoteSectionCollectionRequestpublic IOnenoteSectionCollectionPage get() throws ClientException
get in interface IOnenoteSectionCollectionRequestClientExceptionpublic void post(OnenoteSection newOnenoteSection, ICallback<? super OnenoteSection> callback)
post in interface IOnenoteSectionCollectionRequestpublic OnenoteSection post(OnenoteSection newOnenoteSection) throws ClientException
post in interface IOnenoteSectionCollectionRequestClientExceptionpublic IOnenoteSectionCollectionRequest expand(java.lang.String value)
expand in interface IOnenoteSectionCollectionRequestvalue - the expand clausepublic IOnenoteSectionCollectionRequest filter(java.lang.String value)
filter in interface IOnenoteSectionCollectionRequestvalue - the filter clausepublic IOnenoteSectionCollectionRequest orderBy(java.lang.String value)
orderBy in interface IOnenoteSectionCollectionRequestvalue - the order by clausepublic IOnenoteSectionCollectionRequest select(java.lang.String value)
select in interface IOnenoteSectionCollectionRequestvalue - the select clausepublic IOnenoteSectionCollectionRequest top(int value)
top in interface IOnenoteSectionCollectionRequestvalue - the max number of items to returnpublic IOnenoteSectionCollectionRequest skip(int value)
skip in interface IOnenoteSectionCollectionRequestvalue - of the number of items to skippublic IOnenoteSectionCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IOnenoteSectionCollectionRequestskipToken - - Token for paginationpublic IOnenoteSectionCollectionPage buildFromResponse(OnenoteSectionCollectionResponse response)