public class Notebook extends OnenoteEntityHierarchyModel implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Notebook.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
isDefault |
protected Boolean |
isShared |
protected NotebookLinks |
links |
protected String |
sectionGroupsUrl |
protected String |
sectionsUrl |
protected OnenoteUserRole |
userRole |
createdBy, displayName, lastModifiedBy, lastModifiedDateTimecreatedDateTimeselfchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Notebook() |
| Modifier and Type | Method and Description |
|---|---|
static Notebook.Builder |
builderNotebook()
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.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation> |
copyNotebook(String groupId,
String renameAs,
String notebookFolder,
String siteCollectionId,
String siteId) |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getIsDefault() |
Optional<Boolean> |
getIsShared() |
Optional<NotebookLinks> |
getLinks() |
SectionGroupCollectionRequest |
getSectionGroups() |
Optional<String> |
getSectionGroupsUrl() |
OnenoteSectionCollectionRequest |
getSections() |
Optional<String> |
getSectionsUrl() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<OnenoteUserRole> |
getUserRole() |
String |
odataTypeName() |
Notebook |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Notebook |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Notebook |
withIsDefault(Boolean isDefault) |
Notebook |
withIsShared(Boolean isShared) |
Notebook |
withLinks(NotebookLinks links) |
Notebook |
withSectionGroupsUrl(String sectionGroupsUrl) |
Notebook |
withSectionsUrl(String sectionsUrl) |
Notebook |
withUserRole(OnenoteUserRole userRole) |
getCreatedBy, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, withCreatedBy, withDisplayName, withLastModifiedBy, withLastModifiedDateTimegetCreatedDateTime, withCreatedDateTimegetSelf, withSelfprotected Boolean isDefault
protected OnenoteUserRole userRole
protected Boolean isShared
protected String sectionsUrl
protected String sectionGroupsUrl
protected NotebookLinks links
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OnenoteEntityHierarchyModelpublic static Notebook.Builder builderNotebook()
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 Optional<OnenoteUserRole> getUserRole()
public Notebook withUserRole(OnenoteUserRole userRole)
public Optional<NotebookLinks> getLinks()
public Notebook withLinks(NotebookLinks links)
public OnenoteSectionCollectionRequest getSections()
public SectionGroupCollectionRequest getSectionGroups()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OnenoteEntityHierarchyModelpublic Notebook 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 Notebook 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.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation> copyNotebook(String groupId, String renameAs, String notebookFolder, String siteCollectionId, String siteId)
public String toString()
toString in class OnenoteEntityHierarchyModelCopyright © 2018–2020. All rights reserved.