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