OnStreetParkingInfo

public struct OnStreetParkingInfo : Codable, Hashable, RealTimeUpdatable
  • Declaration

    Swift

    public enum PaymentType : String, Codable
  • Declaration

    Swift

    public enum AvailableContent : String, Codable, CaseIterable
  • Declaration

    Swift

    public enum Vacancy : String, Codable
  • Declaration

    Swift

    public struct Restriction : Codable, Hashable
  • Declaration

    Swift

    public let actualRate: String?
  • Declaration

    Swift

    public let identifier: String
  • Declaration

    Swift

    public let description: String
  • Declaration

    Swift

    public let availableContent: [AvailableContent]?
  • Declaration

    Swift

    public let source: TKAPI.DataAttribution?
  • Declaration

    Swift

    public let paymentTypes: [PaymentType]?
  • Declaration

    Swift

    public let restrictions: [Restriction]?
  • Declaration

    Swift

    public let availableSpaces: Int?
  • Declaration

    Swift

    public let totalSpaces: Int?
  • Declaration

    Swift

    public let occupiedSpaces: Int?
  • Declaration

    Swift

    public let parkingVacancy: Vacancy?
  • Declaration

    Swift

    public let lastUpdate: TimeInterval?
  • The polyline defining the parking area along the street as an encoded polyline.

    This is optional as some on-street parking isn’t defined by a line, but by an area. See encodedPolygon

    See CLLocation.decodePolyLine

    Declaration

    Swift

    public let encodedPolyline: String?
  • The polygon defining the parking area as an encoded polyline.

    This is optional as most on-street parking isn’t defined by an area, but by a line. See encodedPolyline

    See CLLocation.decodePolyLine

    Declaration

    Swift

    public let encodedPolygon: String?
  • Declaration

    Swift

    public var hasRealTime: Bool { get }