You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
fromklimapi_python.models.freighting_goods_road_weight_and_distanceimportFreightingGoodsRoadWeightAndDistance# TODO update the JSON string belowjson="{}"# create an instance of FreightingGoodsRoadWeightAndDistance from a JSON stringfreighting_goods_road_weight_and_distance_instance=FreightingGoodsRoadWeightAndDistance.from_json(json)
# print the JSON string representation of the objectprint(FreightingGoodsRoadWeightAndDistance.to_json())
# convert the object into a dictfreighting_goods_road_weight_and_distance_dict=freighting_goods_road_weight_and_distance_instance.to_dict()
# create an instance of FreightingGoodsRoadWeightAndDistance from a dictfreighting_goods_road_weight_and_distance_from_dict=FreightingGoodsRoadWeightAndDistance.from_dict(freighting_goods_road_weight_and_distance_dict)