public class OnenoteEntitySchemaObjectModelRequest extends com.microsoft.graph.http.BaseRequest<OnenoteEntitySchemaObjectModel>
Constructor and Description |
---|
OnenoteEntitySchemaObjectModelRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the OnenoteEntitySchemaObjectModel
|
OnenoteEntitySchemaObjectModelRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions,
java.lang.Class<? extends OnenoteEntitySchemaObjectModel> responseClass)
The request for the OnenoteEntitySchemaObjectModel
|
Modifier and Type | Method and Description |
---|---|
OnenoteEntitySchemaObjectModel |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> |
deleteAsync()
Delete this item from the service
|
OnenoteEntitySchemaObjectModelRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OnenoteEntitySchemaObjectModel |
get()
Gets the OnenoteEntitySchemaObjectModel from the service
|
java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> |
getAsync()
Gets the OnenoteEntitySchemaObjectModel from the service
|
OnenoteEntitySchemaObjectModel |
patch(OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel)
Patches this OnenoteEntitySchemaObjectModel with a source
|
java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> |
patchAsync(OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel)
Patches this OnenoteEntitySchemaObjectModel with a source
|
OnenoteEntitySchemaObjectModel |
post(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel)
Creates a OnenoteEntitySchemaObjectModel with a new object
|
java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> |
postAsync(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel)
Creates a OnenoteEntitySchemaObjectModel with a new object
|
OnenoteEntitySchemaObjectModel |
put(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel)
Creates a OnenoteEntitySchemaObjectModel with a new object
|
java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> |
putAsync(OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel)
Creates a OnenoteEntitySchemaObjectModel with a new object
|
OnenoteEntitySchemaObjectModelRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public OnenoteEntitySchemaObjectModelRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions, @Nonnull java.lang.Class<? extends OnenoteEntitySchemaObjectModel> responseClass)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this requestresponseClass
- the class of the responsepublic OnenoteEntitySchemaObjectModelRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request@Nonnull public java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> getAsync()
@Nullable public OnenoteEntitySchemaObjectModel get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> deleteAsync()
@Nullable public OnenoteEntitySchemaObjectModel delete() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- if there was an exception during the delete operation@Nonnull public java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> patchAsync(@Nonnull OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel)
sourceOnenoteEntitySchemaObjectModel
- the source object with updates@Nullable public OnenoteEntitySchemaObjectModel patch(@Nonnull OnenoteEntitySchemaObjectModel sourceOnenoteEntitySchemaObjectModel) throws com.microsoft.graph.core.ClientException
sourceOnenoteEntitySchemaObjectModel
- the source object with updatescom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> postAsync(@Nonnull OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel)
newOnenoteEntitySchemaObjectModel
- the new object to create@Nullable public OnenoteEntitySchemaObjectModel post(@Nonnull OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws com.microsoft.graph.core.ClientException
newOnenoteEntitySchemaObjectModel
- the new object to createcom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<OnenoteEntitySchemaObjectModel> putAsync(@Nonnull OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel)
newOnenoteEntitySchemaObjectModel
- the object to create/update@Nullable public OnenoteEntitySchemaObjectModel put(@Nonnull OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws com.microsoft.graph.core.ClientException
newOnenoteEntitySchemaObjectModel
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public OnenoteEntitySchemaObjectModelRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public OnenoteEntitySchemaObjectModelRequest expand(@Nonnull java.lang.String value)
value
- the expand clause