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


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

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

        :param topology: The topology of this TapiTopologyTopologyWrapper.  # noqa: E501
        :type topology: TapiTopologyTopology
        """
        self.swagger_types = {
            'topology': TapiTopologyTopology
        }

        self.attribute_map = {
            'topology': 'topology'
        }
        self._topology = topology

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

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

    @property
    def topology(self) -> TapiTopologyTopology:
        """Gets the topology of this TapiTopologyTopologyWrapper.


        :return: The topology of this TapiTopologyTopologyWrapper.
        :rtype: TapiTopologyTopology
        """
        return self._topology

    @topology.setter
    def topology(self, topology: TapiTopologyTopology):
        """Sets the topology of this TapiTopologyTopologyWrapper.


        :param topology: The topology of this TapiTopologyTopologyWrapper.
        :type topology: TapiTopologyTopology
        """

        self._topology = topology
