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


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

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

        :param switch_control: The switch_control of this TapiConnectivitySwitchControlWrapper.  # noqa: E501
        :type switch_control: TapiConnectivitySwitchControl
        """
        self.swagger_types = {
            'switch_control': TapiConnectivitySwitchControl
        }

        self.attribute_map = {
            'switch_control': 'switch-control'
        }
        self._switch_control = switch_control

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.connectivity.SwitchControlWrapper of this TapiConnectivitySwitchControlWrapper.  # noqa: E501
        :rtype: TapiConnectivitySwitchControlWrapper
        """
        return util.deserialize_model(dikt, cls)

    @property
    def switch_control(self) -> TapiConnectivitySwitchControl:
        """Gets the switch_control of this TapiConnectivitySwitchControlWrapper.


        :return: The switch_control of this TapiConnectivitySwitchControlWrapper.
        :rtype: TapiConnectivitySwitchControl
        """
        return self._switch_control

    @switch_control.setter
    def switch_control(self, switch_control: TapiConnectivitySwitchControl):
        """Sets the switch_control of this TapiConnectivitySwitchControlWrapper.


        :param switch_control: The switch_control of this TapiConnectivitySwitchControlWrapper.
        :type switch_control: TapiConnectivitySwitchControl
        """

        self._switch_control = switch_control
