Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.31 KB

DirectionsOptions.md

File metadata and controls

31 lines (22 loc) · 1.31 KB

DirectionsOptions

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']

Example

from stadiamaps.models.directions_options import DirectionsOptions

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

# convert the object into a dict
directions_options_dict = directions_options_instance.to_dict()
# create an instance of DirectionsOptions from a dict
directions_options_from_dict = DirectionsOptions.from_dict(directions_options_dict)

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