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


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

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

        :param lower_connection: The lower_connection of this TapiConnectivityConnectionRefWrapper.  # noqa: E501
        :type lower_connection: TapiConnectivityConnectionRef
        """
        self.swagger_types = {
            'lower_connection': TapiConnectivityConnectionRef
        }

        self.attribute_map = {
            'lower_connection': 'lower-connection'
        }
        self._lower_connection = lower_connection

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

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

    @property
    def lower_connection(self) -> TapiConnectivityConnectionRef:
        """Gets the lower_connection of this TapiConnectivityConnectionRefWrapper.


        :return: The lower_connection of this TapiConnectivityConnectionRefWrapper.
        :rtype: TapiConnectivityConnectionRef
        """
        return self._lower_connection

    @lower_connection.setter
    def lower_connection(self, lower_connection: TapiConnectivityConnectionRef):
        """Sets the lower_connection of this TapiConnectivityConnectionRefWrapper.


        :param lower_connection: The lower_connection of this TapiConnectivityConnectionRefWrapper.
        :type lower_connection: TapiConnectivityConnectionRef
        """

        self._lower_connection = lower_connection
