GeneralVehicleTraits

data class GeneralVehicleTraits @JvmOverloads constructor(var maximalSpeed: Int = 255, var yearOfManufacture: Int = 2017, var vehicleType: VehicleType = VehicleType.Car, var specializedVehicleAttributes: SpecializedVehicleAttributes = SpecializedVehicleAttributes()) : Parcelable

Constructors

Link copied to clipboard
fun GeneralVehicleTraits(maximalSpeed: Int = 255, yearOfManufacture: Int = 2017, vehicleType: VehicleType = VehicleType.Car, specializedVehicleAttributes: SpecializedVehicleAttributes = SpecializedVehicleAttributes())

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
var maximalSpeed: Int = 255

maximal speed in kilometers per hour, 255 means unlimited speed

Link copied to clipboard
Link copied to clipboard

manufacture year <1900-2100>