# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from tapi_server.models.base_model_ import Model
from tapi_server.models.tapi_common_capacity_value import TapiCommonCapacityValue  # noqa: F401,E501
from tapi_server import util


class TapiCommonCapacityValueWrapper(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    def __init__(self, committed_burst_size: TapiCommonCapacityValue=None):  # noqa: E501
        """TapiCommonCapacityValueWrapper - a model defined in Swagger

        :param committed_burst_size: The committed_burst_size of this TapiCommonCapacityValueWrapper.  # noqa: E501
        :type committed_burst_size: TapiCommonCapacityValue
        """
        self.swagger_types = {
            'committed_burst_size': TapiCommonCapacityValue
        }

        self.attribute_map = {
            'committed_burst_size': 'committed-burst-size'
        }
        self._committed_burst_size = committed_burst_size

    @classmethod
    def from_dict(cls, dikt) -> 'TapiCommonCapacityValueWrapper':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The tapi.common.CapacityValueWrapper of this TapiCommonCapacityValueWrapper.  # noqa: E501
        :rtype: TapiCommonCapacityValueWrapper
        """
        return util.deserialize_model(dikt, cls)

    @property
    def committed_burst_size(self) -> TapiCommonCapacityValue:
        """Gets the committed_burst_size of this TapiCommonCapacityValueWrapper.


        :return: The committed_burst_size of this TapiCommonCapacityValueWrapper.
        :rtype: TapiCommonCapacityValue
        """
        return self._committed_burst_size

    @committed_burst_size.setter
    def committed_burst_size(self, committed_burst_size: TapiCommonCapacityValue):
        """Sets the committed_burst_size of this TapiCommonCapacityValueWrapper.


        :param committed_burst_size: The committed_burst_size of this TapiCommonCapacityValueWrapper.
        :type committed_burst_size: TapiCommonCapacityValue
        """

        self._committed_burst_size = committed_burst_size
