new module:model/Reason(reason, theData, obj)
Constructs a new Reason.
reason for failure
Parameters:
| Name | Type | Description |
|---|---|---|
reason |
String | reason for failure |
theData |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/Reason | Optional instance to populate. |
- Source:
Members
(static) constructFromObject
Constructs a Reason 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) reason :String
reason for failure
Type:
- String
- Source: