RouteStep

@Serializable
data class RouteStep(val type: String, val location: LonLat, val id: Int? = null, val job: Int? = null, val setup: Int? = null, val service: Int? = null, val waitingTime: Int? = null, val load: List<Int>? = null, val arrival: Int? = null, val duration: Int? = null, val violations: List<Violation> = emptyList())

Constructors

Link copied to clipboard
constructor(type: String, location: LonLat, id: Int? = null, job: Int? = null, setup: Int? = null, service: Int? = null, waitingTime: Int? = null, load: List<Int>? = null, arrival: Int? = null, duration: Int? = null, violations: List<Violation> = emptyList())

Properties

Link copied to clipboard
val arrival: Int? = null

Timestamps & cumulated travel

Link copied to clipboard
val duration: Int? = null
Link copied to clipboard
val id: Int? = null

Only for job-like steps

Link copied to clipboard
val job: Int? = null
Link copied to clipboard
val load: List<Int>? = null

Vehicle load after performing this step

Link copied to clipboard
Link copied to clipboard
val service: Int? = null
Link copied to clipboard
val setup: Int? = null
Link copied to clipboard

"start" | "job" | "end" | …

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "waiting_time")
val waitingTime: Int? = null