# 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_bandwidth_profile import TapiCommonBandwidthProfile  # noqa: F401,E501
from tapi_server import util


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

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

        :param bandwidth_profile: The bandwidth_profile of this TapiCommonBandwidthProfileWrapper.  # noqa: E501
        :type bandwidth_profile: TapiCommonBandwidthProfile
        """
        self.swagger_types = {
            'bandwidth_profile': TapiCommonBandwidthProfile
        }

        self.attribute_map = {
            'bandwidth_profile': 'bandwidth-profile'
        }
        self._bandwidth_profile = bandwidth_profile

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

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

    @property
    def bandwidth_profile(self) -> TapiCommonBandwidthProfile:
        """Gets the bandwidth_profile of this TapiCommonBandwidthProfileWrapper.


        :return: The bandwidth_profile of this TapiCommonBandwidthProfileWrapper.
        :rtype: TapiCommonBandwidthProfile
        """
        return self._bandwidth_profile

    @bandwidth_profile.setter
    def bandwidth_profile(self, bandwidth_profile: TapiCommonBandwidthProfile):
        """Sets the bandwidth_profile of this TapiCommonBandwidthProfileWrapper.


        :param bandwidth_profile: The bandwidth_profile of this TapiCommonBandwidthProfileWrapper.
        :type bandwidth_profile: TapiCommonBandwidthProfile
        """

        self._bandwidth_profile = bandwidth_profile
