Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.59 KB

File metadata and controls

35 lines (26 loc) · 1.59 KB

EdgeElementConnection

An edge-based connection between two elements specifying travel distance, optional travel time, and optional time-dependent traffic profiles via connectionByTime. The standard connection type used to supply precomputed routing data to the optimizer.

Properties

Name Type Description Notes
distance str The distance of the connection.
time str The time needed to pass the connection. [optional]
from_position Position [optional]
to_position Position [optional]
connection_by_time ConnectionByTime [optional]
type_name str The typeName of the object [default to 'Edge']

Example

from touroptimizer_py_client.models.edge_element_connection import EdgeElementConnection

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

# convert the object into a dict
edge_element_connection_dict = edge_element_connection_instance.to_dict()
# create an instance of EdgeElementConnection from a dict
edge_element_connection_from_dict = EdgeElementConnection.from_dict(edge_element_connection_dict)

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