Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Is Default.The Is Shared.The Links.The Section Groups.The Section Groups Url.The Sections.The Sections Url.The User Role.Fields inherited from class com.microsoft.graph.models.OnenoteEntityHierarchyModel
createdBy, displayName, lastModifiedBy, lastModifiedDateTimeFields inherited from class com.microsoft.graph.models.OnenoteEntitySchemaObjectModel
createdDateTimeFields inherited from class com.microsoft.graph.models.OnenoteEntityBaseModel
self -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
isDefault
@SerializedName(value="isDefault", alternate="IsDefault") @Expose @Nullable public Boolean isDefaultThe Is Default. Indicates whether this is the user's default notebook. Read-only. -
links
The Links. 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. -
sectionGroupsUrl
@SerializedName(value="sectionGroupsUrl", alternate="SectionGroupsUrl") @Expose @Nullable public String sectionGroupsUrlThe 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 sectionsUrlThe 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 userRoleThe 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 sectionGroupsThe Section Groups. The section groups in the notebook. Read-only. Nullable. -
sections
@SerializedName(value="sections", alternate="Sections") @Expose @Nullable public OnenoteSectionCollectionPage sectionsThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classOnenoteEntityHierarchyModel- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-