VehicleRestrictionData

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract class VehicleRestrictionData

Data corresponding to a single vehicle restriction.

Inheritors

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Height(val value: Distance, val violates: Boolean) : VehicleRestrictionData

Height restriction.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Length(val value: Distance, val violates: Boolean) : VehicleRestrictionData

Length restriction.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class VehicleType(val type: RestrictedVehicleType, val violates: Boolean) : VehicleRestrictionData

Vehicle type restriction.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Weight(val value: Weight, val violates: Boolean) : VehicleRestrictionData

Weight restriction.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Width(val value: Distance, val violates: Boolean) : VehicleRestrictionData

Width restriction.

Properties

Link copied to clipboard
open val violates: Boolean

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