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


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

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

        :param nw_topology_service: The nw_topology_service of this TapiTopologyNetworkTopologyServiceWrapper.  # noqa: E501
        :type nw_topology_service: TapiTopologyNetworkTopologyService
        """
        self.swagger_types = {
            'nw_topology_service': TapiTopologyNetworkTopologyService
        }

        self.attribute_map = {
            'nw_topology_service': 'nw-topology-service'
        }
        self._nw_topology_service = nw_topology_service

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

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

    @property
    def nw_topology_service(self) -> TapiTopologyNetworkTopologyService:
        """Gets the nw_topology_service of this TapiTopologyNetworkTopologyServiceWrapper.


        :return: The nw_topology_service of this TapiTopologyNetworkTopologyServiceWrapper.
        :rtype: TapiTopologyNetworkTopologyService
        """
        return self._nw_topology_service

    @nw_topology_service.setter
    def nw_topology_service(self, nw_topology_service: TapiTopologyNetworkTopologyService):
        """Sets the nw_topology_service of this TapiTopologyNetworkTopologyServiceWrapper.


        :param nw_topology_service: The nw_topology_service of this TapiTopologyNetworkTopologyServiceWrapper.
        :type nw_topology_service: TapiTopologyNetworkTopologyService
        """

        self._nw_topology_service = nw_topology_service
