VehicleRestrictions

data class VehicleRestrictions

Specifies the restriction that this vehicle should be subjected to.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

vehicleMaxSpeedInKph

Specifies maximum speed of the vehicle in km/hour.

isVehicleCommercial

Specifies whether the vehicle is used for commercial purposes and thus may not be allowed to drive on some roads.

vehicleLoadType

Specifies the vehicle load type for route calculation.

vehicleAdrTunnelRestrictionCode

If specified, the vehicle is subject to ADR tunnel restrictions.

Types

Link copied to clipboard
class Builder

Builder used to create an instance of VehicleRestrictions. Once constructed, the user cannot change the field values.

Properties

Link copied to clipboard
val isVehicleCommercial: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val vehicleLoadType: Set<VehicleLoadType>
Link copied to clipboard
val vehicleMaxSpeedInKph: Int? = null