ViolatedRestriction.Details (API Reference)
Class ViolatedRestriction.Details
- Enclosing class:
- ViolatedRestriction
Optional restriction details, contains additional information depending on the specific violation, zero or more member might be set.
For example, if the vehicle violates the maximum allowed height during the trip, then the member max_height_in_centimeters will
be set with the maximum allowed height value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe restriction to trucks with axles number within specified range during the trip.There are two lists for our trip: Hazardous goods restrictions applied during the trip, and the list used for the route calculation provided usingVehicleSpecification.hazardousMaterialsfromTransportSpecification.vehicleSpecificationfromRoutingOptions.transportSpecification.Constrains the restriction to trucks with number of trailer within specified range during the trip.This property will be set if a restriction applies to the value ofTruckCategoryparameter used for route calculation.Contains violated restrictions for truck road types.Deprecated.Will be removed in v4.27.0.Max permitted height during the trip, in centimeters.Contains the maximum permitted distance from kingpin to the rear axle in centimeters.Max permitted length during the trip, in centimeters.Contains the maximum permitted number of tires.Max permitted payload capacity during the trip, in kilograms.Tunnel category to restrict transport of specific goods during the trip.Max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.Max permitted weight per axle group during the trip, in kilograms.Max permitted weight per axle during the trip, in kilograms.Max permitted width during the trip, in centimeters.Contains the restricted routing zone reference This property will be set if theAvoidanceOptions.zoneCategoriesis not emptyTime intervals during which restrictions are enforced. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
maxWeightPerAxleInKilograms
Max permitted weight per axle during the trip, in kilograms. This property will be set if the
TruckSpecifications.weightPerAxleInKilogramsexceeds this value. -
maxWeightPerAxleGroupInKilograms
Max permitted weight per axle group during the trip, in kilograms. This property will be set if the
TruckSpecifications.weightPerAxleGroupexceeds this value. -
maxHeightInCentimeters
Max permitted height during the trip, in centimeters. This property will be set if the
TruckSpecifications.heightInCentimetersexceeds this value. -
maxWidthInCentimeters
Max permitted width during the trip, in centimeters. This property will be set if the
TruckSpecifications.widthInCentimetersexceeds this value. -
maxLengthInCentimeters
Max permitted length during the trip, in centimeters. This property will be set if the
TruckSpecifications.lengthInCentimetersexceeds this value. -
forbiddenAxleCount
The restriction to trucks with axles number within specified range during the trip. This property will be set if the
TruckSpecifications.axleCountis within this range. -
forbiddenTrailerCount
Constrains the restriction to trucks with number of trailer within specified range during the trip. This property will be set if the
TruckSpecifications.trailerCountis within this range. -
forbiddenHazardousGoods
There are two lists for our trip: Hazardous goods restrictions applied during the trip, and the list used for the route calculation provided using
VehicleSpecification.hazardousMaterialsfromTransportSpecification.vehicleSpecificationfromRoutingOptions.transportSpecification. This property is the intersection of the two lists.Note
RoadSignWarningevents andRouteViolationsare only given for violations that are indicated on a road sign. Additional legal restrictions might apply when transporting hazardous materials. -
maxTunnelCategory
Tunnel category to restrict transport of specific goods during the trip. This property will be set if the
VehicleSpecification.tunnelCategoryfromTransportSpecification.vehicleSpecificationfromRoutingOptions.transportSpecificationexceeds this value. -
forbiddenTruckType
Deprecated.Will be removed in v4.27.0. Use
forbidden_truck_categoryinstead.This property will be set if a restriction applies to the value of
TruckTypeparameter used for route calculation. -
forbiddenTruckCategory
This property will be set if a restriction applies to the value of
TruckCategoryparameter used for route calculation. -
forbiddenTruckRoadTypes
Contains violated restrictions for truck road types.
-
routingZoneReference
Contains the restricted routing zone reference This property will be set if the
AvoidanceOptions.zoneCategoriesis not empty -
maxPayloadCapacityInKilograms
Max permitted payload capacity during the trip, in kilograms. This property will be set if the
TruckSpecifications.payloadCapacityInKilogramsexceeds this value. -
timeRule
Time intervals during which restrictions are enforced.
-
maxWeight
Max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction. This property will be set if the
TruckSpecifications.grossWeightInKilogramsparameter used for route calculation exceeds this value. -
maxNumberOfTires
Contains the maximum permitted number of tires. This property will be set if the
VehicleSpecification.tiresCountexceeds the specified value. -
maxKingpinToRearAxleDistanceInCentimeters
Contains the maximum permitted distance from kingpin to the rear axle in centimeters. This property will be set if the
VehicleSpecification.kingpinToRearAxleDistanceInCentimetersexceeds the specified value.
-
-
Constructor Details
-
Details
public Details()Creates a new instance.
-
-
Method Details