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


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

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

        :param connection_spec_reference: The connection_spec_reference of this TapiConnectivityConnectionSpecReferenceWrapper.  # noqa: E501
        :type connection_spec_reference: TapiConnectivityConnectionSpecReference
        """
        self.swagger_types = {
            'connection_spec_reference': TapiConnectivityConnectionSpecReference
        }

        self.attribute_map = {
            'connection_spec_reference': 'connection-spec-reference'
        }
        self._connection_spec_reference = connection_spec_reference

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

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

    @property
    def connection_spec_reference(self) -> TapiConnectivityConnectionSpecReference:
        """Gets the connection_spec_reference of this TapiConnectivityConnectionSpecReferenceWrapper.


        :return: The connection_spec_reference of this TapiConnectivityConnectionSpecReferenceWrapper.
        :rtype: TapiConnectivityConnectionSpecReference
        """
        return self._connection_spec_reference

    @connection_spec_reference.setter
    def connection_spec_reference(self, connection_spec_reference: TapiConnectivityConnectionSpecReference):
        """Sets the connection_spec_reference of this TapiConnectivityConnectionSpecReferenceWrapper.


        :param connection_spec_reference: The connection_spec_reference of this TapiConnectivityConnectionSpecReferenceWrapper.
        :type connection_spec_reference: TapiConnectivityConnectionSpecReference
        """

        self._connection_spec_reference = connection_spec_reference
