CIOBrowseFacetOptionsQuery

public struct CIOBrowseFacetOptionsQuery : CIORequestData

Struct encapsulating the necessary and additional parameters required to execute a browse facet options query.

  • Name of the facet whose options to return

    Declaration

    Swift

    public let facetName: String
  • Whether or not to return hidden facets

    Declaration

    Swift

    public let showHiddenFacets: Bool?
  • Create a Browse facet options request query object

    Usage Example:

    let browseFacetsQuery = CIOBrowseFacetOptionsQuery(facetName: "price", showHiddenFacets: true)
    

    Declaration

    Swift

    public init(facetName: String, showHiddenFacets: Bool? = nil)

    Parameters

    facetName

    Name of the facet whose options to return

    showHiddenFacets

    Whether or not to return hidden facets