Trip Dto
@Xml(name = "Trip" )
Created by Michael Ruppen on 28.06.2024
Constructors
Link copied to clipboard
constructor(@PropertyElement(name = "Id" ) id: String, @PropertyElement(name = "Duration" ) duration: Duration, @PropertyElement(name = "StartTime" ) startTime: LocalDateTime, @PropertyElement(name = "EndTime" ) endTime: LocalDateTime, @PropertyElement(name = "Transfers" ) transfers: Int, @Element(name = "Leg" ) legs: List<LegDto>, @PropertyElement(name = "Unplanned" ) unplanned: Boolean?, @PropertyElement(name = "Delayed" ) delayed: Boolean?, @PropertyElement(name = "Infeasible" ) infeasible: Boolean?)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If the trip has TimedLegDto.isCancelled, isInfeasible or TimedLegDto.hasAnyPlatformChanges set to true, it is marked to have disruptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
infeasible flag is also set when trip is cancelled. isInfeasible shows if the trip is infeasible but not cancelled
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard