new module:model/SortBy()
- Source:
Constructs a new SortBy.
Sort the result set based on property:order. Defaults to lastModifiedDateTime:desc, if order not mentioned default order is descending. Properties supported "lastModifiedDateTime", "createdDateTime".
Methods
(static) constructFromObject(data, obj) → {module:model/SortBy}
- Source:
Constructs a SortBy 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/SortBy | Optional instance to populate. |
Returns:
The populated SortBy instance.
- Type
- module:model/SortBy