Class: module:model/Message

module:model/Message(type, code, message, theData, obj)

new module:model/Message(type, code, message, theData, obj)

Constructs a new Message. Message definition

Parameters:
Name Type Description
type String
code String
message Array.<String>
theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/Message

Optional instance to populate.

Source:

Members

(static) constructFromObject

Constructs a Message 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.

Source:

(inner) code :String

Type:
  • String
Source:

(inner) message :Array.<String>

Type:
  • Array.<String>
Source:

(inner) type :String

Type:
  • String
Source: