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
onenoteSection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOnenoteSection class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: onenoteSection.Get the isDefault property: Indicates whether this is the user's default section.links()Get the links property: sectionLinks.pages()Get the pages property: The collection of pages in the section.pagesUrl()Get the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.Get the parentNotebook property: notebook.Get the parentSectionGroup property: sectionGroup.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenoteSection.withCreatedBy(MicrosoftGraphIdentitySet createdBy) Set the createdBy property: identitySet.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: The date and time when the page was created.withDisplayName(String displayName) Set the displayName property: The name of the notebook.Set the id property: Read-only.withIsDefault(Boolean isDefault) Set the isDefault property: Indicates whether this is the user's default section.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The date and time when the notebook was last modified.Set the links property: sectionLinks.withPages(List<MicrosoftGraphOnenotePage> pages) Set the pages property: The collection of pages in the section.withPagesUrl(String pagesUrl) Set the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.withParentNotebook(MicrosoftGraphNotebook parentNotebook) Set the parentNotebook property: notebook.withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup) Set the parentSectionGroup property: sectionGroup.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, lastModifiedDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntitySchemaObjectModel
createdDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityBaseModel
selfMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphOnenoteSection
public MicrosoftGraphOnenoteSection()Creates an instance of MicrosoftGraphOnenoteSection class.
-
-
Method Details
-
isDefault
Get the isDefault property: Indicates whether this is the user's default section. Read-only.- Returns:
- the isDefault value.
-
withIsDefault
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
Get the links property: sectionLinks.- Returns:
- the links value.
-
withLinks
Set the links property: sectionLinks.- Parameters:
links- the links value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
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
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
Get the pages property: The collection of pages in the section. Read-only. Nullable.- Returns:
- the pages value.
-
withPages
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
Get the parentNotebook property: notebook.- Returns:
- the parentNotebook value.
-
withParentNotebook
Set the parentNotebook property: notebook.- Parameters:
parentNotebook- the parentNotebook value to set.- Returns:
- the MicrosoftGraphOnenoteSection object itself.
-
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
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
Set the createdBy property: identitySet.- Overrides:
withCreatedByin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withDisplayName
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
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withLastModifiedDateTime
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
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
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
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.
-