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 SectionGroupcreateFromDiscriminatorValue(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.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetParentNotebook(Notebook value) Sets the parentNotebook property value.voidSets the parentSectionGroup property value.voidsetSectionGroups(List<SectionGroup> value) Sets the sectionGroups property value.voidsetSectionGroupsUrl(String value) Sets the sectionGroupsUrl property value.voidsetSections(List<OnenoteSection> value) Sets the sections property value.voidsetSectionsUrl(String value) Sets the sectionsUrl property value.Methods inherited from class com.microsoft.graph.models.OnenoteEntityHierarchyModel
getCreatedBy, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, setCreatedBy, setDisplayName, setLastModifiedBy, setLastModifiedDateTimeMethods inherited from class com.microsoft.graph.models.OnenoteEntitySchemaObjectModel
getCreatedDateTime, setCreatedDateTimeMethods inherited from class com.microsoft.graph.models.OnenoteEntityBaseModel
getSelf, setSelfMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SectionGroup
public SectionGroup()Instantiates a newSectionGroupand 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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin 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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein 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.
-