CIOAutocompleteResponse

public struct CIOAutocompleteResponse

Struct representing the autocomplete data response from the server.

  • List of results broken down by sections

    Declaration

    Swift

    public let sections: [String : [CIOAutocompleteResult]]
  • Additional information about the request and result ID

    Declaration

    Swift

    public let json: JSONObject
  • Request object used to retrieve the Autocomplete Response

    Declaration

    Swift

    public var request: JSONObject
  • Total number of results available per section, keyed by section name. Will be empty if the server did not include total_num_results_per_section in the response.

    Declaration

    Swift

    public let totalNumResultsPerSection: [String : Int]