Class OnenotePageRequest
- java.lang.Object
-
- com.github.davidmoten.odata.client.EntityRequest<OnenotePage>
-
- odata.msgraph.client.beta.entity.request.OnenotePageRequest
-
public class OnenotePageRequest extends com.github.davidmoten.odata.client.EntityRequest<OnenotePage>
-
-
Constructor Summary
Constructors Constructor Description OnenotePageRequest(com.github.davidmoten.odata.client.ContextPath contextPath, Optional<Object> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation>copyToSection(String id, String groupId, String siteCollectionId, String siteId)Optional<com.github.davidmoten.odata.client.StreamProvider>getStreamCurrentPath()If returning a stream without using object metadata is not supported then * returnsOptional.empty().com.github.davidmoten.odata.client.ActionRequestNoReturnonenotePatchContent(List<OnenotePatchContentCommand> commands)NotebookRequestparentNotebook()OnenoteSectionRequestparentSection()com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<OnenotePagePreview>preview()
-
-
-
Method Detail
-
getStreamCurrentPath
public Optional<com.github.davidmoten.odata.client.StreamProvider> getStreamCurrentPath()
If returning a stream without using object metadata is not supported then * returnsOptional.empty(). Otherwise, returns a stream provider where the location of the stream is assumed to be the current path +/$value.- Returns:
- StreamProvider if suitable metadata found otherwise returns
Optional.empty()
-
parentNotebook
public NotebookRequest parentNotebook()
-
parentSection
public OnenoteSectionRequest parentSection()
-
copyToSection
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation> copyToSection(String id, String groupId, String siteCollectionId, String siteId)
-
onenotePatchContent
public com.github.davidmoten.odata.client.ActionRequestNoReturn onenotePatchContent(List<OnenotePatchContentCommand> commands)
-
preview
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<OnenotePagePreview> preview()
-
-