Class WorkbookChartFillRequest

java.lang.Object
com.microsoft.graph.http.BaseRequest<WorkbookChartFill>
com.microsoft.graph.requests.WorkbookChartFillRequest
All Implemented Interfaces:
com.microsoft.graph.http.IHttpRequest

public class WorkbookChartFillRequest extends com.microsoft.graph.http.BaseRequest<WorkbookChartFill>
The class for the Workbook Chart Fill Request.
  • Constructor Details

    • WorkbookChartFillRequest

      public WorkbookChartFillRequest(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions)
      The request for the WorkbookChartFill
      Parameters:
      requestUrl - the request URL
      client - the service client
      requestOptions - the options for this request
  • Method Details

    • getAsync

      @Nonnull public CompletableFuture<WorkbookChartFill> getAsync()
      Gets the WorkbookChartFill from the service
      Returns:
      a future with the result
    • get

      @Nullable public WorkbookChartFill get() throws com.microsoft.graph.core.ClientException
      Gets the WorkbookChartFill from the service
      Returns:
      the WorkbookChartFill from the request
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • deleteAsync

      @Nonnull public CompletableFuture<WorkbookChartFill> deleteAsync()
      Delete this item from the service
      Returns:
      a future with the deletion result
    • delete

      @Nullable public WorkbookChartFill delete() throws com.microsoft.graph.core.ClientException
      Delete this item from the service
      Returns:
      the resulting response if the service returns anything on deletion
      Throws:
      com.microsoft.graph.core.ClientException - if there was an exception during the delete operation
    • patchAsync

      @Nonnull public CompletableFuture<WorkbookChartFill> patchAsync(@Nonnull WorkbookChartFill sourceWorkbookChartFill)
      Patches this WorkbookChartFill with a source
      Parameters:
      sourceWorkbookChartFill - the source object with updates
      Returns:
      a future with the result
    • patch

      @Nullable public WorkbookChartFill patch(@Nonnull WorkbookChartFill sourceWorkbookChartFill) throws com.microsoft.graph.core.ClientException
      Patches this WorkbookChartFill with a source
      Parameters:
      sourceWorkbookChartFill - the source object with updates
      Returns:
      the updated WorkbookChartFill
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • postAsync

      @Nonnull public CompletableFuture<WorkbookChartFill> postAsync(@Nonnull WorkbookChartFill newWorkbookChartFill)
      Creates a WorkbookChartFill with a new object
      Parameters:
      newWorkbookChartFill - the new object to create
      Returns:
      a future with the result
    • post

      @Nullable public WorkbookChartFill post(@Nonnull WorkbookChartFill newWorkbookChartFill) throws com.microsoft.graph.core.ClientException
      Creates a WorkbookChartFill with a new object
      Parameters:
      newWorkbookChartFill - the new object to create
      Returns:
      the created WorkbookChartFill
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • putAsync

      @Nonnull public CompletableFuture<WorkbookChartFill> putAsync(@Nonnull WorkbookChartFill newWorkbookChartFill)
      Creates a WorkbookChartFill with a new object
      Parameters:
      newWorkbookChartFill - the object to create/update
      Returns:
      a future with the result
    • put

      @Nullable public WorkbookChartFill put(@Nonnull WorkbookChartFill newWorkbookChartFill) throws com.microsoft.graph.core.ClientException
      Creates a WorkbookChartFill with a new object
      Parameters:
      newWorkbookChartFill - the object to create/update
      Returns:
      the created WorkbookChartFill
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • select

      @Nonnull public WorkbookChartFillRequest select(@Nonnull String value)
      Sets the select clause for the request
      Parameters:
      value - the select clause
      Returns:
      the updated request
    • expand

      @Nonnull public WorkbookChartFillRequest expand(@Nonnull String value)
      Sets the expand clause for the request
      Parameters:
      value - the expand clause
      Returns:
      the updated request