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


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

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

        :param risk_diversity_characteristic: The risk_diversity_characteristic of this TapiTopologyRiskCharacteristicWrapper.  # noqa: E501
        :type risk_diversity_characteristic: TapiTopologyRiskCharacteristic
        """
        self.swagger_types = {
            'risk_diversity_characteristic': TapiTopologyRiskCharacteristic
        }

        self.attribute_map = {
            'risk_diversity_characteristic': 'risk-diversity-characteristic'
        }
        self._risk_diversity_characteristic = risk_diversity_characteristic

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

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

    @property
    def risk_diversity_characteristic(self) -> TapiTopologyRiskCharacteristic:
        """Gets the risk_diversity_characteristic of this TapiTopologyRiskCharacteristicWrapper.


        :return: The risk_diversity_characteristic of this TapiTopologyRiskCharacteristicWrapper.
        :rtype: TapiTopologyRiskCharacteristic
        """
        return self._risk_diversity_characteristic

    @risk_diversity_characteristic.setter
    def risk_diversity_characteristic(self, risk_diversity_characteristic: TapiTopologyRiskCharacteristic):
        """Sets the risk_diversity_characteristic of this TapiTopologyRiskCharacteristicWrapper.


        :param risk_diversity_characteristic: The risk_diversity_characteristic of this TapiTopologyRiskCharacteristicWrapper.
        :type risk_diversity_characteristic: TapiTopologyRiskCharacteristic
        """

        self._risk_diversity_characteristic = risk_diversity_characteristic
