TKAPI
public struct TKAPI
Top-Level Namespace for model structs that directly correspond to the TripGo API.
-
Representation of real-time occupancy information for public transport
See moreDeclaration
Swift
public enum VehicleOccupancy : String, Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct VehicleTypeInfo : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct SharedVehicleInfo : Codable, Hashable, RealTimeUpdatable
-
Undocumented
See moreDeclaration
Swift
public struct Alert : Codable, Hashable
-
Replaces the previous
See moreTKAlertWrapper
Declaration
Swift
public struct AlertMapping : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct AlertRouteMapping : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct CompanyInfo : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct DataAttribution : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Location : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum RealTimeStatus : String, Codable, Equatable
-
Undocumented
See moreDeclaration
Swift
public struct RGBColor : Codable, Hashable
-
Output data model for
See moredepartures.json
Declaration
Swift
public struct Departures : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct EventsResponse : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct BikePodInfo : Codable, Hashable, RealTimeUpdatable
-
Undocumented
See moreDeclaration
Swift
public struct CarPodInfo : Codable, Hashable, RealTimeUpdatable
-
Undocumented
See moreDeclaration
Swift
public struct CarParkInfo : Codable, Hashable, RealTimeUpdatable
-
Undocumented
See moreDeclaration
Swift
public struct CarRentalInfo : Codable, Hashable, RealTimeUpdatable
-
Undocumented
See moreDeclaration
Swift
public enum VehicleFormFactor : String, Codable
-
Undocumented
See moreDeclaration
Swift
public enum VehiclePropulsionType : String, Codable
-
Undocumented
See moreDeclaration
Swift
public struct OnStreetParkingInfo : Codable, Hashable, RealTimeUpdatable
-
Undocumented
See moreDeclaration
Swift
public struct LocationInfo : Codable, Hashable, RealTimeUpdatable
-
Undocumented
See moreDeclaration
Swift
public struct LocationsResponse : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct OpeningHours : Codable, Hashable
-
Declaration
Swift
public struct PricingTable : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct RegionInfo : Codable, Hashable
-
Informational class for paratransit information (i.e., transport for people with disabilities). Contains name of service, URL with more information and phone number.
Formerly known as
See moreTKParatransitInfo
Declaration
Swift
public struct Paratransit : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum Integrations : String, Codable
-
Additional details about a group of modes, e.g., all bike or car share providers in a city
See moreDeclaration
Swift
public struct GenericModeDetails : Codable, Hashable
-
Additional details about a specific mode, where the specific mode usually relates to a certain transport provider, such as a car-sharing provider, bike-sharing provider, limousine company, or TNC.
See moreDeclaration
Swift
public struct SpecificModeDetails : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Route : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Direction : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct DirectionStop : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct RoutingResponse : Codable
-
Undocumented
See moreDeclaration
Swift
public struct Query : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct TripGroup : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Trip : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum TripAvailability : String, Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct SegmentReference : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct SegmentTemplate : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum SegmentVisibility : String, Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum SegmentType : String, Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct SegmentShape : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct ShapeStop : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum ShapeInstruction : String, Codable
-
Undocumented
See moreDeclaration
Swift
public struct ServiceResponse : Codable
-
Undocumented
See moreDeclaration
Swift
public struct Departure : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Vehicle : Codable, Hashable
-
Components of a vehicle, typically provided as a nested array, see
See moreVehicle.components
Declaration
Swift
public struct VehicleComponents : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct BookingAvailability : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct AppInfo : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum AvailabilityMode : String, Codable
-
Undocumented
See moreDeclaration
Swift
public struct CarAvailability : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Stop : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Operator : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct User : Codable
-
Undocumented
See moreDeclaration
Swift
public struct Phone : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Email : Codable, Hashable