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
-
public final class MicrosoftGraphNotebook extends MicrosoftGraphOnenoteEntityHierarchyModel
notebook.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphNotebook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: notebook.Boolean
isDefault()
Get the isDefault property: Indicates whether this is the user's default notebook.Boolean
isShared()
Get the isShared property: Indicates whether the notebook is shared.MicrosoftGraphNotebookLinks
links()
Get the links property: notebookLinks.List<MicrosoftGraphSectionGroup>
sectionGroups()
Get the sectionGroups property: The section groups in the notebook.String
sectionGroupsUrl()
Get the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook.List<MicrosoftGraphOnenoteSection>
sections()
Get the sections property: The sections in the notebook.String
sectionsUrl()
Get the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook.MicrosoftGraphOnenoteUserRole
userRole()
Get the userRole property: The userRole property.void
validate()
Validates the instance.MicrosoftGraphNotebook
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: notebook.MicrosoftGraphNotebook
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.MicrosoftGraphNotebook
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphNotebook
withDisplayName(String displayName)
Set the displayName property: The name of the notebook.MicrosoftGraphNotebook
withId(String id)
Set the id property: Read-only.MicrosoftGraphNotebook
withIsDefault(Boolean isDefault)
Set the isDefault property: Indicates whether this is the user's default notebook.MicrosoftGraphNotebook
withIsShared(Boolean isShared)
Set the isShared property: Indicates whether the notebook is shared.MicrosoftGraphNotebook
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.MicrosoftGraphNotebook
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the notebook was last modified.MicrosoftGraphNotebook
withLinks(MicrosoftGraphNotebookLinks links)
Set the links property: notebookLinks.MicrosoftGraphNotebook
withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups)
Set the sectionGroups property: The section groups in the notebook.MicrosoftGraphNotebook
withSectionGroupsUrl(String sectionGroupsUrl)
Set the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook.MicrosoftGraphNotebook
withSections(List<MicrosoftGraphOnenoteSection> sections)
Set the sections property: The sections in the notebook.MicrosoftGraphNotebook
withSectionsUrl(String sectionsUrl)
Set the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook.MicrosoftGraphNotebook
withSelf(String self)
Set the self property: The endpoint where you can get details about the page.MicrosoftGraphNotebook
withUserRole(MicrosoftGraphOnenoteUserRole userRole)
Set the userRole property: The userRole property.-
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 notebook. Read-only.- Returns:
- the isDefault value.
-
withIsDefault
public MicrosoftGraphNotebook withIsDefault(Boolean isDefault)
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.
-
isShared
public Boolean isShared()
Get the isShared property: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.- Returns:
- the isShared value.
-
withIsShared
public MicrosoftGraphNotebook withIsShared(Boolean isShared)
Set the isShared property: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.- Parameters:
isShared
- the isShared value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
links
public MicrosoftGraphNotebookLinks links()
Get the links property: notebookLinks.- Returns:
- the links value.
-
withLinks
public MicrosoftGraphNotebook withLinks(MicrosoftGraphNotebookLinks links)
Set the links property: notebookLinks.- Parameters:
links
- the links value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
sectionGroupsUrl
public String 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
public MicrosoftGraphNotebook withSectionGroupsUrl(String sectionGroupsUrl)
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
public String 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
public MicrosoftGraphNotebook withSectionsUrl(String sectionsUrl)
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
public MicrosoftGraphOnenoteUserRole userRole()
Get the userRole property: The userRole property.- Returns:
- the userRole value.
-
withUserRole
public MicrosoftGraphNotebook withUserRole(MicrosoftGraphOnenoteUserRole userRole)
Set the userRole property: The userRole property.- Parameters:
userRole
- the userRole value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
sectionGroups
public List<MicrosoftGraphSectionGroup> sectionGroups()
Get the sectionGroups property: The section groups in the notebook. Read-only. Nullable.- Returns:
- the sectionGroups value.
-
withSectionGroups
public MicrosoftGraphNotebook withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups)
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
public List<MicrosoftGraphOnenoteSection> sections()
Get the sections property: The sections in the notebook. Read-only. Nullable.- Returns:
- the sections value.
-
withSections
public MicrosoftGraphNotebook withSections(List<MicrosoftGraphOnenoteSection> sections)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: notebook.- Overrides:
additionalProperties
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphNotebook withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: notebook.- Overrides:
withAdditionalProperties
in classMicrosoftGraphOnenoteEntityHierarchyModel
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphNotebook object itself.
-
withCreatedBy
public MicrosoftGraphNotebook 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 MicrosoftGraphNotebook 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 MicrosoftGraphNotebook 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 MicrosoftGraphNotebook 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 MicrosoftGraphNotebook 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 MicrosoftGraphNotebook 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 MicrosoftGraphNotebook 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.
-
-