Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.79 KB

File metadata and controls

34 lines (25 loc) · 1.79 KB

TravelAirFlightsPassengerDistance

Properties

Name Type Description Notes
type str
activity str [optional] [default to 'flights']
specification str [optional] [default to 'average']
detail str Hint: Some specifications only support certain details. [optional] [default to 'average']
value float The value in the given unit
unit str Distance a passenger traveled in the given unit. Example: 2 passengers travel 300 kilometers. So the right value would be 600 and the unit would be passenger.kilometers. Need a more specific unit? See the full list of supported units (Section 6). [optional] [default to 'kilometers']

Example

from klimapi_python.models.travel_air_flights_passenger_distance import TravelAirFlightsPassengerDistance

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

# convert the object into a dict
travel_air_flights_passenger_distance_dict = travel_air_flights_passenger_distance_instance.to_dict()
# create an instance of TravelAirFlightsPassengerDistance from a dict
travel_air_flights_passenger_distance_from_dict = TravelAirFlightsPassengerDistance.from_dict(travel_air_flights_passenger_distance_dict)

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