Class Notebook

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Notebook extends OnenoteEntityHierarchyModel implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Notebook.
  • Field Details

    • isDefault

      @SerializedName(value="isDefault", alternate="IsDefault") @Expose @Nullable public Boolean isDefault
      The Is Default. Indicates whether this is the user's default notebook. Read-only.
    • isShared

      @SerializedName(value="isShared", alternate="IsShared") @Expose @Nullable public Boolean isShared
      The Is Shared. Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    • sectionGroupsUrl

      @SerializedName(value="sectionGroupsUrl", alternate="SectionGroupsUrl") @Expose @Nullable public String sectionGroupsUrl
      The Section Groups Url. The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    • sectionsUrl

      @SerializedName(value="sectionsUrl", alternate="SectionsUrl") @Expose @Nullable public String sectionsUrl
      The Sections Url. The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    • userRole

      @SerializedName(value="userRole", alternate="UserRole") @Expose @Nullable public OnenoteUserRole userRole
      The User Role. 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.
    • sectionGroups

      @SerializedName(value="sectionGroups", alternate="SectionGroups") @Expose @Nullable public SectionGroupCollectionPage sectionGroups
      The Section Groups. The section groups in the notebook. Read-only. Nullable.
    • sections

      @SerializedName(value="sections", alternate="Sections") @Expose @Nullable public OnenoteSectionCollectionPage sections
      The Sections. The sections in the notebook. Read-only. Nullable.
  • Constructor Details

    • Notebook

      public Notebook()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class OnenoteEntityHierarchyModel
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to