Stop

data class Stop(val stopId: String, val stopCode: String? = null, val stopName: String? = null, val ttsStopName: String? = null, val stopDescription: String? = null, val stopLatitude: Double? = null, val stopLongitude: Double? = null, val zoneId: String? = null, val stopUrl: Url? = null, val locationType: LocationType? = null, val parentStation: String? = null, val stopTimezone: TimeZone? = null, val wheelchairBoarding: TriState? = null, val levelId: String? = null, val platformCode: String? = null, val stopAccess: StopAccess? = null)(source)

Stops where vehicles pick up or drop off riders.

This class represents a record in the stops.txt file.

Constructors

Link copied to clipboard
constructor(stopId: String, stopCode: String? = null, stopName: String? = null, ttsStopName: String? = null, stopDescription: String? = null, stopLatitude: Double? = null, stopLongitude: Double? = null, zoneId: String? = null, stopUrl: Url? = null, locationType: LocationType? = null, parentStation: String? = null, stopTimezone: TimeZone? = null, wheelchairBoarding: TriState? = null, levelId: String? = null, platformCode: String? = null, stopAccess: StopAccess? = null)

Properties

Link copied to clipboard
@SerialName(value = "level_id")
val levelId: String?

Level of the location.

Link copied to clipboard
@SerialName(value = "location_type")
val locationType: LocationType?

Type of the location.

Link copied to clipboard
@SerialName(value = "parent_station")
val parentStation: String?

Defines hierarchy between the different locations.

Link copied to clipboard
@SerialName(value = "platform_code")
val platformCode: String?

Platform identifier for a platform stop.

Link copied to clipboard
@SerialName(value = "stop_access")
val stopAccess: StopAccess?

Indicates how the stop is accessed for a particular station.

Link copied to clipboard
@SerialName(value = "stop_code")
val stopCode: String?

Short text or a number that identifies the location for riders.

Link copied to clipboard
@SerialName(value = "stop_desc")
val stopDescription: String?

Description of the location.

Link copied to clipboard
@SerialName(value = "stop_id")
val stopId: String

Uniquely identifies a stop, station, or station entrance.

Link copied to clipboard
@SerialName(value = "stop_lat")
val stopLatitude: Double?

Latitude of the location.

Link copied to clipboard
@SerialName(value = "stop_lon")
val stopLongitude: Double?

Longitude of the location.

Link copied to clipboard
@SerialName(value = "stop_name")
val stopName: String?

Name of the location.

Link copied to clipboard
@SerialName(value = "stop_timezone")
val stopTimezone: TimeZone?

Timezone of the location.

Link copied to clipboard
@SerialName(value = "stop_url")
val stopUrl: Url?

URL of a web page about the location.

Link copied to clipboard
@SerialName(value = "tts_stop_name")
val ttsStopName: String?

Readable version of the stop_name field.

Link copied to clipboard
@SerialName(value = "wheelchair_boarding")
val wheelchairBoarding: TriState?

Indicates whether wheelchair boardings are possible from the location.

Link copied to clipboard
@SerialName(value = "zone_id")
val zoneId: String?

Identifies the fare zone for a stop.