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