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


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

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

        :param connection_end_point: The connection_end_point of this TapiConnectivityConnectionEndPointWrapper.  # noqa: E501
        :type connection_end_point: TapiConnectivityConnectionEndPoint
        """
        self.swagger_types = {
            'connection_end_point': TapiConnectivityConnectionEndPoint
        }

        self.attribute_map = {
            'connection_end_point': 'connection-end-point'
        }
        self._connection_end_point = connection_end_point

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

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

    @property
    def connection_end_point(self) -> TapiConnectivityConnectionEndPoint:
        """Gets the connection_end_point of this TapiConnectivityConnectionEndPointWrapper.


        :return: The connection_end_point of this TapiConnectivityConnectionEndPointWrapper.
        :rtype: TapiConnectivityConnectionEndPoint
        """
        return self._connection_end_point

    @connection_end_point.setter
    def connection_end_point(self, connection_end_point: TapiConnectivityConnectionEndPoint):
        """Sets the connection_end_point of this TapiConnectivityConnectionEndPointWrapper.


        :param connection_end_point: The connection_end_point of this TapiConnectivityConnectionEndPointWrapper.
        :type connection_end_point: TapiConnectivityConnectionEndPoint
        """

        self._connection_end_point = connection_end_point
