Class OnenoteRequestBuilder

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

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

    • OnenoteRequestBuilder

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

    • buildRequest

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

      @Nonnull public OnenoteRequest 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 OnenoteRequest instance
    • notebooks

      @Nonnull public NotebookCollectionRequestBuilder notebooks()
      Gets a request builder for the Notebook collection
      Returns:
      the collection request builder
    • notebooks

      @Nonnull public NotebookRequestBuilder notebooks(@Nonnull String id)
      Gets a request builder for the Notebook item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • operations

      @Nonnull public OnenoteOperationCollectionRequestBuilder operations()
      Gets a request builder for the OnenoteOperation collection
      Returns:
      the collection request builder
    • operations

      @Nonnull public OnenoteOperationRequestBuilder operations(@Nonnull String id)
      Gets a request builder for the OnenoteOperation item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • pages

      @Nonnull public OnenotePageCollectionRequestBuilder pages()
      Gets a request builder for the OnenotePage collection
      Returns:
      the collection request builder
    • pages

      @Nonnull public OnenotePageRequestBuilder pages(@Nonnull String id)
      Gets a request builder for the OnenotePage item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • resources

      @Nonnull public OnenoteResourceCollectionRequestBuilder resources()
      Gets a request builder for the OnenoteResource collection
      Returns:
      the collection request builder
    • resources

      @Nonnull public OnenoteResourceRequestBuilder resources(@Nonnull String id)
      Gets a request builder for the OnenoteResource item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • 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