GeofencingZoneRule

data class GeofencingZoneRule(val vehicleTypeIds: List<String>? = null, val rideStartAllowed: Boolean, val rideEndAllowed: 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(vehicleTypeIds: List<String>? = null, rideStartAllowed: Boolean, rideEndAllowed: 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_end_allowed")
val rideEndAllowed: Boolean

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

Link copied to clipboard
@SerialName(value = "ride_start_allowed")
val rideStartAllowed: Boolean

Is the undocked ("free floating") ride allowed to start 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_ids")
val vehicleTypeIds: List<String>?

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