# 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 import util


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

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

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

        self.attribute_map = {
            'connection_uuid': 'connection-uuid'
        }
        self._connection_uuid = connection_uuid

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

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

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

        none  # noqa: E501

        :return: The connection_uuid of this TapiConnectivityConnectionRef.
        :rtype: str
        """
        return self._connection_uuid

    @connection_uuid.setter
    def connection_uuid(self, connection_uuid: str):
        """Sets the connection_uuid of this TapiConnectivityConnectionRef.

        none  # noqa: E501

        :param connection_uuid: The connection_uuid of this TapiConnectivityConnectionRef.
        :type connection_uuid: str
        """

        self._connection_uuid = connection_uuid
