Represents a rate. It is a Quantity
with the addition of a rate type.
Name | Type | Description | Notes |
---|---|---|---|
value | float | [optional] [default to 0.0] | |
units | str | ||
rate_type | str | The type of rate. Values can be "fixed" or "volumetric". | [optional] [default to 'volumetric'] |
from rewiringamerica_rem.models.fuel_rate import FuelRate
# TODO update the JSON string below
json = "{}"
# create an instance of FuelRate from a JSON string
fuel_rate_instance = FuelRate.from_json(json)
# print the JSON string representation of the object
print(FuelRate.to_json())
# convert the object into a dict
fuel_rate_dict = fuel_rate_instance.to_dict()
# create an instance of FuelRate from a dict
fuel_rate_from_dict = FuelRate.from_dict(fuel_rate_dict)