# coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class BillingPeriodUseUnitDeltaChild(Model):
    """BillingPeriodUseUnitDeltaChild.

    :param delta: The change in common use from the current billing period.
    :type delta: float
    :param use: The total common use.
    :type use: float
    :param unit: The common use unit.
    :type unit: ~energycap.sdk.models.UnitChild
    """

    _attribute_map = {
        'delta': {'key': 'delta', 'type': 'float'},
        'use': {'key': 'use', 'type': 'float'},
        'unit': {'key': 'unit', 'type': 'UnitChild'},
    }

    def __init__(self, delta=None, use=None, unit=None):
        super(BillingPeriodUseUnitDeltaChild, self).__init__()
        self.delta = delta
        self.use = use
        self.unit = unit
