Skip to content

Latest commit

History

History
34 lines (25 loc) · 1.23 KB

File metadata and controls

34 lines (25 loc) · 1.23 KB

IndividualFactor

Properties

NameTypeDescriptionNotes
typestr
activitystrDescribe the individual factor
specificationstrSpecify the individual factor
unitstrDescribe the unit used by the multiplier
amountintThe amount of kg CO2e you want to add to the calculation.
multiplierintMultiplier for the given amount[optional] [default to 1]

Example

fromklimapi_python.models.individual_factorimportIndividualFactor# TODO update the JSON string belowjson="{}"# create an instance of IndividualFactor from a JSON stringindividual_factor_instance=IndividualFactor.from_json(json)
# print the JSON string representation of the objectprint(IndividualFactor.to_json())
# convert the object into a dictindividual_factor_dict=individual_factor_instance.to_dict()
# create an instance of IndividualFactor from a dictindividual_factor_from_dict=IndividualFactor.from_dict(individual_factor_dict)

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