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


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

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

        :param associated_node_rule_group: The associated_node_rule_group of this TapiTopologyNodeRuleGroupRefWrapper.  # noqa: E501
        :type associated_node_rule_group: TapiTopologyNodeRuleGroupRef
        """
        self.swagger_types = {
            'associated_node_rule_group': TapiTopologyNodeRuleGroupRef
        }

        self.attribute_map = {
            'associated_node_rule_group': 'associated-node-rule-group'
        }
        self._associated_node_rule_group = associated_node_rule_group

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

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

    @property
    def associated_node_rule_group(self) -> TapiTopologyNodeRuleGroupRef:
        """Gets the associated_node_rule_group of this TapiTopologyNodeRuleGroupRefWrapper.


        :return: The associated_node_rule_group of this TapiTopologyNodeRuleGroupRefWrapper.
        :rtype: TapiTopologyNodeRuleGroupRef
        """
        return self._associated_node_rule_group

    @associated_node_rule_group.setter
    def associated_node_rule_group(self, associated_node_rule_group: TapiTopologyNodeRuleGroupRef):
        """Sets the associated_node_rule_group of this TapiTopologyNodeRuleGroupRefWrapper.


        :param associated_node_rule_group: The associated_node_rule_group of this TapiTopologyNodeRuleGroupRefWrapper.
        :type associated_node_rule_group: TapiTopologyNodeRuleGroupRef
        """

        self._associated_node_rule_group = associated_node_rule_group
