VehicleModel

data class VehicleModel(val id: String, val name: String? = null, val manufacturer: Manufacturer? = null, val profile: Profile?, val variant: String?, val year: String?)

Defines properties of a model

Parameters

id

id assigned to given model

name

name of the model

manufacturer

brand of the model

profile

profile of the 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(id: String, name: String? = null, manufacturer: Manufacturer? = null, profile: Profile?, variant: String?, year: String?)

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(): String