Package com.microsoft.graph.models
Class SectionGroup
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SectionGroup
extends OnenoteEntityHierarchyModel
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SectionGroup
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the parentNotebook property value.Gets the parentSectionGroup property value.Gets the sectionGroups property value.Gets the sectionGroupsUrl property value.Gets the sections property value.Gets the sectionsUrl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setParentNotebook
(Notebook value) Sets the parentNotebook property value.void
Sets the parentSectionGroup property value.void
setSectionGroups
(List<SectionGroup> value) Sets the sectionGroups property value.void
setSectionGroupsUrl
(String value) Sets the sectionGroupsUrl property value.void
setSections
(List<OnenoteSection> value) Sets the sections property value.void
setSectionsUrl
(String value) Sets the sectionsUrl property value.Methods inherited from class com.microsoft.graph.models.OnenoteEntityHierarchyModel
getCreatedBy, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, setCreatedBy, setDisplayName, setLastModifiedBy, setLastModifiedDateTime
Methods inherited from class com.microsoft.graph.models.OnenoteEntitySchemaObjectModel
getCreatedDateTime, setCreatedDateTime
Methods inherited from class com.microsoft.graph.models.OnenoteEntityBaseModel
getSelf, setSelf
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SectionGroup
public SectionGroup()Instantiates a newSectionGroup
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SectionGroup createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
SectionGroup
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classOnenoteEntityHierarchyModel
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getParentNotebook
Gets the parentNotebook property value. The notebook that contains the section group. Read-only.- Returns:
- a
Notebook
-
getParentSectionGroup
Gets the parentSectionGroup property value. The section group that contains the section group. Read-only.- Returns:
- a
SectionGroup
-
getSectionGroups
Gets the sectionGroups property value. The section groups in the section. Read-only. Nullable.- Returns:
- a
List<SectionGroup>
-
getSectionGroupsUrl
Gets the sectionGroupsUrl property value. The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.- Returns:
- a
String
-
getSections
Gets the sections property value. The sections in the section group. Read-only. Nullable.- Returns:
- a
List<OnenoteSection>
-
getSectionsUrl
Gets the sectionsUrl property value. The URL for the sections navigation property, which returns all the sections in the section group. Read-only.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classOnenoteEntityHierarchyModel
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setParentNotebook
Sets the parentNotebook property value. The notebook that contains the section group. Read-only.- Parameters:
value
- Value to set for the parentNotebook property.
-
setParentSectionGroup
Sets the parentSectionGroup property value. The section group that contains the section group. Read-only.- Parameters:
value
- Value to set for the parentSectionGroup property.
-
setSectionGroups
Sets the sectionGroups property value. The section groups in the section. Read-only. Nullable.- Parameters:
value
- Value to set for the sectionGroups property.
-
setSectionGroupsUrl
Sets the sectionGroupsUrl property value. The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.- Parameters:
value
- Value to set for the sectionGroupsUrl property.
-
setSections
Sets the sections property value. The sections in the section group. Read-only. Nullable.- Parameters:
value
- Value to set for the sections property.
-
setSectionsUrl
Sets the sectionsUrl property value. The URL for the sections navigation property, which returns all the sections in the section group. Read-only.- Parameters:
value
- Value to set for the sectionsUrl property.
-