# 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 ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties(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 = {
        'translation_factory': 'ConfigNodePropertyString',
        'default_connector_label': 'ConfigNodePropertyString',
        'default_connector_attribution': 'ConfigNodePropertyString',
        'default_connector_workspace_id': 'ConfigNodePropertyString',
        'default_connector_subscription_key': 'ConfigNodePropertyString',
        'language_map_location': 'ConfigNodePropertyString',
        'category_map_location': 'ConfigNodePropertyString',
        'retry_attempts': 'ConfigNodePropertyInteger',
        'timeout_count': 'ConfigNodePropertyInteger'
    }

    attribute_map = {
        'translation_factory': 'translationFactory',
        'default_connector_label': 'defaultConnectorLabel',
        'default_connector_attribution': 'defaultConnectorAttribution',
        'default_connector_workspace_id': 'defaultConnectorWorkspaceId',
        'default_connector_subscription_key': 'defaultConnectorSubscriptionKey',
        'language_map_location': 'languageMapLocation',
        'category_map_location': 'categoryMapLocation',
        'retry_attempts': 'retryAttempts',
        'timeout_count': 'timeoutCount'
    }

    def __init__(self, translation_factory=None, default_connector_label=None, default_connector_attribution=None, default_connector_workspace_id=None, default_connector_subscription_key=None, language_map_location=None, category_map_location=None, retry_attempts=None, timeout_count=None):  # noqa: E501
        """ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties - a model defined in OpenAPI"""  # noqa: E501

        self._translation_factory = None
        self._default_connector_label = None
        self._default_connector_attribution = None
        self._default_connector_workspace_id = None
        self._default_connector_subscription_key = None
        self._language_map_location = None
        self._category_map_location = None
        self._retry_attempts = None
        self._timeout_count = None
        self.discriminator = None

        if translation_factory is not None:
            self.translation_factory = translation_factory
        if default_connector_label is not None:
            self.default_connector_label = default_connector_label
        if default_connector_attribution is not None:
            self.default_connector_attribution = default_connector_attribution
        if default_connector_workspace_id is not None:
            self.default_connector_workspace_id = default_connector_workspace_id
        if default_connector_subscription_key is not None:
            self.default_connector_subscription_key = default_connector_subscription_key
        if language_map_location is not None:
            self.language_map_location = language_map_location
        if category_map_location is not None:
            self.category_map_location = category_map_location
        if retry_attempts is not None:
            self.retry_attempts = retry_attempts
        if timeout_count is not None:
            self.timeout_count = timeout_count

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


        :return: The translation_factory of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._translation_factory

    @translation_factory.setter
    def translation_factory(self, translation_factory):
        """Sets the translation_factory of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param translation_factory: The translation_factory of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._translation_factory = translation_factory

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


        :return: The default_connector_label of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._default_connector_label

    @default_connector_label.setter
    def default_connector_label(self, default_connector_label):
        """Sets the default_connector_label of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param default_connector_label: The default_connector_label of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._default_connector_label = default_connector_label

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


        :return: The default_connector_attribution of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._default_connector_attribution

    @default_connector_attribution.setter
    def default_connector_attribution(self, default_connector_attribution):
        """Sets the default_connector_attribution of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param default_connector_attribution: The default_connector_attribution of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._default_connector_attribution = default_connector_attribution

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


        :return: The default_connector_workspace_id of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._default_connector_workspace_id

    @default_connector_workspace_id.setter
    def default_connector_workspace_id(self, default_connector_workspace_id):
        """Sets the default_connector_workspace_id of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param default_connector_workspace_id: The default_connector_workspace_id of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._default_connector_workspace_id = default_connector_workspace_id

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


        :return: The default_connector_subscription_key of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._default_connector_subscription_key

    @default_connector_subscription_key.setter
    def default_connector_subscription_key(self, default_connector_subscription_key):
        """Sets the default_connector_subscription_key of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param default_connector_subscription_key: The default_connector_subscription_key of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._default_connector_subscription_key = default_connector_subscription_key

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


        :return: The language_map_location of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._language_map_location

    @language_map_location.setter
    def language_map_location(self, language_map_location):
        """Sets the language_map_location of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param language_map_location: The language_map_location of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._language_map_location = language_map_location

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


        :return: The category_map_location of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyString
        """
        return self._category_map_location

    @category_map_location.setter
    def category_map_location(self, category_map_location):
        """Sets the category_map_location of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param category_map_location: The category_map_location of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyString
        """

        self._category_map_location = category_map_location

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


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

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


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

        self._retry_attempts = retry_attempts

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


        :return: The timeout_count of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :rtype: ConfigNodePropertyInteger
        """
        return self._timeout_count

    @timeout_count.setter
    def timeout_count(self, timeout_count):
        """Sets the timeout_count of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.


        :param timeout_count: The timeout_count of this ComAdobeGraniteTranslationConnectorMsftCoreImplMicrosoftTranslProperties.  # noqa: E501
        :type: ConfigNodePropertyInteger
        """

        self._timeout_count = timeout_count

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

        return self.__dict__ == other.__dict__

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