Class NotebookRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Notebook>
com.microsoft.graph.requests.NotebookRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class NotebookRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Notebook>
The class for the Notebook Request Builder.
  • Constructor Details

    • NotebookRequestBuilder

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

    • buildRequest

      @Nonnull public NotebookRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions)
      Creates the request
      Parameters:
      requestOptions - the options for this request
      Returns:
      the NotebookRequest instance
    • buildRequest

      @Nonnull public NotebookRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions)
      Creates the request with specific requestOptions instead of the existing requestOptions
      Parameters:
      requestOptions - the options for this request
      Returns:
      the NotebookRequest instance
    • sectionGroups

      @Nonnull public SectionGroupCollectionRequestBuilder sectionGroups()
      Gets a request builder for the SectionGroup collection
      Returns:
      the collection request builder
    • sectionGroups

      @Nonnull public SectionGroupRequestBuilder sectionGroups(@Nonnull String id)
      Gets a request builder for the SectionGroup item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • sections

      @Nonnull public OnenoteSectionCollectionRequestBuilder sections()
      Gets a request builder for the OnenoteSection collection
      Returns:
      the collection request builder
    • sections

      @Nonnull public OnenoteSectionRequestBuilder sections(@Nonnull String id)
      Gets a request builder for the OnenoteSection item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • copyNotebook

      @Nonnull public NotebookCopyNotebookRequestBuilder copyNotebook(@Nonnull NotebookCopyNotebookParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder