new module:models/Note()
Constructs a new Note
.
Document representing a note to an object.
- Source:
Members
(inner) created_by :String
The author of the note.
Type:
- String
- Source:
(inner) creation_date :Date
The creation date of the note.
Type:
- Date
- Source:
(inner) id :String
The ID of the note.
Type:
- String
- Source:
(inner) subject :String
The note's subject.
Type:
- String
- Source:
(inner) text :String
The note's text.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/Note}
Constructs a Note
from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data
to obj
if supplied or a new instance if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:models/Note | Optional instance to populate. |
- Source:
Returns:
The populated Note
instance.
- Type
- module:models/Note