public class OnenoteEntitySchemaObjectModelRequest extends BaseRequest implements IOnenoteEntitySchemaObjectModelRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
OnenoteEntitySchemaObjectModelRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the OnenoteEntitySchemaObjectModel
|
OnenoteEntitySchemaObjectModelRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends OnenoteEntitySchemaObjectModel> responseClass)
The request for the OnenoteEntitySchemaObjectModel
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<OnenoteEntitySchemaObjectModel> callback)
Delete this item from the service
|
IOnenoteEntitySchemaObjectModelRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OnenoteEntitySchemaObjectModel |
get()
Gets the OnenoteEntitySchemaObjectModel from the service
|
void |
get(ICallback<OnenoteEntitySchemaObjectModel> callback)
Gets the OnenoteEntitySchemaObjectModel from the service
|
OnenoteEntitySchemaObjectModel |
patch(OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel)
Patches this OnenoteEntitySchemaObjectModel with a source
|
void |
patch(OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel,
ICallback<OnenoteEntitySchemaObjectModel> callback)
Patches this OnenoteEntitySchemaObjectModel with a source
|
OnenoteEntitySchemaObjectModel |
post(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel)
Creates a OnenoteEntitySchemaObjectModel with a new object
|
void |
post(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel,
ICallback<OnenoteEntitySchemaObjectModel> callback)
Creates a OnenoteEntitySchemaObjectModel with a new object
|
IOnenoteEntitySchemaObjectModelRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic OnenoteEntitySchemaObjectModelRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends OnenoteEntitySchemaObjectModel> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic OnenoteEntitySchemaObjectModelRequest(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<OnenoteEntitySchemaObjectModel> callback)
get in interface IOnenoteEntitySchemaObjectModelRequestcallback - the callback to be called after success or failurepublic OnenoteEntitySchemaObjectModel get() throws ClientException
get in interface IOnenoteEntitySchemaObjectModelRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<OnenoteEntitySchemaObjectModel> callback)
delete in interface IOnenoteEntitySchemaObjectModelRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IOnenoteEntitySchemaObjectModelRequestClientException - if there was an exception during the delete operationpublic void patch(OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel, ICallback<OnenoteEntitySchemaObjectModel> callback)
patch in interface IOnenoteEntitySchemaObjectModelRequestsourceOnenoteEntitySchemaObjectModel - the source object with updatescallback - the callback to be called after success or failurepublic OnenoteEntitySchemaObjectModel patch(OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel) throws ClientException
patch in interface IOnenoteEntitySchemaObjectModelRequestsourceOnenoteEntitySchemaObjectModel - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel, ICallback<OnenoteEntitySchemaObjectModel> callback)
post in interface IOnenoteEntitySchemaObjectModelRequestnewOnenoteEntitySchemaObjectModel - the new object to createcallback - the callback to be called after success or failurepublic OnenoteEntitySchemaObjectModel post(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException
post in interface IOnenoteEntitySchemaObjectModelRequestnewOnenoteEntitySchemaObjectModel - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IOnenoteEntitySchemaObjectModelRequest select(java.lang.String value)
select in interface IOnenoteEntitySchemaObjectModelRequestvalue - the select clausepublic IOnenoteEntitySchemaObjectModelRequest expand(java.lang.String value)
expand in interface IOnenoteEntitySchemaObjectModelRequestvalue - the expand clause