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
constructor(    maximalSpeed: Int = 255,     yearOfManufacture: Int = 2017,     vehicleType: VehicleType = VehicleType.Car,     specializedVehicleAttributes: SpecializedVehicleAttributes = SpecializedVehicleAttributes())

Properties

Link copied to clipboard

maximal speed in kilometers per hour, 255 means unlimited speed

Link copied to clipboard
Link copied to clipboard

manufacture year <1900-2100>

Functions

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