Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.4 KB

File metadata and controls

32 lines (23 loc) · 1.4 KB

ConnectionByTime

The connectionByTime defines an extension to the connection. For example, on Monday morning we need 2 hours to path a connection, whereas on Sunday morning we only need 1 hour.

Properties

Name Type Description Notes
time_definitions List[AnyDefAllOfTimeDefs] The timeDefinitions describe at which times, what connection should be used.
time_millis List[int] The times to pass the connection in milliseconds for the underlying time defitions.
distance_meters List[float] The length of the connection in meters.

Example

from touroptimizer_py_client.models.connection_by_time import ConnectionByTime

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

# convert the object into a dict
connection_by_time_dict = connection_by_time_instance.to_dict()
# create an instance of ConnectionByTime from a dict
connection_by_time_from_dict = ConnectionByTime.from_dict(connection_by_time_dict)

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