Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.03 KB

File metadata and controls

30 lines (21 loc) · 1.03 KB

RouteTrip

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.

Properties

Name Type Description Notes
trips List[ResourceTrip] Trips representing the route.

Example

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)

[Back to Model list] [Back to API list] [Back to README]