Skip to content

RouteMatrixTravelModeOptions

Source code in docs_src/capo_geo_routes/types/route_matrix_travel_mode_options.py
class RouteMatrixTravelModeOptions(TypedDict, closed=True):
    car: NotRequired[
        "capo_geo_routes.types.route_matrix_car_options.RouteMatrixCarOptions"
    ]
    """<p>Travel mode options when the provided travel mode is <code>Car</code>.</p>"""
    scooter: NotRequired[
        "capo_geo_routes.types.route_matrix_scooter_options.RouteMatrixScooterOptions"
    ]
    """<p>Travel mode options when the provided travel mode is <code>Scooter</code>. </p> <note> <p>When travel mode is set to <code>Scooter</code>, then the avoidance option <code>ControlledAccessHighways</code> defaults to <code>true</code>.</p> </note>"""
    truck: NotRequired[
        "capo_geo_routes.types.route_matrix_truck_options.RouteMatrixTruckOptions"
    ]
    """<p>Travel mode options when the provided travel mode is <code>Truck</code>.</p>"""

car instance-attribute

car: NotRequired[RouteMatrixCarOptions]

Travel mode options when the provided travel mode is Car.

scooter instance-attribute

scooter: NotRequired[RouteMatrixScooterOptions]

Travel mode options when the provided travel mode is Scooter.

When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

truck instance-attribute

truck: NotRequired[RouteMatrixTruckOptions]

Travel mode options when the provided travel mode is Truck.