StationStatusEntry

data class StationStatusEntry(val stationId: String, val numBikesAvailable: Int, val numBikesDisabled: Int? = null, val numDocksAvailable: Int, val numDocksDisabled: Int? = null, val isInstalled: IntBoolean, val isRenting: IntBoolean, val isReturning: IntBoolean, val lastReported: EpochSeconds)(source)

Real-time status information for a single station.

Constructors

Link copied to clipboard
constructor(stationId: String, numBikesAvailable: Int, numBikesDisabled: Int? = null, numDocksAvailable: Int, numDocksDisabled: Int? = null, isInstalled: IntBoolean, isRenting: IntBoolean, isReturning: IntBoolean, lastReported: EpochSeconds)

Properties

Link copied to clipboard
@SerialName(value = "is_installed")
val isInstalled: IntBoolean

Is the station currently on the street?

Link copied to clipboard
@SerialName(value = "is_renting")
val isRenting: IntBoolean

Is the station currently renting vehicles?

Link copied to clipboard
@SerialName(value = "is_returning")
val isReturning: IntBoolean

Is the station accepting vehicle returns?

Link copied to clipboard
@SerialName(value = "last_reported")
val lastReported: EpochSeconds

The last time this station reported its status to the operator's backend.

Link copied to clipboard
@SerialName(value = "num_bikes_available")
val numBikesAvailable: Int

Number of functional vehicles physically at the station that may be offered for rental.

Link copied to clipboard
@SerialName(value = "num_bikes_disabled")
val numBikesDisabled: Int?

Number of disabled vehicles of any type at the station.

Link copied to clipboard
@SerialName(value = "num_docks_available")
val numDocksAvailable: Int

Number of functional docks physically at the station that are able to accept vehicles for return.

Link copied to clipboard
@SerialName(value = "num_docks_disabled")
val numDocksDisabled: Int?

Number of disabled dock points at the station.

Link copied to clipboard
@SerialName(value = "station_id")
val stationId: String

Identifier of a station. See station_information.json.