Module Values.RouteVehicleLegDetailsSource

Steps of a leg that correspond to the travel portion of the leg.

Sourcetype nonrec t = {
  1. arrival : RouteVehicleArrival.t option;
    (*

    Details corresponding to the arrival for the leg.

    *)
  2. departure : RouteVehicleDeparture.t option;
    (*

    Details corresponding to the departure for the leg.

    *)
  3. incidents : RouteVehicleIncidentList.t option;
    (*

    Incidents corresponding to this leg of the route. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  4. notices : RouteVehicleNoticeList.t option;
    (*

    Notices are additional information returned that indicate issues that occurred during route calculation. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  5. passThroughWaypoints : RoutePassThroughWaypointList.t option;
    (*

    Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.

    *)
  6. spans : RouteVehicleSpanList.t option;
    (*

    Spans that were computed for the requested SpanAdditionalFeatures. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  7. summary : RouteVehicleSummary.t option;
    (*

    Summarized details of the leg.

    *)
  8. tolls : RouteTollList.t option;
    (*

    Toll related options. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  9. tollSystems : RouteTollSystemList.t option;
    (*

    Toll systems are authorities that collect payments for the toll. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  10. travelSteps : RouteVehicleTravelStepList.t option;
    (*

    Steps of a leg that must be performed before the travel portion of the leg.

    *)
  11. truckRoadTypes : TruckRoadTypeList.t option;
    (*

    Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers. There are currently no other supported values as of 26th April 2024.

    *)
  12. zones : RouteZoneList.t option;
    (*

    Zones corresponding to this leg of the route. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
}
Sourceval make : ?arrival:??? -> ?departure:??? -> ?incidents:??? -> ?notices:??? -> ?passThroughWaypoints:??? -> ?spans:??? -> ?summary:??? -> ?tolls:??? -> ?tollSystems:??? -> ?travelSteps:??? -> ?truckRoadTypes:??? -> ?zones:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of TruckRoadType.t | `Structure of (string * [> `Enum of string | `Integer of RoutePassThroughWaypointGeometryOffsetInteger.t | `List of [> `Enum of string | `Integer of Integer.t | `Structure of (string * [> `Enum of string | `List of [> `Double of Double.t | `Enum of string | `Structure of (string * [> `String of SensitiveString.t ]) list ] list | `String of SensitiveString.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Double of RouteTollPriceValueDouble.t | `Enum of string | `Integer of RouteTollPassTransferCountInteger.t | `List of [> `Enum of string ] list | `Long of DimensionCentimeters.t | `String of String_.t | `Structure of (string * [> `Double of RouteTollPriceValueRangeMinDouble.t | `Enum of string | `Integer of RouteNoticeDetailRangeMinInteger.t | `Long of WeightKilograms.t ]) list ]) list ]) list ] list | `Long of DurationSeconds.t | `String of SensitiveString.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Double of SpeedKilometersPerHour.t | `Enum of string | `Integer of RoutePassThroughPlaceWaypointIndexInteger.t | `List of [> `Double of Double.t | `Structure of (string * [> `Enum of string | `String of LanguageTag.t | `Structure of (string * [> `Enum of string | `String of LanguageTag.t ]) list ]) list ] list | `Long of DurationSeconds.t ]) list ]) list ] list | `Structure of (string * [> `String of TimestampWithTimezoneOffset.t | `Structure of (string * [> `Enum of string | `Integer of RouteVehiclePlaceWaypointIndexInteger.t | `List of [> `Double of Double.t ] list | `Long of DurationSeconds.t | `String of SensitiveString.t ]) list ]) 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