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