-
The label for the sort option.
Declaration
Swift
public let label: String
-
The arrangement type/category for the sort option e.g. ‘popularity’.
Declaration
Swift
public let sort: String
-
The arrangement for the sort option e.g. ‘desc’.
Declaration
Swift
public let order: String
-
The arrangement for the sort option e.g. ‘desc’.
Declaration
Swift
public init?(json: JSON)
Parameters
json
JSON representation of object.
Return Value
New instance when JSON parsing successful, false otherwise.