Class MicrosoftGraphSectionGroup
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityBaseModel
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntitySchemaObjectModel
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityHierarchyModel
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSectionGroup
-
public final class MicrosoftGraphSectionGroup extends MicrosoftGraphOnenoteEntityHierarchyModel
sectionGroup.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphSectionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: sectionGroup.MicrosoftGraphNotebook
parentNotebook()
Get the parentNotebook property: notebook.MicrosoftGraphSectionGroup
parentSectionGroup()
Get the parentSectionGroup property: sectionGroup.List<MicrosoftGraphSectionGroup>
sectionGroups()
Get the sectionGroups property: The section groups in the section.String
sectionGroupsUrl()
Get the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the section group.List<MicrosoftGraphOnenoteSection>
sections()
Get the sections property: The sections in the section group.String
sectionsUrl()
Get the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the section group.void
validate()
Validates the instance.MicrosoftGraphSectionGroup
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: sectionGroup.MicrosoftGraphSectionGroup
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.MicrosoftGraphSectionGroup
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphSectionGroup
withDisplayName(String displayName)
Set the displayName property: The name of the notebook.MicrosoftGraphSectionGroup
withId(String id)
Set the id property: Read-only.MicrosoftGraphSectionGroup
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.MicrosoftGraphSectionGroup
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the notebook was last modified.MicrosoftGraphSectionGroup
withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.MicrosoftGraphSectionGroup
withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)
Set the parentSectionGroup property: sectionGroup.MicrosoftGraphSectionGroup
withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups)
Set the sectionGroups property: The section groups in the section.MicrosoftGraphSectionGroup
withSectionGroupsUrl(String sectionGroupsUrl)
Set the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the section group.MicrosoftGraphSectionGroup
withSections(List<MicrosoftGraphOnenoteSection> sections)
Set the sections property: The sections in the section group.MicrosoftGraphSectionGroup
withSectionsUrl(String sectionsUrl)
Set the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the section group.MicrosoftGraphSectionGroup
withSelf(String self)
Set the self property: The endpoint where you can get details about the page.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityHierarchyModel
createdBy, displayName, lastModifiedBy, lastModifiedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntitySchemaObjectModel
createdDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityBaseModel
self
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
sectionGroupsUrl
public String sectionGroupsUrl()
Get the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.- Returns:
- the sectionGroupsUrl value.
-
withSectionGroupsUrl
public MicrosoftGraphSectionGroup withSectionGroupsUrl(String sectionGroupsUrl)
Set the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.- Parameters:
sectionGroupsUrl
- the sectionGroupsUrl value to set.- Returns:
- the MicrosoftGraphSectionGroup object itself.
-
sectionsUrl
public String sectionsUrl()
Get the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.- Returns:
- the sectionsUrl value.
-
withSectionsUrl
public MicrosoftGraphSectionGroup withSectionsUrl(String sectionsUrl)
Set the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.- Parameters:
sectionsUrl
- the sectionsUrl value to set.- Returns:
- the MicrosoftGraphSectionGroup object itself.
-
parentNotebook
public MicrosoftGraphNotebook parentNotebook()
Get the parentNotebook property: notebook.- Returns:
- the parentNotebook value.
-
withParentNotebook
public MicrosoftGraphSectionGroup withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.- Parameters:
parentNotebook
- the parentNotebook value to set.- Returns:
- the MicrosoftGraphSectionGroup object itself.
-
parentSectionGroup
public MicrosoftGraphSectionGroup parentSectionGroup()
Get the parentSectionGroup property: sectionGroup.- Returns:
- the parentSectionGroup value.
-
withParentSectionGroup
public MicrosoftGraphSectionGroup withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)
Set the parentSectionGroup property: sectionGroup.- Parameters:
parentSectionGroup
- the parentSectionGroup value to set.- Returns:
- the MicrosoftGraphSectionGroup object itself.
-
sectionGroups
public List<MicrosoftGraphSectionGroup> sectionGroups()
Get the sectionGroups property: The section groups in the section. Read-only. Nullable.- Returns:
- the sectionGroups value.
-
withSectionGroups
public MicrosoftGraphSectionGroup withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups)
Set the sectionGroups property: The section groups in the section. Read-only. Nullable.- Parameters:
sectionGroups
- the sectionGroups value to set.- Returns:
- the MicrosoftGraphSectionGroup object itself.
-
sections
public List<MicrosoftGraphOnenoteSection> sections()
Get the sections property: The sections in the section group. Read-only. Nullable.- Returns:
- the sections value.
-
withSections
public MicrosoftGraphSectionGroup withSections(List<MicrosoftGraphOnenoteSection> sections)
Set the sections property: The sections in the section group. Read-only. Nullable.- Parameters:
sections
- the sections value to set.- Returns:
- the MicrosoftGraphSectionGroup object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: sectionGroup.- Overrides:
additionalProperties
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSectionGroup withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: sectionGroup.- Overrides:
withAdditionalProperties
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSectionGroup object itself.
-
withCreatedBy
public MicrosoftGraphSectionGroup withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.- Overrides:
withCreatedBy
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withDisplayName
public MicrosoftGraphSectionGroup withDisplayName(String displayName)
Set the displayName property: The name of the notebook.- Overrides:
withDisplayName
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withLastModifiedBy
public MicrosoftGraphSectionGroup withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedBy
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
lastModifiedBy
- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withLastModifiedDateTime
public MicrosoftGraphSectionGroup withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Overrides:
withLastModifiedDateTime
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
lastModifiedDateTime
- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withCreatedDateTime
public MicrosoftGraphSectionGroup withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Overrides:
withCreatedDateTime
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntitySchemaObjectModel object itself.
-
withSelf
public MicrosoftGraphSectionGroup withSelf(String self)
Set the self property: The endpoint where you can get details about the page. Read-only.- Overrides:
withSelf
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
self
- the self value to set.- Returns:
- the MicrosoftGraphOnenoteEntityBaseModel object itself.
-
withId
public MicrosoftGraphSectionGroup withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-