Order
public class Order : BoxModel
Defines the order of items
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get }
-
Defines which parameters are items ordered by
Declaration
Swift
public let by: String?
-
Defines direction of items order - ascending or descending
Declaration
Swift
public let direction: OrderDirection?
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.