Name | Type | Description | Notes |
---|---|---|---|
maneuvers | List[RouteManeuver] | ||
shape | str | An encoded polyline (https://developers.google.com/maps/documentation/utilities/polylinealgorithm) with 6 digits of decimal precision. | |
summary | RouteSummary | ||
elevation_interval | float | The sampling distance between elevation values along the route. This echoes the request parameter having the same name (converted to `units` if necessary). | [optional] |
elevation | List[float] | An array of elevation values sampled every `elevation_interval`. Units are either metric or imperial depending on the value of `units`. | [optional] |
from stadiamaps.models.route_leg import RouteLeg
# TODO update the JSON string below
json = "{}"
# create an instance of RouteLeg from a JSON string
route_leg_instance = RouteLeg.from_json(json)
# print the JSON string representation of the object
print(RouteLeg.to_json())
# convert the object into a dict
route_leg_dict = route_leg_instance.to_dict()
# create an instance of RouteLeg from a dict
route_leg_from_dict = RouteLeg.from_dict(route_leg_dict)