module:model/ValidationErrors

module:model/ValidationErrors

new module:model/ValidationErrors(code, message)

Source:

Constructs a new ValidationErrors.

Parameters:
Name Type Description
code String
message String

Members

(inner) code :String

Source:
Type:
  • String

(inner) message :String

Source:
Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:model/ValidationErrors}

Source:

Constructs a ValidationErrors 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:model/ValidationErrors

Optional instance to populate.

Returns:

The populated ValidationErrors instance.

Type
module:model/ValidationErrors