Class MicrosoftGraphNotebook
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.MicrosoftGraphNotebook
notebook.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphNotebook class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: notebook.Get the isDefault property: Indicates whether this is the user's default notebook.isShared()Get the isShared property: Indicates whether the notebook is shared.links()Get the links property: notebookLinks.Get the sectionGroups property: The section groups in the notebook.Get the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook.sections()Get the sections property: The sections in the notebook.Get the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook.userRole()Get the userRole property: onenoteUserRole.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: notebook.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 notebook.withIsShared(Boolean isShared) Set the isShared property: Indicates whether the notebook is shared.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: notebookLinks.withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups) Set the sectionGroups property: The section groups in the notebook.withSectionGroupsUrl(String sectionGroupsUrl) Set the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook.withSections(List<MicrosoftGraphOnenoteSection> sections) Set the sections property: The sections in the notebook.withSectionsUrl(String sectionsUrl) Set the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook.Set the self property: The endpoint where you can get details about the page.withUserRole(MicrosoftGraphOnenoteUserRole userRole) Set the userRole property: onenoteUserRole.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
-
MicrosoftGraphNotebook
public MicrosoftGraphNotebook()Creates an instance of MicrosoftGraphNotebook class.
-
-
Method Details
-
isDefault
Get the isDefault property: Indicates whether this is the user's default notebook. Read-only.- Returns:
- the isDefault value.
-
withIsDefault
Set the isDefault property: Indicates whether this is the user's default notebook. Read-only.- Parameters:
isDefault- the isDefault value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
links
Get the links property: notebookLinks.- Returns:
- the links value.
-
withLinks
Set the links property: notebookLinks.- Parameters:
links- the links value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
sectionGroupsUrl
Get the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.- Returns:
- the sectionGroupsUrl value.
-
withSectionGroupsUrl
Set the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.- Parameters:
sectionGroupsUrl- the sectionGroupsUrl value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
sectionsUrl
Get the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.- Returns:
- the sectionsUrl value.
-
withSectionsUrl
Set the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.- Parameters:
sectionsUrl- the sectionsUrl value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
userRole
Get the userRole property: onenoteUserRole.- Returns:
- the userRole value.
-
withUserRole
Set the userRole property: onenoteUserRole.- Parameters:
userRole- the userRole value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
sectionGroups
Get the sectionGroups property: The section groups in the notebook. Read-only. Nullable.- Returns:
- the sectionGroups value.
-
withSectionGroups
Set the sectionGroups property: The section groups in the notebook. Read-only. Nullable.- Parameters:
sectionGroups- the sectionGroups value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
sections
Get the sections property: The sections in the notebook. Read-only. Nullable.- Returns:
- the sections value.
-
withSections
Set the sections property: The sections in the notebook. Read-only. Nullable.- Parameters:
sections- the sections value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
additionalProperties
Get the additionalProperties property: notebook.- Overrides:
additionalPropertiesin classMicrosoftGraphOnenoteEntityHierarchyModel- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: notebook.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOnenoteEntityHierarchyModel- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphNotebook 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.
-