APIVehicle

constructor(key: String, name: String, variant: String, year: String?, brandId: String, transportType: APITransportationType, height: Int, width: Int, length: Int, maxWeight: Int, maxWeightPerAxle: Int, batteryName: String?, connectorTypes: List<Int>, motorType: APIMotorType?, chargerPowerAcSinglePhase: Double, chargerPowerAcThreePhases: Double, chargerPowerDC: Double, encDatasheet: String?)

Parameters

key

id of given vehicle

name

name of the vehicle

variant

Variant or sub name of vehicle

year

Year of release and end of series in format yyyy or yyyy-yyyy

brandId

manufacturer (brand) id of given vehicle

transportType

the transportation type of the vehicle

height

vehicle height in cm

width

vehicle width in cm

length

vehicle length (in cm)

maxWeight

Maximum weight in tenth of ton

maxWeightPerAxle

Maximum weight per axle in tenth of ton

batteryName

The commercial name or power of vehicle battery

connectorTypes

list of supported connector types by given vehicle

motorType

motor type of vehicle

chargerPowerAcSinglePhase

Maximum charge power (in kW) in AC 1 phase current type

chargerPowerAcThreePhases

Maximum charge power (in kW) in AC 3 phases current type

chargerPowerDC

Maximum charge power (in kW) in DC current type

encDatasheet

api datasheet containing additional encrypted information of given vehicle model