# 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 TapiNotificationGetnotificationlistOutput(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

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

        :param notification: The notification of this TapiNotificationGetnotificationlistOutput.  # noqa: E501
        :type notification: List[TapiNotificationNotification]
        """
        self.swagger_types = {
            'notification': List[TapiNotificationNotification]
        }

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

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

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

    @property
    def notification(self) -> List[TapiNotificationNotification]:
        """Gets the notification of this TapiNotificationGetnotificationlistOutput.

        none  # noqa: E501

        :return: The notification of this TapiNotificationGetnotificationlistOutput.
        :rtype: List[TapiNotificationNotification]
        """
        return self._notification

    @notification.setter
    def notification(self, notification: List[TapiNotificationNotification]):
        """Sets the notification of this TapiNotificationGetnotificationlistOutput.

        none  # noqa: E501

        :param notification: The notification of this TapiNotificationGetnotificationlistOutput.
        :type notification: List[TapiNotificationNotification]
        """

        self._notification = notification
