Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.7 KB

File metadata and controls

35 lines (26 loc) · 1.7 KB

TravelSeaFerryDepartureAndDestination

Properties

Name Type Description Notes
type str
activity str [optional] [default to 'ferry']
specification str [optional] [default to 'average']
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_sea_ferry_departure_and_destination import TravelSeaFerryDepartureAndDestination

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

# convert the object into a dict
travel_sea_ferry_departure_and_destination_dict = travel_sea_ferry_departure_and_destination_instance.to_dict()
# create an instance of TravelSeaFerryDepartureAndDestination from a dict
travel_sea_ferry_departure_and_destination_from_dict = TravelSeaFerryDepartureAndDestination.from_dict(travel_sea_ferry_departure_and_destination_dict)

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