Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.93 KB

File metadata and controls

34 lines (25 loc) · 1.93 KB

FreightingGoodsCargoShipWeightAndDistance

Properties

Name Type Description Notes
type str
activity str [optional] [default to 'cargo_ship']
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 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_cargo_ship_weight_and_distance import FreightingGoodsCargoShipWeightAndDistance

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

# convert the object into a dict
freighting_goods_cargo_ship_weight_and_distance_dict = freighting_goods_cargo_ship_weight_and_distance_instance.to_dict()
# create an instance of FreightingGoodsCargoShipWeightAndDistance from a dict
freighting_goods_cargo_ship_weight_and_distance_from_dict = FreightingGoodsCargoShipWeightAndDistance.from_dict(freighting_goods_cargo_ship_weight_and_distance_dict)

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