Note

constructor()

Default constructor


constructor(id: String, author: PandoroUser, content: String, creationDate: Long, update: Update)

Constructor to init a Note object

Since

1.2.0

Parameters

id

The identifier of the note

author

The author of the note

content

The content of the note

creationDate

When the note has been created

update

The update where the note is attached


constructor(id: String, author: PandoroUser, content: String, creationDate: Long, markedAsDone: Boolean, markedAsDoneBy: PandoroUser, markAsDoneDate: Long)

Constructor to init a Note object

Parameters

id

The identifier of the note

author

The author of the note

content

The content of the note

creationDate

When the note has been created

markedAsDone

Whether the note is marked as done

markedAsDoneBy

Who marked the note as done

markAsDoneDate

When the note has been marked as done