Package odata.msgraph.client.entity
Class SectionGroup
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SectionGroup extends OnenoteEntityHierarchyModel implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSectionGroup.Builder
-
Field Summary
Fields Modifier and Type Field Description protected NotebookparentNotebookprotected SectionGroupparentSectionGroupprotected List<SectionGroup>sectionGroupsprotected StringsectionGroupsUrlprotected List<OnenoteSection>sectionsprotected StringsectionsUrl-
Fields inherited from class odata.msgraph.client.entity.OnenoteEntityHierarchyModel
createdBy, displayName, lastModifiedBy, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.entity.OnenoteEntitySchemaObjectModel
createdDateTime
-
Fields inherited from class odata.msgraph.client.entity.OnenoteEntityBaseModel
self
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSectionGroup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SectionGroup.BuilderbuilderSectionGroup()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.internal.ChangedFieldsgetChangedFields()NotebookRequestgetParentNotebook()SectionGroupRequestgetParentSectionGroup()SectionGroupCollectionRequestgetSectionGroups()Optional<String>getSectionGroupsUrl()OnenoteSectionCollectionRequestgetSections()Optional<String>getSectionsUrl()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SectionGrouppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SectionGroupput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SectionGroupwithParentNotebook(Notebook parentNotebook)SectionGroupwithParentSectionGroup(SectionGroup parentSectionGroup)SectionGroupwithSectionGroups(List<SectionGroup> sectionGroups)SectionGroupwithSectionGroupsUrl(String sectionGroupsUrl)SectionGroupwithSections(List<OnenoteSection> sections)SectionGroupwithSectionsUrl(String sectionsUrl)SectionGroupwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.OnenoteEntityHierarchyModel
getCreatedBy, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, withCreatedBy, withDisplayName, withLastModifiedBy, withLastModifiedDateTime
-
Methods inherited from class odata.msgraph.client.entity.OnenoteEntitySchemaObjectModel
getCreatedDateTime, withCreatedDateTime
-
Methods inherited from class odata.msgraph.client.entity.OnenoteEntityBaseModel
getSelf, withSelf
-
-
-
-
Field Detail
-
sectionGroupsUrl
protected String sectionGroupsUrl
-
sectionsUrl
protected String sectionsUrl
-
parentNotebook
protected Notebook parentNotebook
-
parentSectionGroup
protected SectionGroup parentSectionGroup
-
sectionGroups
protected List<SectionGroup> sectionGroups
-
sections
protected List<OnenoteSection> sections
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOnenoteEntityHierarchyModel
-
builderSectionGroup
public static SectionGroup.Builder builderSectionGroup()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classOnenoteEntityHierarchyModel
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOnenoteEntityHierarchyModel
-
withSectionGroupsUrl
public SectionGroup withSectionGroupsUrl(String sectionGroupsUrl)
-
withSectionsUrl
public SectionGroup withSectionsUrl(String sectionsUrl)
-
withUnmappedField
public SectionGroup withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classOnenoteEntityHierarchyModel
-
getParentNotebook
public NotebookRequest getParentNotebook()
-
getParentSectionGroup
public SectionGroupRequest getParentSectionGroup()
-
getSectionGroups
public SectionGroupCollectionRequest getSectionGroups()
-
getSections
public OnenoteSectionCollectionRequest getSections()
-
withParentNotebook
public SectionGroup withParentNotebook(Notebook parentNotebook)
-
withParentSectionGroup
public SectionGroup withParentSectionGroup(SectionGroup parentSectionGroup)
-
withSectionGroups
public SectionGroup withSectionGroups(List<SectionGroup> sectionGroups)
-
withSections
public SectionGroup withSections(List<OnenoteSection> sections)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOnenoteEntityHierarchyModel
-
patch
public SectionGroup patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classOnenoteEntityHierarchyModel- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public SectionGroup put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classOnenoteEntityHierarchyModel- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classOnenoteEntityHierarchyModel
-
-