Module Values.RouteMatrixTruckOptionsSource

Travel mode options when the provided travel mode is Truck.

Sourcetype nonrec t = {
  1. axleCount : RouteMatrixTruckOptionsAxleCountInteger.t option;
    (*

    Total number of axles of the vehicle.

    *)
  2. grossWeight : WeightKilograms.t option;
    (*

    Gross weight of the vehicle including trailers, and goods at capacity. Unit: kilograms

    *)
  3. hazardousCargos : RouteMatrixHazardousCargoTypeList.t option;
    (*

    List of Hazardous cargo contained in the vehicle.

    *)
  4. height : RouteMatrixTruckOptionsHeightLong.t option;
    (*

    Height of the vehicle. Unit: centimeters

    *)
  5. kpraLength : DimensionCentimeters.t option;
    (*

    Kingpin to rear axle length of the vehicle Unit: centimeters

    *)
  6. length : RouteMatrixTruckOptionsLengthLong.t option;
    (*

    Length of the vehicle. Unit: centimeters

    *)
  7. licensePlate : RouteMatrixVehicleLicensePlate.t option;
    (*

    The vehicle License Plate.

    *)
  8. maxSpeed : RouteMatrixTruckOptionsMaxSpeedDouble.t option;
    (*

    Maximum speed Unit: kilometers per hour

    *)
  9. occupancy : RouteMatrixTruckOptionsOccupancyInteger.t option;
    (*

    The number of occupants in the vehicle. Default value: 1

    *)
  10. payloadCapacity : WeightKilograms.t option;
    (*

    Payload capacity of the vehicle and trailers attached. Unit: kilograms

    *)
  11. trailer : RouteMatrixTrailerOptions.t option;
    (*

    Trailer options corresponding to the vehicle.

    *)
  12. truckType : RouteMatrixTruckType.t option;
    (*

    The type of truck: LightTruck for smaller delivery vehicles, StraightTruck for rigid body trucks, or Tractor for tractor-trailer combinations.

    *)
  13. tunnelRestrictionCode : TunnelRestrictionCode.t option;
    (*

    The tunnel restriction code. Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them. Tunnel Category B Risk Level: Limited risk Restrictions: Few restrictions Tunnel Category C Risk Level: Medium risk Restrictions: Some restrictions Tunnel Category D Risk Level: High risk Restrictions: Many restrictions occur Tunnel Category E Risk Level: Very high risk Restrictions: Restricted tunnel

    *)
  14. weightPerAxle : WeightKilograms.t option;
    (*

    Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished. Unit: kilograms

    *)
  15. weightPerAxleGroup : WeightPerAxleGroup.t option;
    (*

    Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.

    *)
  16. width : RouteMatrixTruckOptionsWidthLong.t option;
    (*

    Width of the vehicle. Unit: centimeters

    *)
}
Sourceval make : ?axleCount:??? -> ?grossWeight:??? -> ?hazardousCargos:??? -> ?height:??? -> ?kpraLength:??? -> ?length:??? -> ?licensePlate:??? -> ?maxSpeed:??? -> ?occupancy:??? -> ?payloadCapacity:??? -> ?trailer:??? -> ?truckType:??? -> ?tunnelRestrictionCode:??? -> ?weightPerAxle:??? -> ?weightPerAxleGroup:??? -> ?width:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of RouteMatrixTruckOptionsMaxSpeedDouble.t | `Enum of string | `Integer of RouteMatrixTruckOptionsAxleCountInteger.t | `List of [> `Enum of string ] list | `Long of WeightKilograms.t | `String of TunnelRestrictionCode.t | `Structure of (string * [> `Integer of RouteMatrixTrailerOptionsTrailerCountInteger.t | `Long of WeightKilograms.t | `String of RouteMatrixVehicleLicensePlateLastCharacterString.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t