VehicleType

data class VehicleType(val vehicleTypeId: String, val maxCapacity: Int? = null, val wheelchairBoarding: WheelchairBoarding? = null)(source)

Information about a specific vehicle type used in on-demand services.

Constructors

Link copied to clipboard
constructor(vehicleTypeId: String, maxCapacity: Int? = null, wheelchairBoarding: WheelchairBoarding? = null)

Properties

Link copied to clipboard
@SerialName(value = "max_capacity")
val maxCapacity: Int?

Maximum number of riders that the vehicle can legally carry.

Link copied to clipboard
@SerialName(value = "vehicle_type_id")
val vehicleTypeId: String

Unique identifier of the vehicle type.

Link copied to clipboard
@SerialName(value = "wheelchair_boarding")
val wheelchairBoarding: WheelchairBoarding?

Possibility for riders with a wheelchair to board the vehicle.