ElectricVehicleDescriptor

data class ElectricVehicleDescriptor

Represents the electric vehicle descriptor used during a route plan.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

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.

Types

Link copied to clipboard
class Builder(vehicleConsumption: ElectricVehicleConsumption)

Builder used to create an instance of ElectricVehicleDescriptor. Once constructed, the user cannot change the field values.

Properties

Link copied to clipboard
val engineType: VehicleEngineType
Link copied to clipboard
val vehicleConsumption: ElectricVehicleConsumption
Link copied to clipboard
val vehicleDimensions: VehicleDimensions? = null
Link copied to clipboard
val vehicleEfficiency: VehicleEfficiency? = null
Link copied to clipboard
val vehicleRestrictions: VehicleRestrictions? = null