@PublicPreview("2021.06") data class VehicleRestrictions
Specifies the restriction that this vehicle should be subjected to.
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.
class Builder
Builder used to create an instance of VehicleRestrictions. Once constructed, the user cannot change the field values. |
val isVehicleCommercial: Boolean?
Specifies whether the vehicle is used for commercial purposes and thus may not be allowed to drive on some roads. |
|
val vehicleAdrTunnelRestrictionCode: VehicleAdrTunnelRestrictionCode
If specified, the vehicle is subject to ADR tunnel restrictions. |
|
val vehicleLoadType: VehicleLoadType
Specifies the vehicle load type for route calculation. |
|
val vehicleMaxSpeedInKph: Int?
Specifies maximum speed of the vehicle in km/hour. |