# 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 ComDayCqStatisticsImplStatisticsServiceImplProperties(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 = {
        'scheduler_period': 'ConfigNodePropertyInteger',
        'scheduler_concurrent': 'ConfigNodePropertyBoolean',
        'path': 'ConfigNodePropertyString',
        'workspace': 'ConfigNodePropertyString',
        'keywords_path': 'ConfigNodePropertyString',
        'async_entries': 'ConfigNodePropertyBoolean'
    }

    attribute_map = {
        'scheduler_period': 'scheduler.period',
        'scheduler_concurrent': 'scheduler.concurrent',
        'path': 'path',
        'workspace': 'workspace',
        'keywords_path': 'keywordsPath',
        'async_entries': 'asyncEntries'
    }

    def __init__(self, scheduler_period=None, scheduler_concurrent=None, path=None, workspace=None, keywords_path=None, async_entries=None):  # noqa: E501
        """ComDayCqStatisticsImplStatisticsServiceImplProperties - a model defined in OpenAPI"""  # noqa: E501

        self._scheduler_period = None
        self._scheduler_concurrent = None
        self._path = None
        self._workspace = None
        self._keywords_path = None
        self._async_entries = None
        self.discriminator = None

        if scheduler_period is not None:
            self.scheduler_period = scheduler_period
        if scheduler_concurrent is not None:
            self.scheduler_concurrent = scheduler_concurrent
        if path is not None:
            self.path = path
        if workspace is not None:
            self.workspace = workspace
        if keywords_path is not None:
            self.keywords_path = keywords_path
        if async_entries is not None:
            self.async_entries = async_entries

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


        :return: The scheduler_period of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._scheduler_period

    @scheduler_period.setter
    def scheduler_period(self, scheduler_period):
        """Sets the scheduler_period of this ComDayCqStatisticsImplStatisticsServiceImplProperties.


        :param scheduler_period: The scheduler_period of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._scheduler_period = scheduler_period

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


        :return: The scheduler_concurrent of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyBoolean
        """
        return self._scheduler_concurrent

    @scheduler_concurrent.setter
    def scheduler_concurrent(self, scheduler_concurrent):
        """Sets the scheduler_concurrent of this ComDayCqStatisticsImplStatisticsServiceImplProperties.


        :param scheduler_concurrent: The scheduler_concurrent of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :type: ConfigNodePropertyBoolean
        """

        self._scheduler_concurrent = scheduler_concurrent

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


        :return: The path of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._path

    @path.setter
    def path(self, path):
        """Sets the path of this ComDayCqStatisticsImplStatisticsServiceImplProperties.


        :param path: The path of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._path = path

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


        :return: The workspace of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._workspace

    @workspace.setter
    def workspace(self, workspace):
        """Sets the workspace of this ComDayCqStatisticsImplStatisticsServiceImplProperties.


        :param workspace: The workspace of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._workspace = workspace

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


        :return: The keywords_path of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._keywords_path

    @keywords_path.setter
    def keywords_path(self, keywords_path):
        """Sets the keywords_path of this ComDayCqStatisticsImplStatisticsServiceImplProperties.


        :param keywords_path: The keywords_path of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._keywords_path = keywords_path

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


        :return: The async_entries of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :rtype: ConfigNodePropertyBoolean
        """
        return self._async_entries

    @async_entries.setter
    def async_entries(self, async_entries):
        """Sets the async_entries of this ComDayCqStatisticsImplStatisticsServiceImplProperties.


        :param async_entries: The async_entries of this ComDayCqStatisticsImplStatisticsServiceImplProperties.  # noqa: E501
        :type: ConfigNodePropertyBoolean
        """

        self._async_entries = async_entries

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

        return self.__dict__ == other.__dict__

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