A container for the sequence of trip segments that make up a route. Each segment is a ResourceTrip with an encoded polyline representing the path between consecutive stops.
| Name | Type | Description | Notes |
|---|---|---|---|
| trips | List[ResourceTrip] | Trips representing the route. |
from touroptimizer_py_client.models.route_trip import RouteTrip
# TODO update the JSON string below
json = "{}"
# create an instance of RouteTrip from a JSON string
route_trip_instance = RouteTrip.from_json(json)
# print the JSON string representation of the object
print(RouteTrip.to_json())
# convert the object into a dict
route_trip_dict = route_trip_instance.to_dict()
# create an instance of RouteTrip from a dict
route_trip_from_dict = RouteTrip.from_dict(route_trip_dict)