CIOSortOption

public struct CIOSortOption

Struct encapsulating a sort option

  • Display name of the sort option

    Declaration

    Swift

    public let displayName: String
  • The field to sort by

    Declaration

    Swift

    public let sortBy: String
  • The sort order (i.e. “ascending” or “descending”)

    Declaration

    Swift

    public let sortOrder: CIOSortOrder
  • The status of the sort option (i.e. “selected”)

    Declaration

    Swift

    public let status: String
  • Create a sort option

    Declaration

    Swift

    init?(json: JSONObject)