Trip

@Serializable
data class Trip(val id: Long, val tripEndTimestamp: Instant, val tripType: String, val mileage: Int?, val averageElectricConsumption: Double?, val averageFuelConsumption: Double?, val averageSpeed: Double?, val travelTimeSeconds: Int?)

Summary of a single trip with consumption and speed averages. All distances in km, speeds in km/h.

Constructors

Link copied to clipboard
constructor(id: Long, tripEndTimestamp: Instant, tripType: String, mileage: Int?, averageElectricConsumption: Double?, averageFuelConsumption: Double?, averageSpeed: Double?, travelTimeSeconds: Int?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
val mileage: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard