VehicleRestrictionData

abstract class VehicleRestrictionData

Data of a single vehicle restriction.

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

Parameters

violates

Flag to indicate if the current vehicle profile violates the vehicle restriction.

Inheritors

Types

Link copied to clipboard
data class Height(val value: Distance, val violates: Boolean) : VehicleRestrictionData

The height restriction.

Link copied to clipboard
data class Length(val value: Distance, val violates: Boolean) : VehicleRestrictionData

The length restriction.

Link copied to clipboard
data class VehicleType(val type: RestrictedVehicleType, val violates: Boolean) : VehicleRestrictionData

The vehicle type restriction.

Link copied to clipboard
data class Weight(val value: Weight, val violates: Boolean) : VehicleRestrictionData

The weight restriction.

Link copied to clipboard
data class Width(val value: Distance, val violates: Boolean) : VehicleRestrictionData

The width restriction.

Properties

Link copied to clipboard
open val violates: Boolean