GeofencingZoneRule

data class GeofencingZoneRule(val vehicleTypeId: List<String>? = null, val rideAllowed: Boolean, val rideThroughAllowed: Boolean, val maximumSpeedKph: Int? = null, val stationParking: Boolean? = null)(source)

A rule defining restrictions for a geofencing zone.

Constructors

Link copied to clipboard
constructor(vehicleTypeId: List<String>? = null, rideAllowed: Boolean, rideThroughAllowed: Boolean, maximumSpeedKph: Int? = null, stationParking: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "maximum_speed_kph")
val maximumSpeedKph: Int?

What is the maximum speed allowed, in kilometers per hour?

Link copied to clipboard
@SerialName(value = "ride_allowed")
val rideAllowed: Boolean

Is the undocked ("free floating") ride allowed to start and end in this zone?

Link copied to clipboard
@SerialName(value = "ride_through_allowed")
val rideThroughAllowed: Boolean

Is the ride allowed to travel through this zone?

Link copied to clipboard
@SerialName(value = "station_parking")
val stationParking: Boolean?

Can vehicles only be parked at stations defined in station_information.json within this geofence zone?

Link copied to clipboard
@SerialName(value = "vehicle_type_id")
val vehicleTypeId: List<String>?

Array of IDs of vehicle types for which any restrictions SHOULD be applied.