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


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

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

        :param notification: The notification of this TapiNotificationNotificationWrapper.  # noqa: E501
        :type notification: TapiNotificationNotification
        """
        self.swagger_types = {
            'notification': TapiNotificationNotification
        }

        self.attribute_map = {
            'notification': 'notification'
        }
        self._notification = notification

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

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

    @property
    def notification(self) -> TapiNotificationNotification:
        """Gets the notification of this TapiNotificationNotificationWrapper.


        :return: The notification of this TapiNotificationNotificationWrapper.
        :rtype: TapiNotificationNotification
        """
        return self._notification

    @notification.setter
    def notification(self, notification: TapiNotificationNotification):
        """Sets the notification of this TapiNotificationNotificationWrapper.


        :param notification: The notification of this TapiNotificationNotificationWrapper.
        :type notification: TapiNotificationNotification
        """

        self._notification = notification
