CIOFilterFacetOption

public struct CIOFilterFacetOption

Struct encapsulating a filter facet option with information about the status and results associated with it.

  • The number of results that will be returned when selected

    Declaration

    Swift

    public let count: Int
  • Display name of the facet option

    Declaration

    Swift

    public let displayName: String
  • Status of the facet option (i.e. “selected” or “”)

    Declaration

    Swift

    public let status: String
  • The facet value

    Declaration

    Swift

    public let value: String
  • Additional metadata for the facet option

    Declaration

    Swift

    public let data: [String : Any]
  • Create a filter facet option

    Declaration

    Swift

    init?(json: JSONObject)

    Parameters

    json

    JSON data from server response