public interface IOnenotePageRequest extends IHttpRequest
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<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<OnenotePage> callback)
Gets the OnenotePage from the service
|
OnenotePage |
patch(OnenotePage sourceOnenotePage)
Patches this OnenotePage with a source
|
void |
patch(OnenotePage sourceOnenotePage,
ICallback<OnenotePage> callback)
Patches this OnenotePage with a source
|
OnenotePage |
post(byte[] newOnenotePage)
Posts a OnenotePage with a new object
|
void |
post(byte[] newOnenotePage,
ICallback<OnenotePage> callback)
Posts a OnenotePage with a new object
|
IOnenotePageRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
void get(ICallback<OnenotePage> callback)
callback
- the callback to be called after success or failureOnenotePage get() throws ClientException
ClientException
- this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<OnenotePage> callback)
callback
- the callback when the deletion action has completedvoid delete() throws ClientException
ClientException
- if there was an exception during the delete operationvoid patch(OnenotePage sourceOnenotePage, ICallback<OnenotePage> callback)
sourceOnenotePage
- the source object with updatescallback
- the callback to be called after success or failureOnenotePage patch(OnenotePage sourceOnenotePage) throws ClientException
sourceOnenotePage
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonvoid post(byte[] newOnenotePage, ICallback<OnenotePage> callback)
newOnenotePage
- the new object to createcallback
- the callback to be called after success or failureOnenotePage post(byte[] newOnenotePage) throws ClientException
newOnenotePage
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonIOnenotePageRequest select(java.lang.String value)
value
- the select clauseIOnenotePageRequest expand(java.lang.String value)
value
- the expand clause