Class OnenotePageRequestBuilder

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

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

    • OnenotePageRequestBuilder

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

    • buildRequest

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

      @Nonnull public OnenotePageRequest 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 OnenotePageRequest instance
    • parentNotebook

      @Nonnull public NotebookRequestBuilder parentNotebook()
      Gets the request builder for Notebook
      Returns:
      the NotebookRequestBuilder instance
    • parentSection

      @Nonnull public OnenoteSectionRequestBuilder parentSection()
      Gets the request builder for OnenoteSection
      Returns:
      the OnenoteSectionRequestBuilder instance
    • content

      @Nonnull public OnenotePageContentStreamRequestBuilder content()
      Gets the request builder for content
      Returns:
      the OnenotePageContentStreamRequestBuilder instance
    • copyToSection

      @Nonnull public OnenotePageCopyToSectionRequestBuilder copyToSection(@Nonnull OnenotePageCopyToSectionParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder
    • onenotePatchContent

      @Nonnull public OnenotePageOnenotePatchContentRequestBuilder onenotePatchContent(@Nonnull OnenotePageOnenotePatchContentParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder
    • preview

      @Nonnull public OnenotePagePreviewRequestBuilder preview()
      Gets a builder to execute the method
      Returns:
      the request builder