public class OnenotePageRequest extends BaseRequest implements IOnenotePageRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
OnenotePageRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the OnenotePage
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super OnenotePage> callback)
Delete this item from the service
|
IOnenotePageRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OnenotePage |
get()
Gets the OnenotePage from the service
|
void |
get(ICallback<? super OnenotePage> callback)
Gets the OnenotePage from the service
|
OnenotePage |
patch(OnenotePage sourceOnenotePage)
Patches this OnenotePage with a source
|
void |
patch(OnenotePage sourceOnenotePage,
ICallback<? super OnenotePage> callback)
Patches this OnenotePage with a source
|
OnenotePage |
post(byte[] newOnenotePage)
Creates a OnenotePage with a new object
|
void |
post(byte[] newOnenotePage,
ICallback<? super OnenotePage> callback)
Creates a OnenotePage with a new object
|
OnenotePage |
put(OnenotePage newOnenotePage)
Creates a OnenotePage with a new object
|
void |
put(OnenotePage newOnenotePage,
ICallback<? super OnenotePage> callback)
Creates a OnenotePage with a new object
|
IOnenotePageRequest |
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 OnenotePageRequest(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 OnenotePage> callback)
get in interface IOnenotePageRequestcallback - the callback to be called after success or failurepublic OnenotePage get() throws ClientException
get in interface IOnenotePageRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super OnenotePage> callback)
delete in interface IOnenotePageRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IOnenotePageRequestClientException - if there was an exception during the delete operationpublic void patch(OnenotePage sourceOnenotePage, ICallback<? super OnenotePage> callback)
patch in interface IOnenotePageRequestsourceOnenotePage - the source object with updatescallback - the callback to be called after success or failurepublic OnenotePage patch(OnenotePage sourceOnenotePage) throws ClientException
patch in interface IOnenotePageRequestsourceOnenotePage - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(byte[] newOnenotePage,
ICallback<? super OnenotePage> callback)
post in interface IOnenotePageRequestnewOnenotePage - the new object to createcallback - the callback to be called after success or failurepublic OnenotePage post(byte[] newOnenotePage) throws ClientException
post in interface IOnenotePageRequestnewOnenotePage - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(OnenotePage newOnenotePage, ICallback<? super OnenotePage> callback)
put in interface IOnenotePageRequestnewOnenotePage - the object to create/updatecallback - the callback to be called after success or failurepublic OnenotePage put(OnenotePage newOnenotePage) throws ClientException
put in interface IOnenotePageRequestnewOnenotePage - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IOnenotePageRequest select(java.lang.String value)
select in interface IOnenotePageRequestvalue - the select clausepublic IOnenotePageRequest expand(java.lang.String value)
expand in interface IOnenotePageRequestvalue - the expand clause