ParkingItemQuery

public struct ParkingItemQuery
extension ParkingItemQuery: Equatable

A query to fetch Parking items

  • Pagination offset

    Declaration

    Swift

    public var offset: Int
  • Pagination limit

    Declaration

    Swift

    public var limit: Int
  • IATA code as string for aiport oriented queries

    Declaration

    Swift

    public var airportIATA: String?
  • A range of dates where parking is available

    Declaration

    Swift

    public var dateRange: ClosedRange<Date>
  • A BoundingBox representing the geographic area in which items should be searched for

    Declaration

    Swift

    public var boundingBox: BoundingBox?
  • Initializes a ParkingQuery

    • An Int for pagination offset
    • An Int for page size
    • An optional String for airport queries
    • An ClosedRange<Date> fot dates
    • An optional BoundingBox

    Declaration

    Swift

    public init(offset: Int = 0, take: Int = 10, airport: String?, range: ClosedRange<Date>, boundingBox: BoundingBox?)

    Return Value

    ParkingQuery

  • Declaration

    Swift

    public static func == (lhs: ParkingItemQuery, rhs: ParkingItemQuery) -> Bool