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


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

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

        :param node_rule_group: The node_rule_group of this TapiTopologyNodeRuleGroupWrapper.  # noqa: E501
        :type node_rule_group: TapiTopologyNodeRuleGroup
        """
        self.swagger_types = {
            'node_rule_group': TapiTopologyNodeRuleGroup
        }

        self.attribute_map = {
            'node_rule_group': 'node-rule-group'
        }
        self._node_rule_group = node_rule_group

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

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

    @property
    def node_rule_group(self) -> TapiTopologyNodeRuleGroup:
        """Gets the node_rule_group of this TapiTopologyNodeRuleGroupWrapper.


        :return: The node_rule_group of this TapiTopologyNodeRuleGroupWrapper.
        :rtype: TapiTopologyNodeRuleGroup
        """
        return self._node_rule_group

    @node_rule_group.setter
    def node_rule_group(self, node_rule_group: TapiTopologyNodeRuleGroup):
        """Sets the node_rule_group of this TapiTopologyNodeRuleGroupWrapper.


        :param node_rule_group: The node_rule_group of this TapiTopologyNodeRuleGroupWrapper.
        :type node_rule_group: TapiTopologyNodeRuleGroup
        """

        self._node_rule_group = node_rule_group
