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