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