BikeRentalStation Object
Bike rental station represents a location where users can rent bicycles for a fee.
Fields
#
allowDropoff
If true, bikes can be returned to this station if the station has spaces available or allows overloading.
allowOverloading
If true, bikes can be returned even if spacesAvailable is zero or bikes > capacity.
allowPickup
If true, bikes can be picked up from this station if the station has bikes available.
bikesAvailable
Number of bikes currently available on the rental station.
See field allowPickupNow
to know if is currently possible to pick up a bike.
id
Global object ID provided by Relay. This value can be used to refetch this object using node query.
networks
realtime
If true, values of bikesAvailable
and spacesAvailable
are updated from a
real-time source. If false, values of bikesAvailable
and spacesAvailable
are always the total capacity divided by two.
spacesAvailable
Number of free spaces currently available on the rental station.
Note that this value being 0 does not necessarily indicate that bikes cannot be returned
to this station, as for example it might be possible to leave the bike in the vicinity of
the rental station, even if the bike racks don't have any spaces available.
See field allowDropoffNow
to know if is currently possible to return a bike.
state
A description of the current state of this bike rental station, e.g. "Station on"
Interfaces
#
Also implements Node , PlaceInterface .
Usages
#
References
#
- Field bikeRentalStation from Place
- Field bikeRentalStation from QueryType
- Field bikeRentalStations from QueryType
BikePark