DVehicleModel

constructor(apiVehicle: APIVehicle)

Helper constructor used to create an instance based on APIVehicle as returned from the BeMAP API.

Parameters

apiVehicle

instance of the api vehicle class returned by the BeMap API


constructor(id: String, name: String?, manufacturerID: String?, variant: String? = null, year: String? = null)

Parameters

id

id of the vehicle vehicle model

name

name of the model

manufacturerID

id of the manufacturer of given vehicle model

variant

Variant or sub name of vehicle

year

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