Package de.jlnstrk.transit.api.efa.model

Types

EfaCoordinates
Link copied to clipboard
data class EfaCoordinates(x: Double, y: Double, mapName: EfaCoordinateSystem)
EfaCoordinateSystem
Link copied to clipboard
enum EfaCoordinateSystem : Enum<EfaCoordinateSystem>
EfaDownload
Link copied to clipboard
data class EfaDownload(itdDownloadFile: EfaDownload.File)
EfaFare
Link copied to clipboard
data class EfaFare(net: String, fromPR: Int, toPR: Int, currency: String, unitName: String?, fareAdult: Float?, unitsAdult: String?, fareChild: Float?, unitsChild: String?, fareBikeAdult: Float?, unitsBikeAdult: String?, fareBikeChild: Float?, unitsBikeChild: String?, levelAdult: String?, levelChild: String?, idAdult: String?, idChild: String?, note: String?, genericTickets: Map<String, String>?)
EfaHint
Link copied to clipboard
data class EfaHint(infoText: String?, code: EfaHint.Code?, url: String?, subnet: String?)
EfaJourney
Link copied to clipboard
data class EfaJourney(stopID: Long, x: Double, y: Double, mapName: EfaCoordinateSystem, area: String, platform: String?, platformName: String?, stopName: String, nameWO: String, gid: String?, pointGid: String?, pointType: String?, countdown: Duration, occupancy: EfaJourney.Occupancy?, dateTime: LocalDateTime, realDateTime: LocalDateTime?, realtimeTripStatus: Set<EfaJourney.RealtimeStatus>, servingLine: EfaServingLine, operator: EfaOperator?, prevStopSeq: List<EfaStop>?, onwardStopSeq: List<EfaStop>?)

Describes the json structure encoding journeys from the XML_DM_REQUEST endpoint. Appears at $.departureList[] and $.arrivalList[]

EfaLeg
Link copied to clipboard
data class EfaLeg(timeMinute: Duration, realtimeStatus: EfaJourney.RealtimeStatus?, points: List<EfaStop>, mode: EfaMode, hints: List<EfaHint>, stopSequence: List<EfaStop>, format: String?, path: List<EfaCoordinates>)
EfaLine
Link copied to clipboard
data class EfaLine(selected: String, number: String?, name: String?, supplement: String?, direction: String?, directionName: String?, directionText: String?, partialNet: String?, motType: EfaMeansOfTransport?, motCode: Int, productId: Int, routeDescText: String?, itdOperator: EfaOperator?)
EfaMeansOfTransport
Link copied to clipboard
EfaMode
Link copied to clipboard
data class EfaMode(name: String?, number: String?, product: String?, productId: String?, type: EfaMode.InterchangeType, code: EfaMeansOfTransport?, mtSubcode: Int?, destination: String?, destID: Long?, desc: String?, timetablePeriod: String?, realtime: Boolean, diva: EfaMode.Diva)
EfaOperator
Link copied to clipboard
data class EfaOperator(code: String, name: String, publicCode: String?)
EfaPeriod
Link copied to clipboard
data class EfaPeriod(itdDateTime_From: LocalDateTime, itdDateTime_To: LocalDateTime)
EfaPin
Link copied to clipboard
data class EfaPin(desc: String, addDesc: String?, type: EfaPin.Type, id: Long, omc: Long, placeID: Long, locality: String, layer: String, gisID: Long, distance: Int, stateless: Long, coords: EfaCoordinates, attrs: List<EfaPin.Attribute>)
EfaPoint
Link copied to clipboard
sealed class EfaPoint
EfaReference
Link copied to clipboard
data class EfaReference(id: Long, area: String?, platform: String?, gid: String?, areaGid: String?, pointGid: String?, omc: Long?, zone: String?, attrs: Map<EfaReference.Attribute, String>, placeID: Long?, place: String?, coords: EfaCoordinates?, niveau: Int?, depDateTimeSec: LocalDateTime?, depDelay: Duration?, depValid: Boolean, arrDateTimeSec: LocalDateTime?, arrDelay: Duration?, arrValid: Boolean)
EfaServingLine
Link copied to clipboard
class EfaServingLine(key: Long, code: EfaMeansOfTransport, number: String?, symbol: String?, motType: EfaMeansOfTransport, mtSubcode: Int?, realtime: Boolean, direction: String, directionFrom: String, trainNum: String?, name: String, delay: Duration?, hints: List<EfaHint>?, liErgRiProj: EfaServingLine.ErgRiProject, destID: Long, stateless: String, lineDisplay: EfaServingLine.LineDisplay?)
EfaStop
Link copied to clipboard
data class EfaStop(name: String?, nameWO: String, nameWithPlace: String?, omc: Long, placeID: Long, place: String, platformName: String?, plannedPlatformName: String?, usage: EfaStop.Usage?, pointType: String?, desc: String?, stamp: EfaStop.Stamp?, ref: EfaReference)
EfaSystem
Link copied to clipboard
data class EfaSystem(systemID: String, systemName: String, systemType: String)
EfaTariffZone
Link copied to clipboard
data class EfaTariffZone(net: String, fromPR: Int, toPR: Int, neutralZone: String?, zones: List<EfaTariffZone.Zone>)
EfaTicket
Link copied to clipboard
data class EfaTicket(net: String, fromPR: Int, toPR: Int, currency: String, weekAdult: Float?, weekChild: Float?, monthAdult: Float?, monthChild: Float?, weekEducation: Float?, monthEducation: Float?, yearAdults: Float?, yearChildren: Float?, yearStudents: Float?, dayAdults: Float?, dayChildren: Float?, dayStudents: Float?, levelAdult: String?, levelChild: String?, genericTickets: Map<String, String>)
EfaTravelInfo
Link copied to clipboard
data class EfaTravelInfo(file: String?, type: EfaTravelInfo.Type, providerCode: String, infoID: String, infoLink: List<EfaTravelInfo.Info>, seqID: Int?, deactivated: Boolean, priority: EfaTravelInfo.Priority, publish: Boolean, valid: Boolean, sourceSystem: EfaSystem, creationTime: LocalDateTime, publicationDuration: EfaPeriod, validityPeriod: List<EfaPeriod>, expirationDateTime: LocalDateTime, concernedLines: List<EfaLine>?)

Describes the json structure encoding travel infos from the XML_ADDINFO_REQUEST endpoint. Appears at $.additionalInformation.travelInfos[].travelInformation[]

EfaTrip
Link copied to clipboard
data class EfaTrip(distance: Int, duration: Duration, interchange: Int, desc: Boolean, optValue: Int?, legs: List<EfaLeg>, itdFare: EfaTrip.Fare)

Describes the json structure encoding trips from the XML_TRIP_REQUEST2 endpoint. Appears at $.trips[]