Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.6 KB

NearestRoadsRequest.md

File metadata and controls

35 lines (26 loc) · 1.6 KB

NearestRoadsRequest

Properties

Name Type Description Notes
units DistanceUnit [optional] [default to DistanceUnit.KM]
language ValhallaLanguages [optional] [default to ValhallaLanguages.EN_MINUS_US]
directions_type str The level of directional narrative to include. Locations and times will always be returned, but narrative generation verbosity can be controlled with this parameter. [optional] [default to 'instructions']
locations List[Coordinate]
costing CostingModel [optional]
costing_options CostingOptions [optional]
verbose bool [optional] [default to False]

Example

from stadiamaps.models.nearest_roads_request import NearestRoadsRequest

# TODO update the JSON string below
json = "{}"
# create an instance of NearestRoadsRequest from a JSON string
nearest_roads_request_instance = NearestRoadsRequest.from_json(json)
# print the JSON string representation of the object
print(NearestRoadsRequest.to_json())

# convert the object into a dict
nearest_roads_request_dict = nearest_roads_request_instance.to_dict()
# create an instance of NearestRoadsRequest from a dict
nearest_roads_request_from_dict = NearestRoadsRequest.from_dict(nearest_roads_request_dict)

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