public class OnenoteSection extends OnenoteEntityHierarchyModel implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
OnenoteSection.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
isDefault |
protected SectionLinks |
links |
protected String |
pagesUrl |
createdBy, displayName, lastModifiedBy, lastModifiedDateTimecreatedDateTimeselfchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OnenoteSection() |
| Modifier and Type | Method and Description |
|---|---|
static OnenoteSection.Builder |
builderOnenoteSection()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<OnenoteOperation> |
copyToNotebook(String id,
String groupId,
String renameAs,
String siteCollectionId,
String siteId) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<OnenoteOperation> |
copyToSectionGroup(String id,
String groupId,
String renameAs,
String siteCollectionId,
String siteId) |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getIsDefault() |
Optional<SectionLinks> |
getLinks() |
OnenotePageCollectionRequest |
getPages() |
Optional<String> |
getPagesUrl() |
NotebookRequest |
getParentNotebook() |
SectionGroupRequest |
getParentSectionGroup() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
OnenoteSection |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
OnenoteSection |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
OnenoteSection |
withIsDefault(Boolean isDefault) |
OnenoteSection |
withLinks(SectionLinks links) |
OnenoteSection |
withPagesUrl(String pagesUrl) |
getCreatedBy, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, withCreatedBy, withDisplayName, withLastModifiedBy, withLastModifiedDateTimegetCreatedDateTime, withCreatedDateTimegetSelf, withSelfprotected Boolean isDefault
protected SectionLinks links
protected String pagesUrl
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OnenoteEntityHierarchyModelpublic static OnenoteSection.Builder builderOnenoteSection()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class OnenoteEntityHierarchyModelpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OnenoteEntityHierarchyModelpublic OnenoteSection withIsDefault(Boolean isDefault)
public Optional<SectionLinks> getLinks()
public OnenoteSection withLinks(SectionLinks links)
public OnenoteSection withPagesUrl(String pagesUrl)
public NotebookRequest getParentNotebook()
public SectionGroupRequest getParentSectionGroup()
public OnenotePageCollectionRequest getPages()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OnenoteEntityHierarchyModelpublic OnenoteSection patch()
this with changed fields reset.patch in class OnenoteEntityHierarchyModelthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic OnenoteSection put()
this
with changed fields reset (they were ignored anyway).put in class OnenoteEntityHierarchyModelthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<OnenoteOperation> copyToNotebook(String id, String groupId, String renameAs, String siteCollectionId, String siteId)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<OnenoteOperation> copyToSectionGroup(String id, String groupId, String renameAs, String siteCollectionId, String siteId)
public String toString()
toString in class OnenoteEntityHierarchyModelCopyright © 2018–2020. All rights reserved.