public class OnenoteSectionRequest extends BaseRequest implements IOnenoteSectionRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
OnenoteSectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the OnenoteSection
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super OnenoteSection> callback)
Delete this item from the service
|
IOnenoteSectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OnenoteSection |
get()
Gets the OnenoteSection from the service
|
void |
get(ICallback<? super OnenoteSection> callback)
Gets the OnenoteSection from the service
|
OnenoteSection |
patch(OnenoteSection sourceOnenoteSection)
Patches this OnenoteSection with a source
|
void |
patch(OnenoteSection sourceOnenoteSection,
ICallback<? super OnenoteSection> callback)
Patches this OnenoteSection with a source
|
OnenoteSection |
post(OnenoteSection newOnenoteSection)
Creates a OnenoteSection with a new object
|
void |
post(OnenoteSection newOnenoteSection,
ICallback<? super OnenoteSection> callback)
Creates a OnenoteSection with a new object
|
OnenoteSection |
put(OnenoteSection newOnenoteSection)
Creates a OnenoteSection with a new object
|
void |
put(OnenoteSection newOnenoteSection,
ICallback<? super OnenoteSection> callback)
Creates a OnenoteSection with a new object
|
IOnenoteSectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, 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 OnenoteSectionRequest(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 OnenoteSection> callback)
get in interface IOnenoteSectionRequestcallback - the callback to be called after success or failurepublic OnenoteSection get() throws ClientException
get in interface IOnenoteSectionRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super OnenoteSection> callback)
delete in interface IOnenoteSectionRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IOnenoteSectionRequestClientException - if there was an exception during the delete operationpublic void patch(OnenoteSection sourceOnenoteSection, ICallback<? super OnenoteSection> callback)
patch in interface IOnenoteSectionRequestsourceOnenoteSection - the source object with updatescallback - the callback to be called after success or failurepublic OnenoteSection patch(OnenoteSection sourceOnenoteSection) throws ClientException
patch in interface IOnenoteSectionRequestsourceOnenoteSection - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(OnenoteSection newOnenoteSection, ICallback<? super OnenoteSection> callback)
post in interface IOnenoteSectionRequestnewOnenoteSection - the new object to createcallback - the callback to be called after success or failurepublic OnenoteSection post(OnenoteSection newOnenoteSection) throws ClientException
post in interface IOnenoteSectionRequestnewOnenoteSection - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(OnenoteSection newOnenoteSection, ICallback<? super OnenoteSection> callback)
put in interface IOnenoteSectionRequestnewOnenoteSection - the object to create/updatecallback - the callback to be called after success or failurepublic OnenoteSection put(OnenoteSection newOnenoteSection) throws ClientException
put in interface IOnenoteSectionRequestnewOnenoteSection - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IOnenoteSectionRequest select(java.lang.String value)
select in interface IOnenoteSectionRequestvalue - the select clausepublic IOnenoteSectionRequest expand(java.lang.String value)
expand in interface IOnenoteSectionRequestvalue - the expand clause