# 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 MonthlyCAPTrend(Model):
    """MonthlyCAPTrend.

    :param actual_cost: The actual cost
    :type actual_cost: float
    :param cap_cost: The cap cost
    :type cap_cost: float
    :param avoided_cost: The avoided cost
    :type avoided_cost: float
    :param percent_cost: The percent cost
    :type percent_cost: float
    :param billing_period: The billing period
    :type billing_period: int
    :param fiscal_period: The fiscal period
    :type fiscal_period: int
    """

    _attribute_map = {
        'actual_cost': {'key': 'actualCost', 'type': 'float'},
        'cap_cost': {'key': 'capCost', 'type': 'float'},
        'avoided_cost': {'key': 'avoidedCost', 'type': 'float'},
        'percent_cost': {'key': 'percentCost', 'type': 'float'},
        'billing_period': {'key': 'billingPeriod', 'type': 'int'},
        'fiscal_period': {'key': 'fiscalPeriod', 'type': 'int'},
    }

    def __init__(self, **kwargs):
        super(MonthlyCAPTrend, self).__init__(**kwargs)
        self.actual_cost = kwargs.get('actual_cost', None)
        self.cap_cost = kwargs.get('cap_cost', None)
        self.avoided_cost = kwargs.get('avoided_cost', None)
        self.percent_cost = kwargs.get('percent_cost', None)
        self.billing_period = kwargs.get('billing_period', None)
        self.fiscal_period = kwargs.get('fiscal_period', None)
