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
|
IOnenoteSectionCollectionPage |
get() |
void |
get(ICallback<IOnenoteSectionCollectionPage> callback) |
OnenoteSection |
post(OnenoteSection newOnenoteSection) |
void |
post(OnenoteSection newOnenoteSection,
ICallback<OnenoteSection> callback) |
IOnenoteSectionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOnenoteSectionCollectionRequest |
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 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<IOnenoteSectionCollectionPage> callback)
get in interface IOnenoteSectionCollectionRequestpublic IOnenoteSectionCollectionPage get() throws ClientException
get in interface IOnenoteSectionCollectionRequestClientExceptionpublic void post(OnenoteSection newOnenoteSection, ICallback<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 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 IOnenoteSectionCollectionPage buildFromResponse(OnenoteSectionCollectionResponse response)