EfaMode

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)

Types

Diva
Link copied to clipboard
data class Diva(branch: String?, line: String?, supplement: String?, dir: String?, project: String?, network: String?, stateless: String?, operator: String?, tripCode: Long?, opCode: String?, opPublicCode: String?, vF: LocalDate?, vTo: LocalDate?, isTTB: String?, isSTT: String?, lineDisplay: EfaServingLine.LineDisplay?, attrs: Map<String, String>)
InterchangeType
Link copied to clipboard
sealed class InterchangeType

Properties

code
Link copied to clipboard
val code: EfaMeansOfTransport?

The means of transport code of this mode of transport

desc
Link copied to clipboard
val desc: String?

Returns a readable description of this mode of transport

destID
Link copied to clipboard
val destID: Long?

The stop id of the destination

destination
Link copied to clipboard
val destination: String?

The destination name of this mode of transport

diva
Link copied to clipboard
val diva: EfaMode.Diva

The diva object of this mode of transport

mtSubcode
Link copied to clipboard
val mtSubcode: Int?
name
Link copied to clipboard
val name: String?

The name of this mode of transport

number
Link copied to clipboard
val number: String?

The number of this mode of transport

product
Link copied to clipboard
val product: String?

The product name of this mode of transport

productId
Link copied to clipboard
val productId: String?

The product id of this mode of transport

realtime
Link copied to clipboard
val realtime: Boolean = false

Whether realtime information is valid on this mode of transport

timetablePeriod
Link copied to clipboard
val timetablePeriod: String?

The timetable period of this mode of transport

type
Link copied to clipboard
val type: EfaMode.InterchangeType

The interchange type of this mode of transport