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