VehicleAvailabilityEntry

data class VehicleAvailabilityEntry(val vehicleId: String, val vehicleTypeId: String? = null, val stationId: String, val pricingPlanId: String? = null, val vehicleEquipment: List<VehicleEquipment>? = null, val availabilities: List<VehicleAvailabilitySlot>)(source)

A vehicle and the time slots during which it is available.

Constructors

Link copied to clipboard
constructor(vehicleId: String, vehicleTypeId: String? = null, stationId: String, pricingPlanId: String? = null, vehicleEquipment: List<VehicleEquipment>? = null, availabilities: List<VehicleAvailabilitySlot>)

Properties

Link copied to clipboard

Array of time slots during which the specified vehicle is available.

Link copied to clipboard
@SerialName(value = "pricing_plan_id")
val pricingPlanId: String?

The plan_id of the pricing plan this vehicle is eligible for as described in system_pricing_plans.json.

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

Identifier referencing the station_id field in station_information.json.

Link copied to clipboard
@SerialName(value = "vehicle_equipment")
val vehicleEquipment: List<VehicleEquipment>?

List of vehicle equipment provided by the operator in addition to the accessories already provided in the vehicle (field vehicle_accessories of vehicle_types.json) but subject to more frequent updates.

Link copied to clipboard
@SerialName(value = "vehicle_id")
val vehicleId: String

Identifier of a vehicle.

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

Unique identifier of a vehicle type as defined in vehicle_types.json.