DVehicleModel

open class DVehicleModel(val id: String, val name: String?, val manufacturerID: String?, val variant: String? = null, val year: String? = null)

Entity that stores vehicle models data as a table managed by the Room database library.

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

Constructors

Link copied to clipboard
constructor(apiVehicle: APIVehicle)

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

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
val variant: String? = null
Link copied to clipboard
val year: String? = null