Constructor
new NoteRevision(noteRevisionId, noteId, type, mime, title, isProtected, dateLastEdited, dateCreated, utcDateLastEdited, utcDateCreated, utcDateModified)
Parameters:
Name | Type | Description |
---|---|---|
noteRevisionId |
string | |
noteId |
string | |
type |
string | |
mime |
string | |
title |
string | |
isProtected |
string | |
dateLastEdited |
string | |
dateCreated |
string | |
utcDateLastEdited |
string | |
utcDateCreated |
string | |
utcDateModified |
string |
- Source:
Extends
Methods
(async) getContent() → {Promise.<*>}
- Source:
Returns:
- Type
- Promise.<*>
isStringNote() → {boolean}
- Source:
Returns:
true if the note has string content (not binary)
- Type
- boolean
(async) setContent() → {Promise}
- Source:
Returns:
- Type
- Promise