# 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 ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties(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 = {
        'jmx_objectname': 'ConfigNodePropertyString',
        'property_measure_enabled': 'ConfigNodePropertyBoolean',
        'property_name': 'ConfigNodePropertyString',
        'property_max_wait_ms': 'ConfigNodePropertyInteger',
        'property_max_rate': 'ConfigNodePropertyFloat',
        'fulltext_measure_enabled': 'ConfigNodePropertyBoolean',
        'fulltext_name': 'ConfigNodePropertyString',
        'fulltext_max_wait_ms': 'ConfigNodePropertyInteger',
        'fulltext_max_rate': 'ConfigNodePropertyFloat'
    }

    attribute_map = {
        'jmx_objectname': 'jmx.objectname',
        'property_measure_enabled': 'property.measure.enabled',
        'property_name': 'property.name',
        'property_max_wait_ms': 'property.max.wait.ms',
        'property_max_rate': 'property.max.rate',
        'fulltext_measure_enabled': 'fulltext.measure.enabled',
        'fulltext_name': 'fulltext.name',
        'fulltext_max_wait_ms': 'fulltext.max.wait.ms',
        'fulltext_max_rate': 'fulltext.max.rate'
    }

    def __init__(self, jmx_objectname=None, property_measure_enabled=None, property_name=None, property_max_wait_ms=None, property_max_rate=None, fulltext_measure_enabled=None, fulltext_name=None, fulltext_max_wait_ms=None, fulltext_max_rate=None):  # noqa: E501
        """ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties - a model defined in OpenAPI"""  # noqa: E501

        self._jmx_objectname = None
        self._property_measure_enabled = None
        self._property_name = None
        self._property_max_wait_ms = None
        self._property_max_rate = None
        self._fulltext_measure_enabled = None
        self._fulltext_name = None
        self._fulltext_max_wait_ms = None
        self._fulltext_max_rate = None
        self.discriminator = None

        if jmx_objectname is not None:
            self.jmx_objectname = jmx_objectname
        if property_measure_enabled is not None:
            self.property_measure_enabled = property_measure_enabled
        if property_name is not None:
            self.property_name = property_name
        if property_max_wait_ms is not None:
            self.property_max_wait_ms = property_max_wait_ms
        if property_max_rate is not None:
            self.property_max_rate = property_max_rate
        if fulltext_measure_enabled is not None:
            self.fulltext_measure_enabled = fulltext_measure_enabled
        if fulltext_name is not None:
            self.fulltext_name = fulltext_name
        if fulltext_max_wait_ms is not None:
            self.fulltext_max_wait_ms = fulltext_max_wait_ms
        if fulltext_max_rate is not None:
            self.fulltext_max_rate = fulltext_max_rate

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


        :return: The jmx_objectname of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._jmx_objectname

    @jmx_objectname.setter
    def jmx_objectname(self, jmx_objectname):
        """Sets the jmx_objectname of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param jmx_objectname: The jmx_objectname of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._jmx_objectname = jmx_objectname

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


        :return: The property_measure_enabled of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyBoolean
        """
        return self._property_measure_enabled

    @property_measure_enabled.setter
    def property_measure_enabled(self, property_measure_enabled):
        """Sets the property_measure_enabled of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param property_measure_enabled: The property_measure_enabled of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyBoolean
        """

        self._property_measure_enabled = property_measure_enabled

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


        :return: The property_name of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._property_name

    @property_name.setter
    def property_name(self, property_name):
        """Sets the property_name of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param property_name: The property_name of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._property_name = property_name

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


        :return: The property_max_wait_ms of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._property_max_wait_ms

    @property_max_wait_ms.setter
    def property_max_wait_ms(self, property_max_wait_ms):
        """Sets the property_max_wait_ms of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param property_max_wait_ms: The property_max_wait_ms of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._property_max_wait_ms = property_max_wait_ms

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


        :return: The property_max_rate of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyFloat
        """
        return self._property_max_rate

    @property_max_rate.setter
    def property_max_rate(self, property_max_rate):
        """Sets the property_max_rate of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param property_max_rate: The property_max_rate of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyFloat
        """

        self._property_max_rate = property_max_rate

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


        :return: The fulltext_measure_enabled of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyBoolean
        """
        return self._fulltext_measure_enabled

    @fulltext_measure_enabled.setter
    def fulltext_measure_enabled(self, fulltext_measure_enabled):
        """Sets the fulltext_measure_enabled of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param fulltext_measure_enabled: The fulltext_measure_enabled of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyBoolean
        """

        self._fulltext_measure_enabled = fulltext_measure_enabled

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


        :return: The fulltext_name of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._fulltext_name

    @fulltext_name.setter
    def fulltext_name(self, fulltext_name):
        """Sets the fulltext_name of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param fulltext_name: The fulltext_name of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._fulltext_name = fulltext_name

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


        :return: The fulltext_max_wait_ms of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._fulltext_max_wait_ms

    @fulltext_max_wait_ms.setter
    def fulltext_max_wait_ms(self, fulltext_max_wait_ms):
        """Sets the fulltext_max_wait_ms of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param fulltext_max_wait_ms: The fulltext_max_wait_ms of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._fulltext_max_wait_ms = fulltext_max_wait_ms

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


        :return: The fulltext_max_rate of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :rtype: ConfigNodePropertyFloat
        """
        return self._fulltext_max_rate

    @fulltext_max_rate.setter
    def fulltext_max_rate(self, fulltext_max_rate):
        """Sets the fulltext_max_rate of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.


        :param fulltext_max_rate: The fulltext_max_rate of this ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties.  # noqa: E501
        :type: ConfigNodePropertyFloat
        """

        self._fulltext_max_rate = fulltext_max_rate

    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, ComDayCqDamCoreImplJmxAssetIndexUpdateMonitorProperties):
            return False

        return self.__dict__ == other.__dict__

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