Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.63 KB

File metadata and controls

33 lines (24 loc) · 1.63 KB

TravelLandBusPassengerDistance

Properties

Name Type Description Notes
type str
activity str [optional] [default to 'bus']
specification str [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_land_bus_passenger_distance import TravelLandBusPassengerDistance

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

# convert the object into a dict
travel_land_bus_passenger_distance_dict = travel_land_bus_passenger_distance_instance.to_dict()
# create an instance of TravelLandBusPassengerDistance from a dict
travel_land_bus_passenger_distance_from_dict = TravelLandBusPassengerDistance.from_dict(travel_land_bus_passenger_distance_dict)

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