Class: NoteUpdate

Request~NoteUpdate(clientnullable, notenullable)

Handles API Request Note_Update. Scope: Store.

Constructor

new NoteUpdate(clientnullable, notenullable)

NoteUpdate Constructor.

NoteUpdate Constructor.

Parameters:
Name Type Attributes Default Description
client Client <nullable>
note Note <nullable>
null
Source:
See:

Methods

createResponse() → {Response}

Create a response object from the response data.

Create a response object from the response data.

Source:
Returns:
Type
Response

getNoteId() → {number}

Get Note_ID.

Get Note_ID.

Source:
Returns:
Type
number

getNoteText() → {string}

Get NoteText.

Get NoteText.

Source:
Returns:
Type
string

setNoteId(noteId) → {NoteUpdate}

Set Note_ID.

Set Note_ID.

Parameters:
Name Type Description
noteId number
Source:
Returns:
Type
NoteUpdate

setNoteText(noteText) → {NoteUpdate}

Set NoteText.

Set NoteText.

Parameters:
Name Type Description
noteText string
Source:
Returns:
Type
NoteUpdate

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object