# 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_subscription_filter import TapiNotificationSubscriptionFilter  # noqa: F401,E501
from tapi_server.models.tapi_notification_subscription_state import TapiNotificationSubscriptionState  # noqa: F401,E501
from tapi_server import util


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

    Do not edit the class manually.
    """
    def __init__(self, subscription_state: TapiNotificationSubscriptionState=None, subscription_filter: TapiNotificationSubscriptionFilter=None):  # noqa: E501
        """TapiNotificationCreatenotificationsubscriptionserviceInput - a model defined in Swagger

        :param subscription_state: The subscription_state of this TapiNotificationCreatenotificationsubscriptionserviceInput.  # noqa: E501
        :type subscription_state: TapiNotificationSubscriptionState
        :param subscription_filter: The subscription_filter of this TapiNotificationCreatenotificationsubscriptionserviceInput.  # noqa: E501
        :type subscription_filter: TapiNotificationSubscriptionFilter
        """
        self.swagger_types = {
            'subscription_state': TapiNotificationSubscriptionState,
            'subscription_filter': TapiNotificationSubscriptionFilter
        }

        self.attribute_map = {
            'subscription_state': 'subscription-state',
            'subscription_filter': 'subscription-filter'
        }
        self._subscription_state = subscription_state
        self._subscription_filter = subscription_filter

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

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

    @property
    def subscription_state(self) -> TapiNotificationSubscriptionState:
        """Gets the subscription_state of this TapiNotificationCreatenotificationsubscriptionserviceInput.


        :return: The subscription_state of this TapiNotificationCreatenotificationsubscriptionserviceInput.
        :rtype: TapiNotificationSubscriptionState
        """
        return self._subscription_state

    @subscription_state.setter
    def subscription_state(self, subscription_state: TapiNotificationSubscriptionState):
        """Sets the subscription_state of this TapiNotificationCreatenotificationsubscriptionserviceInput.


        :param subscription_state: The subscription_state of this TapiNotificationCreatenotificationsubscriptionserviceInput.
        :type subscription_state: TapiNotificationSubscriptionState
        """

        self._subscription_state = subscription_state

    @property
    def subscription_filter(self) -> TapiNotificationSubscriptionFilter:
        """Gets the subscription_filter of this TapiNotificationCreatenotificationsubscriptionserviceInput.


        :return: The subscription_filter of this TapiNotificationCreatenotificationsubscriptionserviceInput.
        :rtype: TapiNotificationSubscriptionFilter
        """
        return self._subscription_filter

    @subscription_filter.setter
    def subscription_filter(self, subscription_filter: TapiNotificationSubscriptionFilter):
        """Sets the subscription_filter of this TapiNotificationCreatenotificationsubscriptionserviceInput.


        :param subscription_filter: The subscription_filter of this TapiNotificationCreatenotificationsubscriptionserviceInput.
        :type subscription_filter: TapiNotificationSubscriptionFilter
        """

        self._subscription_filter = subscription_filter
