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


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

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

        :param topology_uuid: The topology_uuid of this TapiTopologyNodeRef.  # noqa: E501
        :type topology_uuid: str
        :param node_uuid: The node_uuid of this TapiTopologyNodeRef.  # noqa: E501
        :type node_uuid: str
        """
        self.swagger_types = {
            'topology_uuid': str,
            'node_uuid': str
        }

        self.attribute_map = {
            'topology_uuid': 'topology-uuid',
            'node_uuid': 'node-uuid'
        }
        self._topology_uuid = topology_uuid
        self._node_uuid = node_uuid

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.topology.NodeRef of this TapiTopologyNodeRef.  # noqa: E501
        :rtype: TapiTopologyNodeRef
        """
        return util.deserialize_model(dikt, cls)

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

        none  # noqa: E501

        :return: The topology_uuid of this TapiTopologyNodeRef.
        :rtype: str
        """
        return self._topology_uuid

    @topology_uuid.setter
    def topology_uuid(self, topology_uuid: str):
        """Sets the topology_uuid of this TapiTopologyNodeRef.

        none  # noqa: E501

        :param topology_uuid: The topology_uuid of this TapiTopologyNodeRef.
        :type topology_uuid: str
        """

        self._topology_uuid = topology_uuid

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

        none  # noqa: E501

        :return: The node_uuid of this TapiTopologyNodeRef.
        :rtype: str
        """
        return self._node_uuid

    @node_uuid.setter
    def node_uuid(self, node_uuid: str):
        """Sets the node_uuid of this TapiTopologyNodeRef.

        none  # noqa: E501

        :param node_uuid: The node_uuid of this TapiTopologyNodeRef.
        :type node_uuid: str
        """

        self._node_uuid = node_uuid
