new module:model/HttpSuccess()
- Source:
Constructs a new HttpSuccess.
A simple response indicating success when no extra data is needed
Members
(inner) status :String
- Source:
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:model/HttpSuccess}
- Source:
Constructs a HttpSuccess 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/HttpSuccess | Optional instance to populate. |
Returns:
The populated HttpSuccess instance.