Skip to content

UsageQuantity

Source code in docs_src/capo_bcm_pricing_calculator/types/usage_quantity.py
class UsageQuantity(TypedDict, closed=True):
    start_hour: NotRequired["datetime.datetime"]
    """<p> The start hour of the usage period. </p>"""
    unit: NotRequired["str"]
    """<p> The unit of measurement for the usage quantity. </p>"""
    amount: NotRequired["float"]
    """<p> The numeric value of the usage quantity. </p>"""

amount instance-attribute

amount: NotRequired[float]

The numeric value of the usage quantity.

start_hour instance-attribute

start_hour: NotRequired[datetime]

The start hour of the usage period.

unit instance-attribute

unit: NotRequired[str]

The unit of measurement for the usage quantity.