public class OnenoteEntityBaseModelRequest extends com.microsoft.graph.http.BaseRequest<OnenoteEntityBaseModel>
Constructor and Description |
---|
OnenoteEntityBaseModelRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the OnenoteEntityBaseModel
|
OnenoteEntityBaseModelRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions,
java.lang.Class<? extends OnenoteEntityBaseModel> responseClass)
The request for the OnenoteEntityBaseModel
|
Modifier and Type | Method and Description |
---|---|
OnenoteEntityBaseModel |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<OnenoteEntityBaseModel> |
deleteAsync()
Delete this item from the service
|
OnenoteEntityBaseModelRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OnenoteEntityBaseModel |
get()
Gets the OnenoteEntityBaseModel from the service
|
java.util.concurrent.CompletableFuture<OnenoteEntityBaseModel> |
getAsync()
Gets the OnenoteEntityBaseModel from the service
|
OnenoteEntityBaseModel |
patch(OnenoteEntityBaseModel sourceOnenoteEntityBaseModel)
Patches this OnenoteEntityBaseModel with a source
|
java.util.concurrent.CompletableFuture<OnenoteEntityBaseModel> |
patchAsync(OnenoteEntityBaseModel sourceOnenoteEntityBaseModel)
Patches this OnenoteEntityBaseModel with a source
|
OnenoteEntityBaseModel |
post(OnenoteEntityBaseModel newOnenoteEntityBaseModel)
Creates a OnenoteEntityBaseModel with a new object
|
java.util.concurrent.CompletableFuture<OnenoteEntityBaseModel> |
postAsync(OnenoteEntityBaseModel newOnenoteEntityBaseModel)
Creates a OnenoteEntityBaseModel with a new object
|
OnenoteEntityBaseModel |
put(OnenoteEntityBaseModel newOnenoteEntityBaseModel)
Creates a OnenoteEntityBaseModel with a new object
|
java.util.concurrent.CompletableFuture<OnenoteEntityBaseModel> |
putAsync(OnenoteEntityBaseModel newOnenoteEntityBaseModel)
Creates a OnenoteEntityBaseModel with a new object
|
OnenoteEntityBaseModelRequest |
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 OnenoteEntityBaseModelRequest(@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 OnenoteEntityBaseModel> responseClass)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this requestresponseClass
- the class of the responsepublic OnenoteEntityBaseModelRequest(@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<OnenoteEntityBaseModel> getAsync()
@Nullable public OnenoteEntityBaseModel 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<OnenoteEntityBaseModel> deleteAsync()
@Nullable public OnenoteEntityBaseModel 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<OnenoteEntityBaseModel> patchAsync(@Nonnull OnenoteEntityBaseModel sourceOnenoteEntityBaseModel)
sourceOnenoteEntityBaseModel
- the source object with updates@Nullable public OnenoteEntityBaseModel patch(@Nonnull OnenoteEntityBaseModel sourceOnenoteEntityBaseModel) throws com.microsoft.graph.core.ClientException
sourceOnenoteEntityBaseModel
- 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<OnenoteEntityBaseModel> postAsync(@Nonnull OnenoteEntityBaseModel newOnenoteEntityBaseModel)
newOnenoteEntityBaseModel
- the new object to create@Nullable public OnenoteEntityBaseModel post(@Nonnull OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws com.microsoft.graph.core.ClientException
newOnenoteEntityBaseModel
- 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<OnenoteEntityBaseModel> putAsync(@Nonnull OnenoteEntityBaseModel newOnenoteEntityBaseModel)
newOnenoteEntityBaseModel
- the object to create/update@Nullable public OnenoteEntityBaseModel put(@Nonnull OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws com.microsoft.graph.core.ClientException
newOnenoteEntityBaseModel
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public OnenoteEntityBaseModelRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public OnenoteEntityBaseModelRequest expand(@Nonnull java.lang.String value)
value
- the expand clause