Module Values.RouteTrafficOptionsSource

Traffic options for the route.

Sourcetype nonrec t = {
  1. flowEventThresholdOverride : DurationSeconds.t option;
    (*

    Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.

    *)
  2. usage : TrafficUsage.t option;
    (*

    Specifies how traffic data should be used when calculating routes. Default Value: UseTrafficData Traffic data usage depends on the time parameters in your route request: When Usage is set to UseTrafficData: If DepartNow is set to true, or if you specify DepartureTime or ArrivalTime, then all traffic data is considered (including live traffic and closures). If DepartNow, DepartureTime, and ArrivalTime are all unspecified, then only long-term closures are considered, regardless of this setting. When Usage is set to IgnoreTrafficData, then all traffic data is ignored regardless of the time parameters in your route request.

    *)
}
Sourceval make : ?flowEventThresholdOverride:??? -> ?usage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of DurationSeconds.t ]) 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