DefaultQueryParamsSuggestedRefinements

public struct DefaultQueryParamsSuggestedRefinements : Codable, Equatable

Object that contains suggested refinement settings. Available with Premium plans only.

  • When true, suggested refinements for the query are returned by default.

    Declaration

    Swift

    public var enabled: Bool?
  • The number of suggested refinements to return by default.

    Declaration

    Swift

    public var count: Int?
  • Initialize a DefaultQueryParamsSuggestedRefinements with member variables.

    Declaration

    Swift

    public init(
        enabled: Bool? = nil,
        count: Int? = nil
    )

    Parameters

    enabled

    When true, suggested refinements for the query are returned by default.

    count

    The number of suggested refinements to return by default.

    Return Value

    An initialized DefaultQueryParamsSuggestedRefinements.