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 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 VehicleTypeInfo : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct SharedVehicleInfo : Codable, Hashable
-
BikePodInfo
From TripKitUndocumented
See moreDeclaration
Swift
public struct BikePodInfo : Codable, Hashable, RealTimeUpdatable
-
CarPodInfo
From TripKitUndocumented
See moreDeclaration
Swift
public struct CarPodInfo : Codable, Hashable, RealTimeUpdatable
-
CarParkInfo
From TripKitUndocumented
See moreDeclaration
Swift
public struct CarParkInfo : Codable, Hashable, RealTimeUpdatable
-
CarRentalInfo
From TripKitUndocumented
See moreDeclaration
Swift
public struct CarRentalInfo : Codable, Hashable, RealTimeUpdatable
-
OnStreetParkingInfo
From TripKitUndocumented
See moreDeclaration
Swift
public struct OnStreetParkingInfo : Codable, Hashable, RealTimeUpdatable
-
LocationInfo
From TripKitUndocumented
See moreDeclaration
Swift
public struct LocationInfo : Codable, Hashable, RealTimeUpdatable
-
LocationsResponse
From TripKitUndocumented
See moreDeclaration
Swift
public struct LocationsResponse : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum VehicleFormFactor : String, Codable
-
Undocumented
See moreDeclaration
Swift
public enum VehiclePropulsionType : String, Codable
-
Undocumented
See moreDeclaration
Swift
public struct ServerError : Codable
-
BookingAvailability
From TripKitUndocumented
See moreDeclaration
Swift
public struct BookingAvailability : Codable, Hashable
-
AvailabilityMode
From TripKitUndocumented
See moreDeclaration
Swift
public enum AvailabilityMode : String, Codable
-
CarAvailability
From TripKitUndocumented
See moreDeclaration
Swift
public struct CarAvailability : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public enum RoadTag : String, Codable
-
Undocumented
See moreDeclaration
Swift
public enum RoadSafety : Comparable
-
Undocumented
See moreDeclaration
Swift
public struct CompanyInfo : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct Location : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct RegionInfo : Codable, Hashable
-
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
Declaration
Swift
public typealias Degrees = CLLocationDegrees
-
Undocumented
Declaration
Swift
public typealias Direction = CLLocationDirection
-
Undocumented
Declaration
Swift
public typealias Distance = CLLocationDistance
-
Undocumented
Declaration
Swift
public typealias Speed = CLLocationSpeed
-
-
-
-
-
Undocumented
See moreDeclaration
Swift
public struct AppInfo : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct DataAttribution : 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 LatestResponse : Codable
-
Undocumented
See moreDeclaration
Swift
public struct LatestService : Codable
-
Undocumented
See moreDeclaration
Swift
public struct LatestStop : Codable
-
Undocumented
See moreDeclaration
Swift
public struct OpeningHours : Codable, Hashable
-
Declaration
Swift
public struct PricingTable : 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 RegionsResponse : Codable
-
Undocumented
See moreDeclaration
Swift
public struct ModeDetails : Codable
-
Undocumented
See moreDeclaration
Swift
public struct Route : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct RouteDirection : 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
-
Ticket information, for public transport segments
See moreDeclaration
Swift
public struct Ticket : 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 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