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


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

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

        :param end_point: The end_point of this TapiConnectivityConnectivityServiceEndPointWrapper.  # noqa: E501
        :type end_point: TapiConnectivityConnectivityServiceEndPoint
        """
        self.swagger_types = {
            'end_point': TapiConnectivityConnectivityServiceEndPoint
        }

        self.attribute_map = {
            'end_point': 'end-point'
        }
        self._end_point = end_point

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

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

    @property
    def end_point(self) -> TapiConnectivityConnectivityServiceEndPoint:
        """Gets the end_point of this TapiConnectivityConnectivityServiceEndPointWrapper.


        :return: The end_point of this TapiConnectivityConnectivityServiceEndPointWrapper.
        :rtype: TapiConnectivityConnectivityServiceEndPoint
        """
        return self._end_point

    @end_point.setter
    def end_point(self, end_point: TapiConnectivityConnectivityServiceEndPoint):
        """Sets the end_point of this TapiConnectivityConnectivityServiceEndPointWrapper.


        :param end_point: The end_point of this TapiConnectivityConnectivityServiceEndPointWrapper.
        :type end_point: TapiConnectivityConnectivityServiceEndPoint
        """

        self._end_point = end_point
