HciConnection

class HciConnection(cid: String, cksum: String, cksumDti: String?, date: LocalDate, sDays: HciServiceDays?, dur: Duration, durS: Duration?, durR: Duration?, useableTime: Duration?, chg: Int?, dist: Int?, originType: HciConnection.OriginType?, dep: HciStop, arr: HciStop, dTrnCmpSX: HciTrainComposition?, aTrnCmpSX: HciTrainComposition?, tcocXL: List<Int>, hasAlt: Boolean?, hasImpRem: Boolean?, hasIndividualChangeTimes: Boolean?, eco: HciEco?, ecoCmpL: List<HciEco>, ecoEntryUrl: String?, freq: HciFrequency?, freqRT: HciFrequency?, reliability: HciConnection.Reliability?, badSecRefX: Int?, isNotRdbl: Boolean?, err: HciConnection.ErrorType?, conStatus: HciConnection.Status?, msgL: List<HciMessage>, isAlt: Boolean?, isPref: Boolean?, recState: HciReconstruction.State?, recon: HciReconstruction?, ctxRecon: String?, resState: HciReservationState?, resRecommendation: HciReservationRecommendation?, secL: List<HciSection>, sotCtxt: HciSearchOnTripContext?, sotRating: Int?, isSotCon: Boolean?, trfRes: HciTariffResult?, ovwTrfRefL: List<HciTariffReference>, conSubscr: HciConnection.SubscriptionState?, intvlSubscr: HciConnection.SubscriptionState?, parConL: List<HciContent>, combinedMinDuration: Duration?, combinedCount: Int?, showARSLink: Boolean?, dbReisePlanStorageData: HciDBReiseplanStorageData?)

Types

ErrorType
Link copied to clipboard
enum ErrorType : Enum<HciConnection.ErrorType>
OriginType
Link copied to clipboard
enum OriginType : Enum<HciConnection.OriginType>
Reliability
Link copied to clipboard
data class Reliability(alternative: HafasReliabilityType, original: HafasReliabilityType)
Status
Link copied to clipboard
data class Status(convenient: Boolean?, daily: Boolean?, detour: Boolean?, direct: Boolean?, economic: Boolean?, hint: String?, slowDirect: Boolean?, specialtrain: Boolean?, subOptimalDirect: Boolean?, ukNationalRouteingGuideFailure: Boolean?)
SubscriptionState
Link copied to clipboard
enum SubscriptionState : Enum<HciConnection.SubscriptionState>

Properties

arr
Link copied to clipboard
val arr: HciStop

Stop data concerning the final arrival

aTrnCmpSX
Link copied to clipboard
val aTrnCmpSX: HciTrainComposition?

The train composition of the final vehicle on arrival

badSecRefX
Link copied to clipboard
val badSecRefX: Int?

The problematic section on this eonnection

chg
Link copied to clipboard
val chg: Int?

The number of changes with this connection

cid
Link copied to clipboard
val cid: String

The id of this connection

cksum
Link copied to clipboard
val cksum: String

The checksum of this connection

cksumDti
Link copied to clipboard
val cksumDti: String?
combinedCount
Link copied to clipboard
val combinedCount: Int?
combinedMinDuration
Link copied to clipboard
val combinedMinDuration: Duration?
conStatus
Link copied to clipboard
val conStatus: HciConnection.Status?

The status of this connection

conSubscr
Link copied to clipboard
val conSubscr: HciConnection.SubscriptionState?

The subscription state of this connection

ctxRecon
Link copied to clipboard
val ctxRecon: String?

The reconstruction context of this connection (legacy)

date
Link copied to clipboard
val date: LocalDate

The date of this connection

dbReisePlanStorageData
Link copied to clipboard
val dbReisePlanStorageData: HciDBReiseplanStorageData?
dep
Link copied to clipboard
val dep: HciStop

Stop data concerning the initial departure

dist
Link copied to clipboard
val dist: Int?

The distance covered by this connection in meters

dTrnCmpSX
Link copied to clipboard
val dTrnCmpSX: HciTrainComposition?

The train composition of the initially departing vehicle

dur
Link copied to clipboard
val dur: Duration

The duration of this connection

durR
Link copied to clipboard
val durR: Duration?

The realtime duration of this connection

durS
Link copied to clipboard
val durS: Duration?

The scheduled duration of this connection

eco
Link copied to clipboard
val eco: HciEco?

The eco footprint associated with using this connection

ecoCmpL
Link copied to clipboard
val ecoCmpL: List<HciEco>
ecoEntryUrl
Link copied to clipboard
val ecoEntryUrl: String?
err
Link copied to clipboard
val err: HciConnection.ErrorType?

The error that applies to this connection

freq
Link copied to clipboard
val freq: HciFrequency?

The scheduled frequency of this connection

freqRT
Link copied to clipboard
val freqRT: HciFrequency?

The realtime frequency of this connection

hasAlt
Link copied to clipboard
val hasAlt: Boolean?

Whether this connection has alternatives

hasImpRem
Link copied to clipboard
val hasImpRem: Boolean?
hasIndividualChangeTimes
Link copied to clipboard
val hasIndividualChangeTimes: Boolean?
intvlSubscr
Link copied to clipboard
val intvlSubscr: HciConnection.SubscriptionState?

The interval subscription state of this connection

isAlt
Link copied to clipboard
val isAlt: Boolean?

Whether this connection is an alternative

isNotRdbl
Link copied to clipboard
val isNotRdbl: Boolean?

Whether this connection is not rideable

isPref
Link copied to clipboard
val isPref: Boolean?
isSotCon
Link copied to clipboard
val isSotCon: Boolean?

Whether this is a search on trip connection

msgL
Link copied to clipboard
val msgL: List<HciMessage>

The messages associated with this connection

originType
Link copied to clipboard
val originType: HciConnection.OriginType?

The type of origin of this connection

ovwTrfRefL
Link copied to clipboard
val ovwTrfRefL: List<HciTariffReference>

The overview tariff references for this connection

parConL
Link copied to clipboard
val parConL: List<HciContent>
recon
Link copied to clipboard
val recon: HciReconstruction?

The reconstruction data of this connection

recState
Link copied to clipboard
val recState: HciReconstruction.State?

The reconstruction state of this connection

reliability
Link copied to clipboard
val reliability: HciConnection.Reliability?

The reliability of this connection

resRecommendation
Link copied to clipboard
val resRecommendation: HciReservationRecommendation?

The reservation recommendation for this connection

resState
Link copied to clipboard
val resState: HciReservationState?

The reservation state of this connection

sDays
Link copied to clipboard
val sDays: HciServiceDays?

The service days this connection runs on

secL
Link copied to clipboard
val secL: List<HciSection>

The sections part of this connection

showARSLink
Link copied to clipboard
val showARSLink: Boolean?
sotCtxt
Link copied to clipboard
val sotCtxt: HciSearchOnTripContext?

The search on trip context of this connection

sotRating
Link copied to clipboard
val sotRating: Int?

The search on trip rating of this connection

tcocXL
Link copied to clipboard
val tcocXL: List<Int>

The load status of this connection

trfRes
Link copied to clipboard
val trfRes: HciTariffResult?

The tariff result for this connection

useableTime
Link copied to clipboard
val useableTime: Duration?