Magidoc

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.

allowDropoffNow

If true, bikes can be currently returned to this station.

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.

allowPickupNow

If true, bikes can be currently picked up from this station.

bikesAvailable

Number of bikes currently available on the rental station. See field allowPickupNow to know if is currently possible to pick up a bike.

capacity

Nominal capacity (number of racks) of the rental station.

id

ID !
Non-null

Global object ID provided by Relay. This value can be used to refetch this object using node query.

lat

Latitude of the bike rental station (WGS 84)

lon

Longitude of the bike rental station (WGS 84)

name

Non-null

Name of the bike rental station

networks

operative

If true, station is on and in service.

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.

rentalUris

Platform-specific URLs to begin renting a bike from this station.

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"

stationId

ID of the bike rental station

Interfaces

#

Also implements Node , PlaceInterface .

Usages

#

References

#

  • Field bikeRentalStation from Place