Class MicrosoftGraphOnenoteSection
- 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.MicrosoftGraphOnenoteSection
-
public final class MicrosoftGraphOnenoteSection extends MicrosoftGraphOnenoteEntityHierarchyModel
onenoteSection.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOnenoteSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: onenoteSection.BooleanisDefault()Get the isDefault property: Indicates whether this is the user's default section.MicrosoftGraphSectionLinkslinks()Get the links property: sectionLinks.List<MicrosoftGraphOnenotePage>pages()Get the pages property: The collection of pages in the section.StringpagesUrl()Get the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.MicrosoftGraphNotebookparentNotebook()Get the parentNotebook property: notebook.MicrosoftGraphSectionGroupparentSectionGroup()Get the parentSectionGroup property: sectionGroup.voidvalidate()Validates the instance.MicrosoftGraphOnenoteSectionwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: onenoteSection.MicrosoftGraphOnenoteSectionwithCreatedBy(MicrosoftGraphIdentitySet createdBy)Set the createdBy property: identitySet.MicrosoftGraphOnenoteSectionwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphOnenoteSectionwithDisplayName(String displayName)Set the displayName property: The name of the notebook.MicrosoftGraphOnenoteSectionwithId(String id)Set the id property: Read-only.MicrosoftGraphOnenoteSectionwithIsDefault(Boolean isDefault)Set the isDefault property: Indicates whether this is the user's default section.MicrosoftGraphOnenoteSectionwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphOnenoteSectionwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The date and time when the notebook was last modified.MicrosoftGraphOnenoteSectionwithLinks(MicrosoftGraphSectionLinks links)Set the links property: sectionLinks.MicrosoftGraphOnenoteSectionwithPages(List<MicrosoftGraphOnenotePage> pages)Set the pages property: The collection of pages in the section.MicrosoftGraphOnenoteSectionwithPagesUrl(String pagesUrl)Set the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.MicrosoftGraphOnenoteSectionwithParentNotebook(MicrosoftGraphNotebook parentNotebook)Set the parentNotebook property: notebook.MicrosoftGraphOnenoteSectionwithParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)Set the parentSectionGroup property: sectionGroup.MicrosoftGraphOnenoteSectionwithSelf(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
-
isDefault
public Boolean isDefault()
Get the isDefault property: Indicates whether this is the user's default section. Read-only.- Returns:
- the isDefault value.
-
withIsDefault
public MicrosoftGraphOnenoteSection withIsDefault(Boolean isDefault)
Set the isDefault property: Indicates whether this is the user's default section. Read-only.- Parameters:
isDefault- the isDefault value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
links
public MicrosoftGraphSectionLinks links()
Get the links property: sectionLinks.- Returns:
- the links value.
-
withLinks
public MicrosoftGraphOnenoteSection withLinks(MicrosoftGraphSectionLinks links)
Set the links property: sectionLinks.- Parameters:
links- the links value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
pagesUrl
public String pagesUrl()
Get the pagesUrl property: The pages endpoint where you can get details for all the pages in the section. Read-only.- Returns:
- the pagesUrl value.
-
withPagesUrl
public MicrosoftGraphOnenoteSection withPagesUrl(String pagesUrl)
Set the pagesUrl property: The pages endpoint where you can get details for all the pages in the section. Read-only.- Parameters:
pagesUrl- the pagesUrl value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
pages
public List<MicrosoftGraphOnenotePage> pages()
Get the pages property: The collection of pages in the section. Read-only. Nullable.- Returns:
- the pages value.
-
withPages
public MicrosoftGraphOnenoteSection withPages(List<MicrosoftGraphOnenotePage> pages)
Set the pages property: The collection of pages in the section. Read-only. Nullable.- Parameters:
pages- the pages value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
parentNotebook
public MicrosoftGraphNotebook parentNotebook()
Get the parentNotebook property: notebook.- Returns:
- the parentNotebook value.
-
withParentNotebook
public MicrosoftGraphOnenoteSection withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.- Parameters:
parentNotebook- the parentNotebook value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
parentSectionGroup
public MicrosoftGraphSectionGroup parentSectionGroup()
Get the parentSectionGroup property: sectionGroup.- Returns:
- the parentSectionGroup value.
-
withParentSectionGroup
public MicrosoftGraphOnenoteSection withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)
Set the parentSectionGroup property: sectionGroup.- Parameters:
parentSectionGroup- the parentSectionGroup value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: onenoteSection.- Overrides:
additionalPropertiesin classMicrosoftGraphOnenoteEntityHierarchyModel- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteSection withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteSection.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
withCreatedBy
public MicrosoftGraphOnenoteSection withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.- Overrides:
withCreatedByin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withDisplayName
public MicrosoftGraphOnenoteSection withDisplayName(String displayName)
Set the displayName property: The name of the notebook.- Overrides:
withDisplayNamein classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withLastModifiedBy
public MicrosoftGraphOnenoteSection withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withLastModifiedDateTime
public MicrosoftGraphOnenoteSection 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:
withLastModifiedDateTimein classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withCreatedDateTime
public MicrosoftGraphOnenoteSection 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:
withCreatedDateTimein classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntitySchemaObjectModel object itself.
-
withSelf
public MicrosoftGraphOnenoteSection withSelf(String self)
Set the self property: The endpoint where you can get details about the page. Read-only.- Overrides:
withSelfin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
self- the self value to set.- Returns:
- the MicrosoftGraphOnenoteEntityBaseModel object itself.
-
withId
public MicrosoftGraphOnenoteSection withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphOnenoteEntityHierarchyModel- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-