Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.74 KB

File metadata and controls

33 lines (24 loc) · 1.74 KB

FreightingGoodsRoadWeightAndDistance

Properties

Name Type Description Notes
type str
activity str [optional] [default to 'road']
specification str [optional] [default to 'average']
value float The value in the given unit
unit str Distance a specific weight traveled in the given unit. Example: 10 metric tons travel 50 kilometers. So the right value would be 500 and the unit would be metric tons.kilometers. Need a more specific unit? See the full list of supported units (Sections 5 and 6). [optional] [default to 'metric tons.kilometers']

Example

from klimapi_python.models.freighting_goods_road_weight_and_distance import FreightingGoodsRoadWeightAndDistance

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

# convert the object into a dict
freighting_goods_road_weight_and_distance_dict = freighting_goods_road_weight_and_distance_instance.to_dict()
# create an instance of FreightingGoodsRoadWeightAndDistance from a dict
freighting_goods_road_weight_and_distance_from_dict = FreightingGoodsRoadWeightAndDistance.from_dict(freighting_goods_road_weight_and_distance_dict)

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