com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class Notebook



  • public class Notebook
    extends Object

    https://docs.microsoft.com/en-us/graph/api/resources/notebook?view=graph-rest-1.0 A OneNote notebook.

    • Constructor Detail

      • Notebook

        public Notebook()
    • Method Detail

      • getCreatedBy

        public final IdentitySet getCreatedBy()

        Identity of the user, device, and application which created the item. Read-only.

      • getCreatedDateTime

        public final com.aspose.ms.System.DateTimeOffset getCreatedDateTime()

        The date and time when the notebook 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.

      • isCreatedDateTimeSpecified

        public final boolean isCreatedDateTimeSpecified()

        Indicates whether CreatedDateTime property is specified.

      • setCreatedDateTimeSpecified

        public final void setCreatedDateTimeSpecified(boolean value)

        Indicates whether CreatedDateTime property is specified.

      • getId

        public final String getId()

        The unique identifier of the notebook. Read-only.

      • isDefault

        public final boolean isDefault()

        Indicates whether this is the user's default notebook. Read-only.

      • isDefaultSpecified

        public final boolean isDefaultSpecified()

        Indicates whether IsDefault property is specified.

      • setDefaultSpecified

        public final void setDefaultSpecified(boolean value)

        Indicates whether IsDefault property is specified.

      • isShared

        public final com.aspose.ms.System.Nullable<Boolean> isShared()

        Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.

      • isSharedSpecified

        public final boolean isSharedSpecified()

        Indicates whether IsShared property is specified.

      • setSharedSpecified

        public final void setSharedSpecified(boolean value)

        Indicates whether IsShared property is specified.

      • getLastModifiedBy

        public final IdentitySet getLastModifiedBy()

        Identity of the user, device, and application which created the item. Read-only.

      • getLastModifiedDateTime

        public final com.aspose.ms.System.DateTimeOffset getLastModifiedDateTime()

        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.

      • isLastModifiedDateTimeSpecified

        public final boolean isLastModifiedDateTimeSpecified()

        Indicates whether LastModifiedDateTime property is specified.

      • setLastModifiedDateTimeSpecified

        public final void setLastModifiedDateTimeSpecified(boolean value)

        Indicates whether LastModifiedDateTime property is specified.

      • getLinks

        public final NotebookLinks getLinks()

        Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web.

      • setLinks

        public final void setLinks(NotebookLinks value)

        Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web.

      • getDisplayName

        public final String getDisplayName()

        The name of the notebook.

      • setDisplayName

        public final void setDisplayName(String value)

        The name of the notebook.

      • getSectionGroupsUrl

        public final String getSectionGroupsUrl()

        The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.

      • getSectionsUrl

        public final String getSectionsUrl()

        The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.

      • getSelf

        public final String getSelf()

        The endpoint where you can get details about the notebook. Read-only.

      • getUserRole

        public final int getUserRole()

        Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only.