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
Hint: Some specifications only support certain details.
[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
fromklimapi_python.models.freighting_goods_cargo_ship_weight_and_distanceimportFreightingGoodsCargoShipWeightAndDistance# TODO update the JSON string belowjson="{}"# create an instance of FreightingGoodsCargoShipWeightAndDistance from a JSON stringfreighting_goods_cargo_ship_weight_and_distance_instance=FreightingGoodsCargoShipWeightAndDistance.from_json(json)
# print the JSON string representation of the objectprint(FreightingGoodsCargoShipWeightAndDistance.to_json())
# convert the object into a dictfreighting_goods_cargo_ship_weight_and_distance_dict=freighting_goods_cargo_ship_weight_and_distance_instance.to_dict()
# create an instance of FreightingGoodsCargoShipWeightAndDistance from a dictfreighting_goods_cargo_ship_weight_and_distance_from_dict=FreightingGoodsCargoShipWeightAndDistance.from_dict(freighting_goods_cargo_ship_weight_and_distance_dict)