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
  • Constructor Details

    • SectionGroup

      public SectionGroup()
      Instantiates a new SectionGroup 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class OnenoteEntityHierarchyModel
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getParentNotebook

      @Nullable public Notebook getParentNotebook()
      Gets the parentNotebook property value. The notebook that contains the section group. Read-only.
      Returns:
      a Notebook
    • getParentSectionGroup

      @Nullable public SectionGroup getParentSectionGroup()
      Gets the parentSectionGroup property value. The section group that contains the section group. Read-only.
      Returns:
      a SectionGroup
    • getSectionGroups

      @Nullable public List<SectionGroup> getSectionGroups()
      Gets the sectionGroups property value. The section groups in the section. Read-only. Nullable.
      Returns:
      a List<SectionGroup>
    • getSectionGroupsUrl

      @Nullable public String 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

      @Nullable public List<OnenoteSection> getSections()
      Gets the sections property value. The sections in the section group. Read-only. Nullable.
      Returns:
      a List<OnenoteSection>
    • getSectionsUrl

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class OnenoteEntityHierarchyModel
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setParentNotebook

      public void setParentNotebook(@Nullable Notebook value)
      Sets the parentNotebook property value. The notebook that contains the section group. Read-only.
      Parameters:
      value - Value to set for the parentNotebook property.
    • setParentSectionGroup

      public void setParentSectionGroup(@Nullable SectionGroup value)
      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

      public void setSectionGroups(@Nullable List<SectionGroup> value)
      Sets the sectionGroups property value. The section groups in the section. Read-only. Nullable.
      Parameters:
      value - Value to set for the sectionGroups property.
    • setSectionGroupsUrl

      public void setSectionGroupsUrl(@Nullable String value)
      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

      public void setSections(@Nullable List<OnenoteSection> value)
      Sets the sections property value. The sections in the section group. Read-only. Nullable.
      Parameters:
      value - Value to set for the sections property.
    • setSectionsUrl

      public void setSectionsUrl(@Nullable String value)
      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.