Skip to content

Latest commit

History

History
42 lines (33 loc) · 2.55 KB

File metadata and controls

42 lines (33 loc) · 2.55 KB

PendingByCalculationRequestCalculationOptionsInner

Properties

NameTypeDescriptionNotes
typestr
activitystrDescribe the individual factor
specificationstrSpecify the individual factor
valuefloatThe value in the given unit
unitstrDescribe the unit used by the multiplier
detailstrHint: Some specifications only support certain details.[optional] [default to 'average']
departurestrCity, Postal Address, Train Station or IATA Code of the departure address
destinationstrCity, Postal Address, Train Station or IATA Code of the destination address
return_tripboolDecide if the trip is one way or return[optional] [default to True]
passengersintThe total of passengers travelling this route[optional] [default to 1]
weightfloatThe total weight travelling this route[optional] [default to 1]
weight_unitstrNeed a more specific unit? See the full list of supported units (Section 5).[optional] [default to 'metric tons']
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.pending_by_calculation_request_calculation_options_innerimportPendingByCalculationRequestCalculationOptionsInner# TODO update the JSON string belowjson="{}"# create an instance of PendingByCalculationRequestCalculationOptionsInner from a JSON stringpending_by_calculation_request_calculation_options_inner_instance=PendingByCalculationRequestCalculationOptionsInner.from_json(json)
# print the JSON string representation of the objectprint(PendingByCalculationRequestCalculationOptionsInner.to_json())
# convert the object into a dictpending_by_calculation_request_calculation_options_inner_dict=pending_by_calculation_request_calculation_options_inner_instance.to_dict()
# create an instance of PendingByCalculationRequestCalculationOptionsInner from a dictpending_by_calculation_request_calculation_options_inner_from_dict=PendingByCalculationRequestCalculationOptionsInner.from_dict(pending_by_calculation_request_calculation_options_inner_dict)

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