VehicleTypes

Describes the types of vehicles available in the system.

REQUIRED of systems that include information about vehicle types in the free_bike_status.json file. This file SHOULD be published by systems offering multiple vehicle types for rental.

Constructors

Link copied to clipboard
constructor(vehicleTypes: List<VehicleType>)

Properties

Link copied to clipboard
open override val size: Int
Link copied to clipboard
@SerialName(value = "vehicle_types")
val vehicleTypes: List<VehicleType>

Array that contains one object per vehicle type in the system.

Functions

Link copied to clipboard
open operator override fun contains(element: VehicleType): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<VehicleType>): Boolean
Link copied to clipboard
open operator override fun get(index: Int): VehicleType
Link copied to clipboard
open override fun indexOf(element: VehicleType): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<VehicleType>
Link copied to clipboard
open override fun lastIndexOf(element: VehicleType): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<VehicleType>
open override fun listIterator(index: Int): ListIterator<VehicleType>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<VehicleType>