# coding: utf-8

"""
    Adobe Experience Manager OSGI config (AEM) API

    Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API  # noqa: E501

    OpenAPI spec version: 1.0.0-pre.0
    Contact: opensource@shinesolutions.com
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six


class ComDayCqWcmMsmImplRolloutManagerImplProperties(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    openapi_types = {
        'event_filter': 'ConfigNodePropertyString',
        'rolloutmgr_excludedprops_default': 'ConfigNodePropertyArray',
        'rolloutmgr_excludedparagraphprops_default': 'ConfigNodePropertyArray',
        'rolloutmgr_excludednodetypes_default': 'ConfigNodePropertyArray',
        'rolloutmgr_threadpool_maxsize': 'ConfigNodePropertyInteger',
        'rolloutmgr_threadpool_maxshutdowntime': 'ConfigNodePropertyInteger',
        'rolloutmgr_threadpool_priority': 'ConfigNodePropertyDropDown',
        'rolloutmgr_commit_size': 'ConfigNodePropertyInteger',
        'rolloutmgr_conflicthandling_enabled': 'ConfigNodePropertyBoolean'
    }

    attribute_map = {
        'event_filter': 'event.filter',
        'rolloutmgr_excludedprops_default': 'rolloutmgr.excludedprops.default',
        'rolloutmgr_excludedparagraphprops_default': 'rolloutmgr.excludedparagraphprops.default',
        'rolloutmgr_excludednodetypes_default': 'rolloutmgr.excludednodetypes.default',
        'rolloutmgr_threadpool_maxsize': 'rolloutmgr.threadpool.maxsize',
        'rolloutmgr_threadpool_maxshutdowntime': 'rolloutmgr.threadpool.maxshutdowntime',
        'rolloutmgr_threadpool_priority': 'rolloutmgr.threadpool.priority',
        'rolloutmgr_commit_size': 'rolloutmgr.commit.size',
        'rolloutmgr_conflicthandling_enabled': 'rolloutmgr.conflicthandling.enabled'
    }

    def __init__(self, event_filter=None, rolloutmgr_excludedprops_default=None, rolloutmgr_excludedparagraphprops_default=None, rolloutmgr_excludednodetypes_default=None, rolloutmgr_threadpool_maxsize=None, rolloutmgr_threadpool_maxshutdowntime=None, rolloutmgr_threadpool_priority=None, rolloutmgr_commit_size=None, rolloutmgr_conflicthandling_enabled=None):  # noqa: E501
        """ComDayCqWcmMsmImplRolloutManagerImplProperties - a model defined in OpenAPI"""  # noqa: E501

        self._event_filter = None
        self._rolloutmgr_excludedprops_default = None
        self._rolloutmgr_excludedparagraphprops_default = None
        self._rolloutmgr_excludednodetypes_default = None
        self._rolloutmgr_threadpool_maxsize = None
        self._rolloutmgr_threadpool_maxshutdowntime = None
        self._rolloutmgr_threadpool_priority = None
        self._rolloutmgr_commit_size = None
        self._rolloutmgr_conflicthandling_enabled = None
        self.discriminator = None

        if event_filter is not None:
            self.event_filter = event_filter
        if rolloutmgr_excludedprops_default is not None:
            self.rolloutmgr_excludedprops_default = rolloutmgr_excludedprops_default
        if rolloutmgr_excludedparagraphprops_default is not None:
            self.rolloutmgr_excludedparagraphprops_default = rolloutmgr_excludedparagraphprops_default
        if rolloutmgr_excludednodetypes_default is not None:
            self.rolloutmgr_excludednodetypes_default = rolloutmgr_excludednodetypes_default
        if rolloutmgr_threadpool_maxsize is not None:
            self.rolloutmgr_threadpool_maxsize = rolloutmgr_threadpool_maxsize
        if rolloutmgr_threadpool_maxshutdowntime is not None:
            self.rolloutmgr_threadpool_maxshutdowntime = rolloutmgr_threadpool_maxshutdowntime
        if rolloutmgr_threadpool_priority is not None:
            self.rolloutmgr_threadpool_priority = rolloutmgr_threadpool_priority
        if rolloutmgr_commit_size is not None:
            self.rolloutmgr_commit_size = rolloutmgr_commit_size
        if rolloutmgr_conflicthandling_enabled is not None:
            self.rolloutmgr_conflicthandling_enabled = rolloutmgr_conflicthandling_enabled

    @property
    def event_filter(self):
        """Gets the event_filter of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The event_filter of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._event_filter

    @event_filter.setter
    def event_filter(self, event_filter):
        """Sets the event_filter of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param event_filter: The event_filter of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._event_filter = event_filter

    @property
    def rolloutmgr_excludedprops_default(self):
        """Gets the rolloutmgr_excludedprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_excludedprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyArray
        """
        return self._rolloutmgr_excludedprops_default

    @rolloutmgr_excludedprops_default.setter
    def rolloutmgr_excludedprops_default(self, rolloutmgr_excludedprops_default):
        """Sets the rolloutmgr_excludedprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_excludedprops_default: The rolloutmgr_excludedprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyArray
        """

        self._rolloutmgr_excludedprops_default = rolloutmgr_excludedprops_default

    @property
    def rolloutmgr_excludedparagraphprops_default(self):
        """Gets the rolloutmgr_excludedparagraphprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_excludedparagraphprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyArray
        """
        return self._rolloutmgr_excludedparagraphprops_default

    @rolloutmgr_excludedparagraphprops_default.setter
    def rolloutmgr_excludedparagraphprops_default(self, rolloutmgr_excludedparagraphprops_default):
        """Sets the rolloutmgr_excludedparagraphprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_excludedparagraphprops_default: The rolloutmgr_excludedparagraphprops_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyArray
        """

        self._rolloutmgr_excludedparagraphprops_default = rolloutmgr_excludedparagraphprops_default

    @property
    def rolloutmgr_excludednodetypes_default(self):
        """Gets the rolloutmgr_excludednodetypes_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_excludednodetypes_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyArray
        """
        return self._rolloutmgr_excludednodetypes_default

    @rolloutmgr_excludednodetypes_default.setter
    def rolloutmgr_excludednodetypes_default(self, rolloutmgr_excludednodetypes_default):
        """Sets the rolloutmgr_excludednodetypes_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_excludednodetypes_default: The rolloutmgr_excludednodetypes_default of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyArray
        """

        self._rolloutmgr_excludednodetypes_default = rolloutmgr_excludednodetypes_default

    @property
    def rolloutmgr_threadpool_maxsize(self):
        """Gets the rolloutmgr_threadpool_maxsize of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_threadpool_maxsize of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._rolloutmgr_threadpool_maxsize

    @rolloutmgr_threadpool_maxsize.setter
    def rolloutmgr_threadpool_maxsize(self, rolloutmgr_threadpool_maxsize):
        """Sets the rolloutmgr_threadpool_maxsize of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_threadpool_maxsize: The rolloutmgr_threadpool_maxsize of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._rolloutmgr_threadpool_maxsize = rolloutmgr_threadpool_maxsize

    @property
    def rolloutmgr_threadpool_maxshutdowntime(self):
        """Gets the rolloutmgr_threadpool_maxshutdowntime of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_threadpool_maxshutdowntime of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._rolloutmgr_threadpool_maxshutdowntime

    @rolloutmgr_threadpool_maxshutdowntime.setter
    def rolloutmgr_threadpool_maxshutdowntime(self, rolloutmgr_threadpool_maxshutdowntime):
        """Sets the rolloutmgr_threadpool_maxshutdowntime of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_threadpool_maxshutdowntime: The rolloutmgr_threadpool_maxshutdowntime of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._rolloutmgr_threadpool_maxshutdowntime = rolloutmgr_threadpool_maxshutdowntime

    @property
    def rolloutmgr_threadpool_priority(self):
        """Gets the rolloutmgr_threadpool_priority of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_threadpool_priority of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyDropDown
        """
        return self._rolloutmgr_threadpool_priority

    @rolloutmgr_threadpool_priority.setter
    def rolloutmgr_threadpool_priority(self, rolloutmgr_threadpool_priority):
        """Sets the rolloutmgr_threadpool_priority of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_threadpool_priority: The rolloutmgr_threadpool_priority of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyDropDown
        """

        self._rolloutmgr_threadpool_priority = rolloutmgr_threadpool_priority

    @property
    def rolloutmgr_commit_size(self):
        """Gets the rolloutmgr_commit_size of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_commit_size of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._rolloutmgr_commit_size

    @rolloutmgr_commit_size.setter
    def rolloutmgr_commit_size(self, rolloutmgr_commit_size):
        """Sets the rolloutmgr_commit_size of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_commit_size: The rolloutmgr_commit_size of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._rolloutmgr_commit_size = rolloutmgr_commit_size

    @property
    def rolloutmgr_conflicthandling_enabled(self):
        """Gets the rolloutmgr_conflicthandling_enabled of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501


        :return: The rolloutmgr_conflicthandling_enabled of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyBoolean
        """
        return self._rolloutmgr_conflicthandling_enabled

    @rolloutmgr_conflicthandling_enabled.setter
    def rolloutmgr_conflicthandling_enabled(self, rolloutmgr_conflicthandling_enabled):
        """Sets the rolloutmgr_conflicthandling_enabled of this ComDayCqWcmMsmImplRolloutManagerImplProperties.


        :param rolloutmgr_conflicthandling_enabled: The rolloutmgr_conflicthandling_enabled of this ComDayCqWcmMsmImplRolloutManagerImplProperties.  # noqa: E501
        :type: ConfigNodePropertyBoolean
        """

        self._rolloutmgr_conflicthandling_enabled = rolloutmgr_conflicthandling_enabled

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.openapi_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, ComDayCqWcmMsmImplRolloutManagerImplProperties):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other
