RouteIntermodalTransitOptions
¶
Source code in docs_src/capo_geo_routes/types/route_intermodal_transit_options.py
allowed_modes
instance-attribute
¶
allowed_modes: NotRequired[RouteTransitModeList]
Allowed transit transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.
enabled_for
instance-attribute
¶
enabled_for: NotRequired[RouteIntermodalEnabledLegsList]
Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:
-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
excluded_modes
instance-attribute
¶
excluded_modes: NotRequired[RouteTransitModeList]
Excluded transit transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.