ItineraryResult

public struct ItineraryResult : Decodable

A result model representing the ItineraryItems that were fetched for a given ItineraryQuery

  • Date in which earliest itinerary item is available

    Declaration

    Swift

    public let fromDate: Date?
  • Date in which latest itinerary item is available

    Declaration

    Swift

    public let toDate: Date?
  • An [ItineraryItem] representing results of the query

    Declaration

    Swift

    public let items: [ItineraryItem]
  • Declaration

    Swift

    public init(from decoder: Decoder) throws