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


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

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

        :param alarm_info: The alarm_info of this TapiNotificationAlarmInfoWrapper.  # noqa: E501
        :type alarm_info: TapiNotificationAlarmInfo
        """
        self.swagger_types = {
            'alarm_info': TapiNotificationAlarmInfo
        }

        self.attribute_map = {
            'alarm_info': 'alarm-info'
        }
        self._alarm_info = alarm_info

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.notification.AlarmInfoWrapper of this TapiNotificationAlarmInfoWrapper.  # noqa: E501
        :rtype: TapiNotificationAlarmInfoWrapper
        """
        return util.deserialize_model(dikt, cls)

    @property
    def alarm_info(self) -> TapiNotificationAlarmInfo:
        """Gets the alarm_info of this TapiNotificationAlarmInfoWrapper.


        :return: The alarm_info of this TapiNotificationAlarmInfoWrapper.
        :rtype: TapiNotificationAlarmInfo
        """
        return self._alarm_info

    @alarm_info.setter
    def alarm_info(self, alarm_info: TapiNotificationAlarmInfo):
        """Sets the alarm_info of this TapiNotificationAlarmInfoWrapper.


        :param alarm_info: The alarm_info of this TapiNotificationAlarmInfoWrapper.
        :type alarm_info: TapiNotificationAlarmInfo
        """

        self._alarm_info = alarm_info
