VehicleMetadata

Represents metadata for a vehicle.

This class contains detailed information about a specific vehicle, including its identification, model, production dates, and various properties related to its design and functionality.

Properties

Link copied to clipboard

Optional BodyProperties that provide details related to the vehicle's body.

Link copied to clipboard

The drive train configuration of the vehicle, as defined by DriveTrain.

Link copied to clipboard

Optional ElectricVehicleProperties, applicable if the vehicle is electric.

Link copied to clipboard

The type of engine used in the vehicle, as defined by EngineType.

Link copied to clipboard

The unique identifier of the vehicle.

Link copied to clipboard

The Model associated with the vehicle.

Link copied to clipboard
val producedFrom: Date? = null

The date when the vehicle was first produced, or null if not applicable.

Link copied to clipboard
val producedTo: Date? = null

The date when the vehicle production ended, or null if still in production.

Link copied to clipboard

The current production status of the vehicle, determined based on the production dates.

Link copied to clipboard

A string indicating the specific variant of the vehicle, or an empty string if no specific variant is specified.

Link copied to clipboard

The type of vehicle, as defined by VehicleType.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String