# 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 TapiTopologyContextAugmentation4(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

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

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

        self.attribute_map = {
            'topology_context': 'topology-context'
        }
        self._topology_context = topology_context

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

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

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


        :return: The topology_context of this TapiTopologyContextAugmentation4.
        :rtype: TapiTopologyTopologyContext
        """
        return self._topology_context

    @topology_context.setter
    def topology_context(self, topology_context: TapiTopologyTopologyContext):
        """Sets the topology_context of this TapiTopologyContextAugmentation4.


        :param topology_context: The topology_context of this TapiTopologyContextAugmentation4.
        :type topology_context: TapiTopologyTopologyContext
        """

        self._topology_context = topology_context
