Package de.jlnstrk.transit.util.model

Types

Attribute
Link copied to clipboard
data class Attribute(name: String)
Coordinates
Link copied to clipboard
data class Coordinates(latitude: Double, longitude: Double, altitude: Double)
Frequency
Link copied to clipboard
data class Frequency(minWaitTime: Duration?, maxWaitTime: Duration?, numAlternatives: Int?)
Gis
Link copied to clipboard
data class Gis(distance: Int, duration: Duration)
Journey
Link copied to clipboard
data class Journey(literalId: String, numericId: Long, line: Line, stop: Stop, directionFrom: Location?, directionTo: Location?, stops: List<Stop>?, messages: List<Message>?, attributes: List<Attribute>?, polyline: Polyline?, isReachable: Boolean, isCancelled: Boolean, isPartiallyCancelled: Boolean)
Leg
Link copied to clipboard
sealed class Leg
Line
Link copied to clipboard
data class Line(label: String, product: ProductClass, id: String?, name: String?, shortName: String?, number: String?, operator: String?, admin: String?) : Comparable<Line>
LineGeometry
Link copied to clipboard
data class LineGeometry(lines: List<String>, polyline: Polyline)
LineSet
Link copied to clipboard
class LineSet(elements: Line) : LazySortedSet<Line>
Location
Link copied to clipboard
interface Location : Identifiable
Means
Link copied to clipboard
enum Means : Enum<Means> , ProductClass
Message
Link copied to clipboard
data class Message(head: String, body: String, subhead: String?, priority: Message.Priority, validFrom: OffsetDateTime, validUntil: OffsetDateTime, published: OffsetDateTime?, modified: OffsetDateTime?, expires: OffsetDateTime?, products: Set<ProductClass>?, lines: LineSet?, isHtmlTitle: Boolean, isHtmlSubtitle: Boolean, isHtmlBody: Boolean)
NetworkMap
Link copied to clipboard
data class NetworkMap(literalId: String, numericId: Long, title: String, place: String?, fileUrl: String?, author: String?, thumbnailUrl: String?, products: Set<ProductClass>?, published: OffsetDateTime?, modified: OffsetDateTime?, validFrom: LocalDate?, validTo: LocalDate?) : Identifiable
Polyline
Link copied to clipboard
data class Polyline(coordinates: List<Coordinates>, markers: List<Polyline.Marker>?)
ProductClass
Link copied to clipboard
interface ProductClass
ProductSet
Link copied to clipboard
class ProductSet(elements: ProductClass) : LazySortedSet<ProductClass>
Style
Link copied to clipboard
data class Style(textColor: RgbColor?, backgroundColor: RgbColor?, shape: Style.Shape?)
TrainComposition
Link copied to clipboard
class TrainComposition
Trip
Link copied to clipboard
data class Trip(literalId: String?, numericId: Long, departure: Stop.Departure, arrival: Stop.Arrival, legs: List<Leg>, isRideable: Boolean, frequency: Frequency?, schedule: Trip.Schedule?, refreshContext: Trip.RefreshContext?) : Identifiable
Via
Link copied to clipboard
data class Via(location: Location, modes: Set<Via.Mode>?, period: Duration?)