# coding: utf-8

"""
    Cloudera Manager API

    <h1>Cloudera Manager API v57</h1>       <p>Introduced in Cloudera Manager 7.13.1</p>       <p><a href=\"http://www.cloudera.com/documentation.html\">Cloudera Product Documentation</a></p>  # noqa: E501

    OpenAPI spec version: 7.13.1
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import pprint
import re  # noqa: F401

import six

class ApiRangerReplicationResult(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    """
    Attributes:
      swagger_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.
    """
    swagger_types = {
        'total': 'int',
        'created': 'int',
        'skipped': 'int',
        'failed': 'int',
        'skipped_due_to_timeout': 'int',
        'audit_log_replication_result': 'ApiHdfsReplicationResult'
    }

    attribute_map = {
        'total': 'total',
        'created': 'created',
        'skipped': 'skipped',
        'failed': 'failed',
        'skipped_due_to_timeout': 'skippedDueToTimeout',
        'audit_log_replication_result': 'auditLogReplicationResult'
    }

    def __init__(self, total=None, created=None, skipped=None, failed=None, skipped_due_to_timeout=None, audit_log_replication_result=None):  # noqa: E501
        """ApiRangerReplicationResult - a model defined in Swagger"""  # noqa: E501
        self._total = None
        self._created = None
        self._skipped = None
        self._failed = None
        self._skipped_due_to_timeout = None
        self._audit_log_replication_result = None
        self.discriminator = None
        if total is not None:
            self.total = total
        if created is not None:
            self.created = created
        if skipped is not None:
            self.skipped = skipped
        if failed is not None:
            self.failed = failed
        if skipped_due_to_timeout is not None:
            self.skipped_due_to_timeout = skipped_due_to_timeout
        if audit_log_replication_result is not None:
            self.audit_log_replication_result = audit_log_replication_result

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


        :return: The total of this ApiRangerReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._total

    @total.setter
    def total(self, total):
        """Sets the total of this ApiRangerReplicationResult.


        :param total: The total of this ApiRangerReplicationResult.  # noqa: E501
        :type: int
        """

        self._total = total

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


        :return: The created of this ApiRangerReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._created

    @created.setter
    def created(self, created):
        """Sets the created of this ApiRangerReplicationResult.


        :param created: The created of this ApiRangerReplicationResult.  # noqa: E501
        :type: int
        """

        self._created = created

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


        :return: The skipped of this ApiRangerReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._skipped

    @skipped.setter
    def skipped(self, skipped):
        """Sets the skipped of this ApiRangerReplicationResult.


        :param skipped: The skipped of this ApiRangerReplicationResult.  # noqa: E501
        :type: int
        """

        self._skipped = skipped

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


        :return: The failed of this ApiRangerReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._failed

    @failed.setter
    def failed(self, failed):
        """Sets the failed of this ApiRangerReplicationResult.


        :param failed: The failed of this ApiRangerReplicationResult.  # noqa: E501
        :type: int
        """

        self._failed = failed

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


        :return: The skipped_due_to_timeout of this ApiRangerReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._skipped_due_to_timeout

    @skipped_due_to_timeout.setter
    def skipped_due_to_timeout(self, skipped_due_to_timeout):
        """Sets the skipped_due_to_timeout of this ApiRangerReplicationResult.


        :param skipped_due_to_timeout: The skipped_due_to_timeout of this ApiRangerReplicationResult.  # noqa: E501
        :type: int
        """

        self._skipped_due_to_timeout = skipped_due_to_timeout

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


        :return: The audit_log_replication_result of this ApiRangerReplicationResult.  # noqa: E501
        :rtype: ApiHdfsReplicationResult
        """
        return self._audit_log_replication_result

    @audit_log_replication_result.setter
    def audit_log_replication_result(self, audit_log_replication_result):
        """Sets the audit_log_replication_result of this ApiRangerReplicationResult.


        :param audit_log_replication_result: The audit_log_replication_result of this ApiRangerReplicationResult.  # noqa: E501
        :type: ApiHdfsReplicationResult
        """

        self._audit_log_replication_result = audit_log_replication_result

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

        for attr, _ in six.iteritems(self.swagger_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
        if issubclass(ApiRangerReplicationResult, dict):
            for key, value in self.items():
                result[key] = 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, ApiRangerReplicationResult):
            return False

        return self.__dict__ == other.__dict__

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