Skip to content

Latest commit

History

History
37 lines (28 loc) · 1.62 KB

File metadata and controls

37 lines (28 loc) · 1.62 KB

CalculationResult

Properties

NameTypeDescriptionNotes
kg_co2efloatThe calculated Amount of CO2 in Kilogram.[optional]
typestrThe type of the calculation[optional]
activitystrThe activity of the calculation[optional]
specificationstrThe specification of the calculation[optional]
detailstrThe detail of the calculation[optional]
valuefloatThe value of the calculation[optional]
unitstrThe unit of the calculation[optional]
emission_factor_idstrThe unique identifier of the emission factor the calculation is based on[optional]
emission_factor_last_updatedstrISO 8601 formatted timestamp of the latest update for the given emission factor[optional]

Example

fromklimapi_python.models.calculation_resultimportCalculationResult# TODO update the JSON string belowjson="{}"# create an instance of CalculationResult from a JSON stringcalculation_result_instance=CalculationResult.from_json(json)
# print the JSON string representation of the objectprint(CalculationResult.to_json())
# convert the object into a dictcalculation_result_dict=calculation_result_instance.to_dict()
# create an instance of CalculationResult from a dictcalculation_result_from_dict=CalculationResult.from_dict(calculation_result_dict)

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