CarriageDetails
data class CarriageDetails(val id: String? = null, val label: String? = null, val occupancyStatus: VehiclePosition.OccupancyStatus = OccupancyStatus.NoDataAvailable, val occupancyPercentage: Int = -1, val carriageSequence: Int? = null)(source)
Realtime details for a single carriage.
Constructors
Link copied to clipboard
constructor(id: String? = null, label: String? = null, occupancyStatus: VehiclePosition.OccupancyStatus = OccupancyStatus.NoDataAvailable, occupancyPercentage: Int = -1, carriageSequence: Int? = null)
Properties
Link copied to clipboard
1-based position of this carriage from the front of the vehicle.
Link copied to clipboard
Passenger occupancy as a percentage of carriage capacity; -1 if unknown.
Link copied to clipboard
Passenger occupancy status of the carriage.