Trip
data class Trip(val tripId: String, val routeId: String, val serviceId: String, val tripHeadsign: String? = null, val tripShortName: String? = null, val directionId: DirectionId? = null, val blockId: String? = null, val shapeId: String? = null, val wheelchairAccessible: TriState? = null, val bikesAllowed: TriState? = null, val carsAllowed: TriState? = null)(source)
Trips for each route. A trip is a sequence of two or more stops that occur during a specific time period.
This class represents a record in the trips.txt file.
Constructors
Link copied to clipboard
constructor(tripId: String, routeId: String, serviceId: String, tripHeadsign: String? = null, tripShortName: String? = null, directionId: DirectionId? = null, blockId: String? = null, shapeId: String? = null, wheelchairAccessible: TriState? = null, bikesAllowed: TriState? = null, carsAllowed: TriState? = null)
Properties
Link copied to clipboard
Indicates whether bikes are allowed.
Link copied to clipboard
Identifies the block to which the trip belongs.
Link copied to clipboard
Indicates whether cars are allowed.
Link copied to clipboard
Indicates the direction of travel for a trip.
Link copied to clipboard
Identifies a route.
Link copied to clipboard
Identifies a set of dates when service is available for one or more routes.
Link copied to clipboard
Identifies a geospatial shape describing the vehicle travel path for a trip.
Link copied to clipboard
Text that appears on signage identifying the trip's destination to riders.
Link copied to clipboard
Uniquely identifies a trip.
Link copied to clipboard
Public facing text used to identify the trip to riders.
Link copied to clipboard
Indicates wheelchair accessibility.