public interface IOnenoteResourceRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super OnenoteResource> callback)
Delete this item from the service
|
IOnenoteResourceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OnenoteResource |
get()
Gets the OnenoteResource from the service
|
void |
get(ICallback<? super OnenoteResource> callback)
Gets the OnenoteResource from the service
|
OnenoteResource |
patch(OnenoteResource sourceOnenoteResource)
Patches this OnenoteResource with a source
|
void |
patch(OnenoteResource sourceOnenoteResource,
ICallback<? super OnenoteResource> callback)
Patches this OnenoteResource with a source
|
OnenoteResource |
post(OnenoteResource newOnenoteResource)
Posts a OnenoteResource with a new object
|
void |
post(OnenoteResource newOnenoteResource,
ICallback<? super OnenoteResource> callback)
Posts a OnenoteResource with a new object
|
OnenoteResource |
put(OnenoteResource newOnenoteResource)
Posts a OnenoteResource with a new object
|
void |
put(OnenoteResource newOnenoteResource,
ICallback<? super OnenoteResource> callback)
Posts a OnenoteResource with a new object
|
IOnenoteResourceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super OnenoteResource> callback)
callback - the callback to be called after success or failureOnenoteResource get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super OnenoteResource> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(OnenoteResource sourceOnenoteResource, ICallback<? super OnenoteResource> callback)
sourceOnenoteResource - the source object with updatescallback - the callback to be called after success or failureOnenoteResource patch(OnenoteResource sourceOnenoteResource) throws ClientException
sourceOnenoteResource - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(OnenoteResource newOnenoteResource, ICallback<? super OnenoteResource> callback)
newOnenoteResource - the new object to createcallback - the callback to be called after success or failureOnenoteResource post(OnenoteResource newOnenoteResource) throws ClientException
newOnenoteResource - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(OnenoteResource newOnenoteResource, ICallback<? super OnenoteResource> callback)
newOnenoteResource - the object to create/updatecallback - the callback to be called after success or failureOnenoteResource put(OnenoteResource newOnenoteResource) throws ClientException
newOnenoteResource - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIOnenoteResourceRequest select(java.lang.String value)
value - the select clauseIOnenoteResourceRequest expand(java.lang.String value)
value - the expand clause