You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
City, Postal Address, Train Station or IATA Code of the departure address
destination
str
City, Postal Address, Train Station or IATA Code of the destination address
return_trip
bool
Decide if the trip is one way or return
[optional] [default to True]
passengers
int
The total of passengers travelling this route
[optional] [default to 1]
Example
fromklimapi_python.models.travel_land_average_departure_and_destinationimportTravelLandAverageDepartureAndDestination# TODO update the JSON string belowjson="{}"# create an instance of TravelLandAverageDepartureAndDestination from a JSON stringtravel_land_average_departure_and_destination_instance=TravelLandAverageDepartureAndDestination.from_json(json)
# print the JSON string representation of the objectprint(TravelLandAverageDepartureAndDestination.to_json())
# convert the object into a dicttravel_land_average_departure_and_destination_dict=travel_land_average_departure_and_destination_instance.to_dict()
# create an instance of TravelLandAverageDepartureAndDestination from a dicttravel_land_average_departure_and_destination_from_dict=TravelLandAverageDepartureAndDestination.from_dict(travel_land_average_departure_and_destination_dict)