Trip

data class Trip(    val tripId: String,     val vehicleId: String?,     val userId: String,     val transportationMode: String,     val duration: Int,     val startTime: String,     val userWeight: Int?,     val userHeight: Int?,     val campaign: String?)

Trip information

Constructors

Link copied to clipboard
fun Trip(    tripId: String,     vehicleId: String?,     userId: String,     transportationMode: String,     duration: Int,     startTime: String,     userWeight: Int?,     userHeight: Int?,     campaign: String?)

Properties

Link copied to clipboard
val campaign: String?

Associated campaign with the trip

Link copied to clipboard
val duration: Int

Duration of the trip in seconds

Link copied to clipboard
val startTime: String

Datetime string when the trip started

Link copied to clipboard
val transportationMode: String

Kind of transport: Biking, Car, etc.

Link copied to clipboard
val tripId: String

Trip identifier

Link copied to clipboard
val userHeight: Int?

Height of the user

Link copied to clipboard
val userId: String

Id of the user who performed the trip

Link copied to clipboard
val userWeight: Int?

Weight of the user

Link copied to clipboard
val vehicleId: String?

Id of the vehicle used in the trip