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


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

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

        :param sub_switch_control: The sub_switch_control of this TapiConnectivitySwitchControlRefWrapper.  # noqa: E501
        :type sub_switch_control: TapiConnectivitySwitchControlRef
        """
        self.swagger_types = {
            'sub_switch_control': TapiConnectivitySwitchControlRef
        }

        self.attribute_map = {
            'sub_switch_control': 'sub-switch-control'
        }
        self._sub_switch_control = sub_switch_control

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

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

    @property
    def sub_switch_control(self) -> TapiConnectivitySwitchControlRef:
        """Gets the sub_switch_control of this TapiConnectivitySwitchControlRefWrapper.


        :return: The sub_switch_control of this TapiConnectivitySwitchControlRefWrapper.
        :rtype: TapiConnectivitySwitchControlRef
        """
        return self._sub_switch_control

    @sub_switch_control.setter
    def sub_switch_control(self, sub_switch_control: TapiConnectivitySwitchControlRef):
        """Sets the sub_switch_control of this TapiConnectivitySwitchControlRefWrapper.


        :param sub_switch_control: The sub_switch_control of this TapiConnectivitySwitchControlRefWrapper.
        :type sub_switch_control: TapiConnectivitySwitchControlRef
        """

        self._sub_switch_control = sub_switch_control
