@PublicPreview("2021.06") data class ElectricVehicleDescriptor
Represents the electric vehicle descriptor used during a route plan.
vehicleDimensions
- Specifies the dimensions of the vehicle.
vehicleEfficiency
- Specifies the efficiency of the vehicle.
vehicleRestrictions
- Specifies the restriction that this vehicle should be subjected to.
vehicleConsumption
- Specifies the consumption model of the electric vehicle.
class Builder
Builder used to create an instance of ElectricVehicleDescriptor. Once constructed, the user cannot change the field values. |
val engineType: VehicleEngineType |
|
val vehicleConsumption: ElectricVehicleConsumption
Specifies the consumption model of the electric vehicle. |
|
val vehicleDimensions: VehicleDimensions?
Specifies the dimensions of the vehicle. |
|
val vehicleEfficiency: VehicleEfficiency?
Specifies the efficiency of the vehicle. |
|
val vehicleRestrictions: VehicleRestrictions?
Specifies the restriction that this vehicle should be subjected to. |