# 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 OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties(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 = {
        'name': 'ConfigNodePropertyString',
        'title': 'ConfigNodePropertyString',
        'details': 'ConfigNodePropertyString',
        'enabled': 'ConfigNodePropertyBoolean',
        'service_name': 'ConfigNodePropertyString',
        'log_level': 'ConfigNodePropertyDropDown',
        'queue_processing_enabled': 'ConfigNodePropertyBoolean',
        'passive_queues': 'ConfigNodePropertyArray',
        'package_exporter_endpoints': 'ConfigNodePropertyArray',
        'package_importer_endpoints': 'ConfigNodePropertyArray',
        'retry_strategy': 'ConfigNodePropertyDropDown',
        'retry_attempts': 'ConfigNodePropertyInteger',
        'pull_items': 'ConfigNodePropertyInteger',
        'http_conn_timeout': 'ConfigNodePropertyInteger',
        'request_authorization_strategy_target': 'ConfigNodePropertyString',
        'transport_secret_provider_target': 'ConfigNodePropertyString',
        'package_builder_target': 'ConfigNodePropertyString',
        'triggers_target': 'ConfigNodePropertyString'
    }

    attribute_map = {
        'name': 'name',
        'title': 'title',
        'details': 'details',
        'enabled': 'enabled',
        'service_name': 'serviceName',
        'log_level': 'log.level',
        'queue_processing_enabled': 'queue.processing.enabled',
        'passive_queues': 'passiveQueues',
        'package_exporter_endpoints': 'packageExporter.endpoints',
        'package_importer_endpoints': 'packageImporter.endpoints',
        'retry_strategy': 'retry.strategy',
        'retry_attempts': 'retry.attempts',
        'pull_items': 'pull.items',
        'http_conn_timeout': 'http.conn.timeout',
        'request_authorization_strategy_target': 'requestAuthorizationStrategy.target',
        'transport_secret_provider_target': 'transportSecretProvider.target',
        'package_builder_target': 'packageBuilder.target',
        'triggers_target': 'triggers.target'
    }

    def __init__(self, name=None, title=None, details=None, enabled=None, service_name=None, log_level=None, queue_processing_enabled=None, passive_queues=None, package_exporter_endpoints=None, package_importer_endpoints=None, retry_strategy=None, retry_attempts=None, pull_items=None, http_conn_timeout=None, request_authorization_strategy_target=None, transport_secret_provider_target=None, package_builder_target=None, triggers_target=None):  # noqa: E501
        """OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties - a model defined in OpenAPI"""  # noqa: E501

        self._name = None
        self._title = None
        self._details = None
        self._enabled = None
        self._service_name = None
        self._log_level = None
        self._queue_processing_enabled = None
        self._passive_queues = None
        self._package_exporter_endpoints = None
        self._package_importer_endpoints = None
        self._retry_strategy = None
        self._retry_attempts = None
        self._pull_items = None
        self._http_conn_timeout = None
        self._request_authorization_strategy_target = None
        self._transport_secret_provider_target = None
        self._package_builder_target = None
        self._triggers_target = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if title is not None:
            self.title = title
        if details is not None:
            self.details = details
        if enabled is not None:
            self.enabled = enabled
        if service_name is not None:
            self.service_name = service_name
        if log_level is not None:
            self.log_level = log_level
        if queue_processing_enabled is not None:
            self.queue_processing_enabled = queue_processing_enabled
        if passive_queues is not None:
            self.passive_queues = passive_queues
        if package_exporter_endpoints is not None:
            self.package_exporter_endpoints = package_exporter_endpoints
        if package_importer_endpoints is not None:
            self.package_importer_endpoints = package_importer_endpoints
        if retry_strategy is not None:
            self.retry_strategy = retry_strategy
        if retry_attempts is not None:
            self.retry_attempts = retry_attempts
        if pull_items is not None:
            self.pull_items = pull_items
        if http_conn_timeout is not None:
            self.http_conn_timeout = http_conn_timeout
        if request_authorization_strategy_target is not None:
            self.request_authorization_strategy_target = request_authorization_strategy_target
        if transport_secret_provider_target is not None:
            self.transport_secret_provider_target = transport_secret_provider_target
        if package_builder_target is not None:
            self.package_builder_target = package_builder_target
        if triggers_target is not None:
            self.triggers_target = triggers_target

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


        :return: The name of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param name: The name of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._name = name

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


        :return: The title of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._title

    @title.setter
    def title(self, title):
        """Sets the title of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param title: The title of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._title = title

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


        :return: The details of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._details

    @details.setter
    def details(self, details):
        """Sets the details of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param details: The details of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._details = details

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


        :return: The enabled of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyBoolean
        """
        return self._enabled

    @enabled.setter
    def enabled(self, enabled):
        """Sets the enabled of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param enabled: The enabled of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyBoolean
        """

        self._enabled = enabled

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


        :return: The service_name of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._service_name

    @service_name.setter
    def service_name(self, service_name):
        """Sets the service_name of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param service_name: The service_name of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._service_name = service_name

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


        :return: The log_level of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyDropDown
        """
        return self._log_level

    @log_level.setter
    def log_level(self, log_level):
        """Sets the log_level of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param log_level: The log_level of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyDropDown
        """

        self._log_level = log_level

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


        :return: The queue_processing_enabled of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyBoolean
        """
        return self._queue_processing_enabled

    @queue_processing_enabled.setter
    def queue_processing_enabled(self, queue_processing_enabled):
        """Sets the queue_processing_enabled of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param queue_processing_enabled: The queue_processing_enabled of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyBoolean
        """

        self._queue_processing_enabled = queue_processing_enabled

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


        :return: The passive_queues of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyArray
        """
        return self._passive_queues

    @passive_queues.setter
    def passive_queues(self, passive_queues):
        """Sets the passive_queues of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param passive_queues: The passive_queues of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyArray
        """

        self._passive_queues = passive_queues

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


        :return: The package_exporter_endpoints of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyArray
        """
        return self._package_exporter_endpoints

    @package_exporter_endpoints.setter
    def package_exporter_endpoints(self, package_exporter_endpoints):
        """Sets the package_exporter_endpoints of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param package_exporter_endpoints: The package_exporter_endpoints of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyArray
        """

        self._package_exporter_endpoints = package_exporter_endpoints

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


        :return: The package_importer_endpoints of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyArray
        """
        return self._package_importer_endpoints

    @package_importer_endpoints.setter
    def package_importer_endpoints(self, package_importer_endpoints):
        """Sets the package_importer_endpoints of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param package_importer_endpoints: The package_importer_endpoints of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyArray
        """

        self._package_importer_endpoints = package_importer_endpoints

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


        :return: The retry_strategy of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyDropDown
        """
        return self._retry_strategy

    @retry_strategy.setter
    def retry_strategy(self, retry_strategy):
        """Sets the retry_strategy of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param retry_strategy: The retry_strategy of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyDropDown
        """

        self._retry_strategy = retry_strategy

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


        :return: The retry_attempts of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._retry_attempts

    @retry_attempts.setter
    def retry_attempts(self, retry_attempts):
        """Sets the retry_attempts of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param retry_attempts: The retry_attempts of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._retry_attempts = retry_attempts

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


        :return: The pull_items of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._pull_items

    @pull_items.setter
    def pull_items(self, pull_items):
        """Sets the pull_items of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param pull_items: The pull_items of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._pull_items = pull_items

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


        :return: The http_conn_timeout of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._http_conn_timeout

    @http_conn_timeout.setter
    def http_conn_timeout(self, http_conn_timeout):
        """Sets the http_conn_timeout of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param http_conn_timeout: The http_conn_timeout of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._http_conn_timeout = http_conn_timeout

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


        :return: The request_authorization_strategy_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._request_authorization_strategy_target

    @request_authorization_strategy_target.setter
    def request_authorization_strategy_target(self, request_authorization_strategy_target):
        """Sets the request_authorization_strategy_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param request_authorization_strategy_target: The request_authorization_strategy_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._request_authorization_strategy_target = request_authorization_strategy_target

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


        :return: The transport_secret_provider_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._transport_secret_provider_target

    @transport_secret_provider_target.setter
    def transport_secret_provider_target(self, transport_secret_provider_target):
        """Sets the transport_secret_provider_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param transport_secret_provider_target: The transport_secret_provider_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._transport_secret_provider_target = transport_secret_provider_target

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


        :return: The package_builder_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._package_builder_target

    @package_builder_target.setter
    def package_builder_target(self, package_builder_target):
        """Sets the package_builder_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param package_builder_target: The package_builder_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._package_builder_target = package_builder_target

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


        :return: The triggers_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._triggers_target

    @triggers_target.setter
    def triggers_target(self, triggers_target):
        """Sets the triggers_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.


        :param triggers_target: The triggers_target of this OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._triggers_target = triggers_target

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

        return self.__dict__ == other.__dict__

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