# 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 TapiConnectivityGetconnectionendpointdetailsOutput(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
        """TapiConnectivityGetconnectionendpointdetailsOutput - a model defined in Swagger

        :param connection_end_point: The connection_end_point of this TapiConnectivityGetconnectionendpointdetailsOutput.  # 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) -> 'TapiConnectivityGetconnectionendpointdetailsOutput':
        """Returns the dict as a model

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

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


        :return: The connection_end_point of this TapiConnectivityGetconnectionendpointdetailsOutput.
        :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 TapiConnectivityGetconnectionendpointdetailsOutput.


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

        self._connection_end_point = connection_end_point
