Notebook

Inheritance: java.lang.Object

public class Notebook

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

Constructors

ConstructorDescription
Notebook()

Methods

MethodDescription
equals(Object arg0)
getClass()
getCreatedBy()Identity of the user, device, and application which created the item.
getCreatedDateTime()The date and time when the notebook was created.
getDisplayName()The name of the notebook.
getId()The unique identifier of the notebook.
getLastModifiedBy()Identity of the user, device, and application which created the item.
getLastModifiedDateTime()The date and time when the notebook was last modified.
getLinks()Links for opening the notebook.
getSectionGroupsUrl()The URL for the sectionGroups navigation property, which returns all the section groups in the notebook.
getSectionsUrl()The URL for the sections navigation property, which returns all the sections in the notebook.
getSelf()The endpoint where you can get details about the notebook.
getUserRole()Possible values are: Owner, Contributor, Reader, None.
hashCode()
isCreatedDateTimeSpecified()Indicates whether CreatedDateTime property is specified.
isDefault()Indicates whether this is the user’s default notebook.
isDefaultSpecified()Indicates whether IsDefault property is specified.
isLastModifiedDateTimeSpecified()Indicates whether LastModifiedDateTime property is specified.
isShared()Indicates whether the notebook is shared.
isSharedSpecified()Indicates whether IsShared property is specified.
notify()
notifyAll()
setCreatedDateTimeSpecified(boolean value)Indicates whether CreatedDateTime property is specified.
setDefaultSpecified(boolean value)Indicates whether IsDefault property is specified.
setDisplayName(String value)The name of the notebook.
setLastModifiedDateTimeSpecified(boolean value)Indicates whether LastModifiedDateTime property is specified.
setLinks(NotebookLinks value)Links for opening the notebook.
setSharedSpecified(boolean value)Indicates whether IsShared property is specified.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Notebook()

public Notebook()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCreatedBy()

public final IdentitySet getCreatedBy()

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

Returns: IdentitySet

getCreatedDateTime()

public final 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.

Returns: com.aspose.ms.System.DateTimeOffset

getDisplayName()

public final String getDisplayName()

The name of the notebook.

Returns: java.lang.String

getId()

public final String getId()

The unique identifier of the notebook. Read-only.

Returns: java.lang.String

getLastModifiedBy()

public final IdentitySet getLastModifiedBy()

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

Returns: IdentitySet

getLastModifiedDateTime()

public final 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.

Returns: com.aspose.ms.System.DateTimeOffset

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.

Returns: NotebookLinks

getSectionGroupsUrl()

public final String getSectionGroupsUrl()

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

Returns: java.lang.String

getSectionsUrl()

public final String getSectionsUrl()

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

Returns: java.lang.String

getSelf()

public final String getSelf()

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

Returns: java.lang.String

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.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isCreatedDateTimeSpecified()

public final boolean isCreatedDateTimeSpecified()

Indicates whether CreatedDateTime property is specified.

Returns: boolean

isDefault()

public final boolean isDefault()

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

Returns: boolean

isDefaultSpecified()

public final boolean isDefaultSpecified()

Indicates whether IsDefault property is specified.

Returns: boolean

isLastModifiedDateTimeSpecified()

public final boolean isLastModifiedDateTimeSpecified()

Indicates whether LastModifiedDateTime property is specified.

Returns: boolean

isShared()

public final 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.

Returns: com.aspose.ms.System.Nullable<java.lang.Boolean>

isSharedSpecified()

public final boolean isSharedSpecified()

Indicates whether IsShared property is specified.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCreatedDateTimeSpecified(boolean value)

public final void setCreatedDateTimeSpecified(boolean value)

Indicates whether CreatedDateTime property is specified.

Parameters:

ParameterTypeDescription
valueboolean

setDefaultSpecified(boolean value)

public final void setDefaultSpecified(boolean value)

Indicates whether IsDefault property is specified.

Parameters:

ParameterTypeDescription
valueboolean

setDisplayName(String value)

public final void setDisplayName(String value)

The name of the notebook.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setLastModifiedDateTimeSpecified(boolean value)

public final void setLastModifiedDateTimeSpecified(boolean value)

Indicates whether LastModifiedDateTime property is specified.

Parameters:

ParameterTypeDescription
valueboolean
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.

Parameters:

ParameterTypeDescription
valueNotebookLinks

setSharedSpecified(boolean value)

public final void setSharedSpecified(boolean value)

Indicates whether IsShared property is specified.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int