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


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

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

        :param tapi_topologytopology_context: The tapi_topologytopology_context of this TapiTopologyTopologyContextWrapper.  # noqa: E501
        :type tapi_topologytopology_context: TapiTopologyTopologyContext
        """
        self.swagger_types = {
            'tapi_topologytopology_context': TapiTopologyTopologyContext
        }

        self.attribute_map = {
            'tapi_topologytopology_context': 'tapi-topology:topology-context'
        }
        self._tapi_topologytopology_context = tapi_topologytopology_context

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

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

    @property
    def tapi_topologytopology_context(self) -> TapiTopologyTopologyContext:
        """Gets the tapi_topologytopology_context of this TapiTopologyTopologyContextWrapper.


        :return: The tapi_topologytopology_context of this TapiTopologyTopologyContextWrapper.
        :rtype: TapiTopologyTopologyContext
        """
        return self._tapi_topologytopology_context

    @tapi_topologytopology_context.setter
    def tapi_topologytopology_context(self, tapi_topologytopology_context: TapiTopologyTopologyContext):
        """Sets the tapi_topologytopology_context of this TapiTopologyTopologyContextWrapper.


        :param tapi_topologytopology_context: The tapi_topologytopology_context of this TapiTopologyTopologyContextWrapper.
        :type tapi_topologytopology_context: TapiTopologyTopologyContext
        """

        self._tapi_topologytopology_context = tapi_topologytopology_context
