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.Boolean
isDefault()
Get the isDefault property: Indicates whether this is the user's default section.MicrosoftGraphSectionLinks
links()
Get the links property: sectionLinks.List<MicrosoftGraphOnenotePage>
pages()
Get the pages property: The collection of pages in the section.String
pagesUrl()
Get the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.MicrosoftGraphNotebook
parentNotebook()
Get the parentNotebook property: notebook.MicrosoftGraphSectionGroup
parentSectionGroup()
Get the parentSectionGroup property: sectionGroup.void
validate()
Validates the instance.MicrosoftGraphOnenoteSection
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteSection.MicrosoftGraphOnenoteSection
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.MicrosoftGraphOnenoteSection
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphOnenoteSection
withDisplayName(String displayName)
Set the displayName property: The name of the notebook.MicrosoftGraphOnenoteSection
withId(String id)
Set the id property: Read-only.MicrosoftGraphOnenoteSection
withIsDefault(Boolean isDefault)
Set the isDefault property: Indicates whether this is the user's default section.MicrosoftGraphOnenoteSection
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.MicrosoftGraphOnenoteSection
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the notebook was last modified.MicrosoftGraphOnenoteSection
withLinks(MicrosoftGraphSectionLinks links)
Set the links property: sectionLinks.MicrosoftGraphOnenoteSection
withPages(List<MicrosoftGraphOnenotePage> pages)
Set the pages property: The collection of pages in the section.MicrosoftGraphOnenoteSection
withPagesUrl(String pagesUrl)
Set the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.MicrosoftGraphOnenoteSection
withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.MicrosoftGraphOnenoteSection
withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)
Set the parentSectionGroup property: sectionGroup.MicrosoftGraphOnenoteSection
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
-
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:
additionalProperties
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteSection withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteSection.- Overrides:
withAdditionalProperties
in 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:
withCreatedBy
in 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:
withDisplayName
in 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:
withLastModifiedBy
in 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:
withLastModifiedDateTime
in 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:
withCreatedDateTime
in 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:
withSelf
in 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:
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.
-
-