Station

data class Station(val stationId: String, val name: String, val shortName: String? = null, val lat: Double, val lon: Double, val address: String? = null, val crossStreet: String? = null, val regionId: String? = null, val postalCode: String? = null, val rentalMethods: List<RentalMethod>? = null, val isVirtualStation: Boolean? = null, val stationArea: MultiPolygon? = null, val parkingType: ParkingType? = null, val parkingHoop: Boolean? = null, val contactPhone: String? = null, val capacity: Int? = null, val vehicleCapacity: Map<String, Int>? = null, val vehicleTypeCapacity: Map<String, Int>? = null, val isValetStation: Boolean? = null, val isChargingStation: Boolean? = null, val rentalUris: RentalUris? = null)(source)

Information about a single station.

Constructors

Link copied to clipboard
constructor(stationId: String, name: String, shortName: String? = null, lat: Double, lon: Double, address: String? = null, crossStreet: String? = null, regionId: String? = null, postalCode: String? = null, rentalMethods: List<RentalMethod>? = null, isVirtualStation: Boolean? = null, stationArea: MultiPolygon? = null, parkingType: ParkingType? = null, parkingHoop: Boolean? = null, contactPhone: String? = null, capacity: Int? = null, vehicleCapacity: Map<String, Int>? = null, vehicleTypeCapacity: Map<String, Int>? = null, isValetStation: Boolean? = null, isChargingStation: Boolean? = null, rentalUris: RentalUris? = null)

Properties

Link copied to clipboard

Address (street number and name) where station is located.

Link copied to clipboard

Number of total docking points installed at this station, both available and unavailable, regardless of what vehicle types are allowed at each dock.

Link copied to clipboard
@SerialName(value = "contact_phone")
val contactPhone: String?

Contact phone of the station.

Link copied to clipboard
@SerialName(value = "cross_street")
val crossStreet: String?

Cross street or landmark where the station is located.

Link copied to clipboard
@SerialName(value = "is_charging_station")
val isChargingStation: Boolean?

Does the station support charging of electric vehicles?

Link copied to clipboard
@SerialName(value = "is_valet_station")
val isValetStation: Boolean?

Are valet services provided at this station?

Link copied to clipboard
@SerialName(value = "is_virtual_station")
val isVirtualStation: Boolean?

Is this station a location with or without smart dock technology?

Link copied to clipboard
val lat: Double

Latitude of the station in decimal degrees.

Link copied to clipboard
val lon: Double

Longitude of the station in decimal degrees.

Link copied to clipboard

The public name of the station for display in maps, digital signage, and other text applications.

Link copied to clipboard
@SerialName(value = "parking_hoop")
val parkingHoop: Boolean?

Are parking hoops present at this station?

Link copied to clipboard
@SerialName(value = "parking_type")
val parkingType: ParkingType?

Type of parking station.

Link copied to clipboard
@SerialName(value = "post_code")
val postalCode: String?

Postal code where the station is located.

Link copied to clipboard
@SerialName(value = "region_id")
val regionId: String?

Identifier of the region where station is located. See system_regions.json.

Link copied to clipboard
@SerialName(value = "rental_methods")
val rentalMethods: List<RentalMethod>?

Payment methods accepted at this station.

Link copied to clipboard
@SerialName(value = "rental_uris")
val rentalUris: RentalUris?

Contains rental URIs for Android, iOS, and web.

Link copied to clipboard
@SerialName(value = "short_name")
val shortName: String?

Short name or other type of identifier.

Link copied to clipboard
@SerialName(value = "station_area")
val stationArea: MultiPolygon?

A GeoJSON MultiPolygon that describes the area of a virtual station.

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

Identifier of a station.

Link copied to clipboard
@SerialName(value = "vehicle_capacity")
val vehicleCapacity: Map<String, Int>?

An object describing the parking capacity of virtual stations, where each key is a vehicle_type_id and the value is a number representing the total number of vehicles of this type that can park within the virtual station.

Link copied to clipboard
@SerialName(value = "vehicle_type_capacity")
val vehicleTypeCapacity: Map<String, Int>?

An object describing the docking capacity of a station where each key is a vehicle_type_id and the value is a number representing the total docking points installed at this station for the specified vehicle type.