Class Onenote

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Onenote
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

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

    • notebooks

      @SerializedName(value="notebooks", alternate="Notebooks") @Expose @Nullable public NotebookCollectionPage notebooks
      The Notebooks. The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable.
    • operations

      @SerializedName(value="operations", alternate="Operations") @Expose @Nullable public OnenoteOperationCollectionPage operations
      The Operations. The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable.
    • pages

      @SerializedName(value="pages", alternate="Pages") @Expose @Nullable public OnenotePageCollectionPage pages
      The Pages. The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
    • resources

      @SerializedName(value="resources", alternate="Resources") @Expose @Nullable public OnenoteResourceCollectionPage resources
      The Resources. The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable.
    • sectionGroups

      @SerializedName(value="sectionGroups", alternate="SectionGroups") @Expose @Nullable public SectionGroupCollectionPage sectionGroups
      The Section Groups. The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
    • sections

      @SerializedName(value="sections", alternate="Sections") @Expose @Nullable public OnenoteSectionCollectionPage sections
      The Sections. The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
  • Constructor Details

    • Onenote

      public Onenote()
  • 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 Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to