Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.6 KB

File metadata and controls

33 lines (24 loc) · 1.6 KB

TravelAirAverageDepartureAndDestination

Properties

Name Type Description Notes
type str
departure str 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

from klimapi_python.models.travel_air_average_departure_and_destination import TravelAirAverageDepartureAndDestination

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

# convert the object into a dict
travel_air_average_departure_and_destination_dict = travel_air_average_departure_and_destination_instance.to_dict()
# create an instance of TravelAirAverageDepartureAndDestination from a dict
travel_air_average_departure_and_destination_from_dict = TravelAirAverageDepartureAndDestination.from_dict(travel_air_average_departure_and_destination_dict)

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