public class OnenoteEntityBaseModelRequest extends BaseRequest implements IOnenoteEntityBaseModelRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
OnenoteEntityBaseModelRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the OnenoteEntityBaseModel
|
OnenoteEntityBaseModelRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends OnenoteEntityBaseModel> responseClass)
The request for the OnenoteEntityBaseModel
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super OnenoteEntityBaseModel> callback)
Delete this item from the service
|
IOnenoteEntityBaseModelRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OnenoteEntityBaseModel |
get()
Gets the OnenoteEntityBaseModel from the service
|
void |
get(ICallback<? super OnenoteEntityBaseModel> callback)
Gets the OnenoteEntityBaseModel from the service
|
OnenoteEntityBaseModel |
patch(OnenoteEntityBaseModel sourceOnenoteEntityBaseModel)
Patches this OnenoteEntityBaseModel with a source
|
void |
patch(OnenoteEntityBaseModel sourceOnenoteEntityBaseModel,
ICallback<? super OnenoteEntityBaseModel> callback)
Patches this OnenoteEntityBaseModel with a source
|
OnenoteEntityBaseModel |
post(OnenoteEntityBaseModel newOnenoteEntityBaseModel)
Creates a OnenoteEntityBaseModel with a new object
|
void |
post(OnenoteEntityBaseModel newOnenoteEntityBaseModel,
ICallback<? super OnenoteEntityBaseModel> callback)
Creates a OnenoteEntityBaseModel with a new object
|
OnenoteEntityBaseModel |
put(OnenoteEntityBaseModel newOnenoteEntityBaseModel)
Creates a OnenoteEntityBaseModel with a new object
|
void |
put(OnenoteEntityBaseModel newOnenoteEntityBaseModel,
ICallback<? super OnenoteEntityBaseModel> callback)
Creates a OnenoteEntityBaseModel with a new object
|
IOnenoteEntityBaseModelRequest |
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 OnenoteEntityBaseModelRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends OnenoteEntityBaseModel> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic OnenoteEntityBaseModelRequest(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 OnenoteEntityBaseModel> callback)
get in interface IOnenoteEntityBaseModelRequestcallback - the callback to be called after success or failurepublic OnenoteEntityBaseModel get() throws ClientException
get in interface IOnenoteEntityBaseModelRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super OnenoteEntityBaseModel> callback)
delete in interface IOnenoteEntityBaseModelRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IOnenoteEntityBaseModelRequestClientException - if there was an exception during the delete operationpublic void patch(OnenoteEntityBaseModel sourceOnenoteEntityBaseModel, ICallback<? super OnenoteEntityBaseModel> callback)
patch in interface IOnenoteEntityBaseModelRequestsourceOnenoteEntityBaseModel - the source object with updatescallback - the callback to be called after success or failurepublic OnenoteEntityBaseModel patch(OnenoteEntityBaseModel sourceOnenoteEntityBaseModel) throws ClientException
patch in interface IOnenoteEntityBaseModelRequestsourceOnenoteEntityBaseModel - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(OnenoteEntityBaseModel newOnenoteEntityBaseModel, ICallback<? super OnenoteEntityBaseModel> callback)
post in interface IOnenoteEntityBaseModelRequestnewOnenoteEntityBaseModel - the new object to createcallback - the callback to be called after success or failurepublic OnenoteEntityBaseModel post(OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException
post in interface IOnenoteEntityBaseModelRequestnewOnenoteEntityBaseModel - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(OnenoteEntityBaseModel newOnenoteEntityBaseModel, ICallback<? super OnenoteEntityBaseModel> callback)
put in interface IOnenoteEntityBaseModelRequestnewOnenoteEntityBaseModel - the object to create/updatecallback - the callback to be called after success or failurepublic OnenoteEntityBaseModel put(OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException
put in interface IOnenoteEntityBaseModelRequestnewOnenoteEntityBaseModel - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IOnenoteEntityBaseModelRequest select(java.lang.String value)
select in interface IOnenoteEntityBaseModelRequestvalue - the select clausepublic IOnenoteEntityBaseModelRequest expand(java.lang.String value)
expand in interface IOnenoteEntityBaseModelRequestvalue - the expand clause