ParkingItemSearchResult

public struct ParkingItemSearchResult : Decodable

A result model representing the ParkingItems that were fetched for a given ParkingItemSearchQuery

  • The total number of catalog items matching the given query

    Declaration

    Swift

    public let total: Int
  • An Array<ParkingItem> representing the results of the query

    Declaration

    Swift

    public let items: [Int : ParkingItem]
  • A Facets object that informs how the data could be filtered further

    Declaration

    Swift

    public let facets: Facets
  • The BookingItemQuery that returns this result

    Declaration

    Swift

    public let query: ParkingItemQuery
  • Undocumented

    Declaration

    Swift

    public func isResultEquivalent(to: ParkingItemSearchResult) -> Bool
  • Undocumented

    Declaration

    Swift

    public func merge(_ result: ParkingItemSearchResult) -> ParkingItemSearchResult?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws