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


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

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

        :param notif_subscription: The notif_subscription of this TapiNotificationNotificationSubscriptionServiceWrapper.  # noqa: E501
        :type notif_subscription: TapiNotificationNotificationSubscriptionService
        """
        self.swagger_types = {
            'notif_subscription': TapiNotificationNotificationSubscriptionService
        }

        self.attribute_map = {
            'notif_subscription': 'notif-subscription'
        }
        self._notif_subscription = notif_subscription

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

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

    @property
    def notif_subscription(self) -> TapiNotificationNotificationSubscriptionService:
        """Gets the notif_subscription of this TapiNotificationNotificationSubscriptionServiceWrapper.


        :return: The notif_subscription of this TapiNotificationNotificationSubscriptionServiceWrapper.
        :rtype: TapiNotificationNotificationSubscriptionService
        """
        return self._notif_subscription

    @notif_subscription.setter
    def notif_subscription(self, notif_subscription: TapiNotificationNotificationSubscriptionService):
        """Sets the notif_subscription of this TapiNotificationNotificationSubscriptionServiceWrapper.


        :param notif_subscription: The notif_subscription of this TapiNotificationNotificationSubscriptionServiceWrapper.
        :type notif_subscription: TapiNotificationNotificationSubscriptionService
        """

        self._notif_subscription = notif_subscription
