TimedLegDto

@Xml(name = "TimedLeg")
data class TimedLegDto(@Element(name = "LegBoard") val legBoard: LegBoardDto, @Element(name = "LegIntermediate") val legIntermediate: List<LegIntermediateDto>?, @Element(name = "LegAlight") val legAlight: LegAlightDto, @Element(name = "Service") val service: DatedJourneyDto, @Element(name = "LegTrack") val legTrack: LegTrackDto?) : AbstractLegType, Parcelable

Created by Michael Ruppen on 28.06.2024

Constructors

Link copied to clipboard
constructor(@Element(name = "LegBoard") legBoard: LegBoardDto, @Element(name = "LegIntermediate") legIntermediate: List<LegIntermediateDto>?, @Element(name = "LegAlight") legAlight: LegAlightDto, @Element(name = "Service") service: DatedJourneyDto, @Element(name = "LegTrack") legTrack: LegTrackDto?)

Properties

Link copied to clipboard
Link copied to clipboard

DatedJourneyDto.cancelled is for the whole service. isCancelled checks if the leg for the requested trip is cancelled

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)