Package com.microsoft.graph.requests
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 Summary
ConstructorsConstructorDescriptionOnenotePageRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the OnenotePage -
Method Summary
Modifier and TypeMethodDescriptionbuildRequest
(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest
(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionscontent()
Gets the request builder for contentcopyToSection
(OnenotePageCopyToSectionParameterSet parameters) Gets a builder to execute the methodGets a builder to execute the methodGets the request builder for NotebookGets the request builder for OnenoteSectionpreview()
Gets a builder to execute the methodMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
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 URLclient
- the service clientrequestOptions
- 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
Gets the request builder for Notebook- Returns:
- the NotebookRequestBuilder instance
-
parentSection
Gets the request builder for OnenoteSection- Returns:
- the OnenoteSectionRequestBuilder instance
-
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
Gets a builder to execute the method- Returns:
- the request builder
-