# 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 ApiIcebergReplicationResult(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 = {
        'number_of_tables_processed': 'int',
        'number_of_files_copied': 'int',
        'number_of_files_deleted': 'int',
        'number_of_manifests_transformed': 'int',
        'failed': 'bool',
        'timestamp': 'str',
        'copy_metadata_job_details_uri': 'str',
        'copy_data_job_details_uri': 'str',
        'copy_delete_data_job_details_uri': 'str',
        'copy_metadata_job_id': 'str',
        'copy_data_job_id': 'str',
        'copy_delete_data_job_id': 'str',
        'peer_name': 'str',
        'peer_cluster_name': 'str'
    }

    attribute_map = {
        'number_of_tables_processed': 'numberOfTablesProcessed',
        'number_of_files_copied': 'numberOfFilesCopied',
        'number_of_files_deleted': 'numberOfFilesDeleted',
        'number_of_manifests_transformed': 'numberOfManifestsTransformed',
        'failed': 'failed',
        'timestamp': 'timestamp',
        'copy_metadata_job_details_uri': 'copyMetadataJobDetailsUri',
        'copy_data_job_details_uri': 'copyDataJobDetailsUri',
        'copy_delete_data_job_details_uri': 'copyDeleteDataJobDetailsUri',
        'copy_metadata_job_id': 'copyMetadataJobId',
        'copy_data_job_id': 'copyDataJobId',
        'copy_delete_data_job_id': 'copyDeleteDataJobId',
        'peer_name': 'peerName',
        'peer_cluster_name': 'peerClusterName'
    }

    def __init__(self, number_of_tables_processed=None, number_of_files_copied=None, number_of_files_deleted=None, number_of_manifests_transformed=None, failed=None, timestamp=None, copy_metadata_job_details_uri=None, copy_data_job_details_uri=None, copy_delete_data_job_details_uri=None, copy_metadata_job_id=None, copy_data_job_id=None, copy_delete_data_job_id=None, peer_name=None, peer_cluster_name=None):  # noqa: E501
        """ApiIcebergReplicationResult - a model defined in Swagger"""  # noqa: E501
        self._number_of_tables_processed = None
        self._number_of_files_copied = None
        self._number_of_files_deleted = None
        self._number_of_manifests_transformed = None
        self._failed = None
        self._timestamp = None
        self._copy_metadata_job_details_uri = None
        self._copy_data_job_details_uri = None
        self._copy_delete_data_job_details_uri = None
        self._copy_metadata_job_id = None
        self._copy_data_job_id = None
        self._copy_delete_data_job_id = None
        self._peer_name = None
        self._peer_cluster_name = None
        self.discriminator = None
        if number_of_tables_processed is not None:
            self.number_of_tables_processed = number_of_tables_processed
        if number_of_files_copied is not None:
            self.number_of_files_copied = number_of_files_copied
        if number_of_files_deleted is not None:
            self.number_of_files_deleted = number_of_files_deleted
        if number_of_manifests_transformed is not None:
            self.number_of_manifests_transformed = number_of_manifests_transformed
        if failed is not None:
            self.failed = failed
        if timestamp is not None:
            self.timestamp = timestamp
        if copy_metadata_job_details_uri is not None:
            self.copy_metadata_job_details_uri = copy_metadata_job_details_uri
        if copy_data_job_details_uri is not None:
            self.copy_data_job_details_uri = copy_data_job_details_uri
        if copy_delete_data_job_details_uri is not None:
            self.copy_delete_data_job_details_uri = copy_delete_data_job_details_uri
        if copy_metadata_job_id is not None:
            self.copy_metadata_job_id = copy_metadata_job_id
        if copy_data_job_id is not None:
            self.copy_data_job_id = copy_data_job_id
        if copy_delete_data_job_id is not None:
            self.copy_delete_data_job_id = copy_delete_data_job_id
        if peer_name is not None:
            self.peer_name = peer_name
        if peer_cluster_name is not None:
            self.peer_cluster_name = peer_cluster_name

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


        :return: The number_of_tables_processed of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._number_of_tables_processed

    @number_of_tables_processed.setter
    def number_of_tables_processed(self, number_of_tables_processed):
        """Sets the number_of_tables_processed of this ApiIcebergReplicationResult.


        :param number_of_tables_processed: The number_of_tables_processed of this ApiIcebergReplicationResult.  # noqa: E501
        :type: int
        """

        self._number_of_tables_processed = number_of_tables_processed

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


        :return: The number_of_files_copied of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._number_of_files_copied

    @number_of_files_copied.setter
    def number_of_files_copied(self, number_of_files_copied):
        """Sets the number_of_files_copied of this ApiIcebergReplicationResult.


        :param number_of_files_copied: The number_of_files_copied of this ApiIcebergReplicationResult.  # noqa: E501
        :type: int
        """

        self._number_of_files_copied = number_of_files_copied

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


        :return: The number_of_files_deleted of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._number_of_files_deleted

    @number_of_files_deleted.setter
    def number_of_files_deleted(self, number_of_files_deleted):
        """Sets the number_of_files_deleted of this ApiIcebergReplicationResult.


        :param number_of_files_deleted: The number_of_files_deleted of this ApiIcebergReplicationResult.  # noqa: E501
        :type: int
        """

        self._number_of_files_deleted = number_of_files_deleted

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


        :return: The number_of_manifests_transformed of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: int
        """
        return self._number_of_manifests_transformed

    @number_of_manifests_transformed.setter
    def number_of_manifests_transformed(self, number_of_manifests_transformed):
        """Sets the number_of_manifests_transformed of this ApiIcebergReplicationResult.


        :param number_of_manifests_transformed: The number_of_manifests_transformed of this ApiIcebergReplicationResult.  # noqa: E501
        :type: int
        """

        self._number_of_manifests_transformed = number_of_manifests_transformed

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


        :return: The failed of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: bool
        """
        return self._failed

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


        :param failed: The failed of this ApiIcebergReplicationResult.  # noqa: E501
        :type: bool
        """

        self._failed = failed

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


        :return: The timestamp of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._timestamp

    @timestamp.setter
    def timestamp(self, timestamp):
        """Sets the timestamp of this ApiIcebergReplicationResult.


        :param timestamp: The timestamp of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._timestamp = timestamp

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


        :return: The copy_metadata_job_details_uri of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._copy_metadata_job_details_uri

    @copy_metadata_job_details_uri.setter
    def copy_metadata_job_details_uri(self, copy_metadata_job_details_uri):
        """Sets the copy_metadata_job_details_uri of this ApiIcebergReplicationResult.


        :param copy_metadata_job_details_uri: The copy_metadata_job_details_uri of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._copy_metadata_job_details_uri = copy_metadata_job_details_uri

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


        :return: The copy_data_job_details_uri of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._copy_data_job_details_uri

    @copy_data_job_details_uri.setter
    def copy_data_job_details_uri(self, copy_data_job_details_uri):
        """Sets the copy_data_job_details_uri of this ApiIcebergReplicationResult.


        :param copy_data_job_details_uri: The copy_data_job_details_uri of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._copy_data_job_details_uri = copy_data_job_details_uri

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


        :return: The copy_delete_data_job_details_uri of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._copy_delete_data_job_details_uri

    @copy_delete_data_job_details_uri.setter
    def copy_delete_data_job_details_uri(self, copy_delete_data_job_details_uri):
        """Sets the copy_delete_data_job_details_uri of this ApiIcebergReplicationResult.


        :param copy_delete_data_job_details_uri: The copy_delete_data_job_details_uri of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._copy_delete_data_job_details_uri = copy_delete_data_job_details_uri

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


        :return: The copy_metadata_job_id of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._copy_metadata_job_id

    @copy_metadata_job_id.setter
    def copy_metadata_job_id(self, copy_metadata_job_id):
        """Sets the copy_metadata_job_id of this ApiIcebergReplicationResult.


        :param copy_metadata_job_id: The copy_metadata_job_id of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._copy_metadata_job_id = copy_metadata_job_id

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


        :return: The copy_data_job_id of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._copy_data_job_id

    @copy_data_job_id.setter
    def copy_data_job_id(self, copy_data_job_id):
        """Sets the copy_data_job_id of this ApiIcebergReplicationResult.


        :param copy_data_job_id: The copy_data_job_id of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._copy_data_job_id = copy_data_job_id

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


        :return: The copy_delete_data_job_id of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._copy_delete_data_job_id

    @copy_delete_data_job_id.setter
    def copy_delete_data_job_id(self, copy_delete_data_job_id):
        """Sets the copy_delete_data_job_id of this ApiIcebergReplicationResult.


        :param copy_delete_data_job_id: The copy_delete_data_job_id of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._copy_delete_data_job_id = copy_delete_data_job_id

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


        :return: The peer_name of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._peer_name

    @peer_name.setter
    def peer_name(self, peer_name):
        """Sets the peer_name of this ApiIcebergReplicationResult.


        :param peer_name: The peer_name of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._peer_name = peer_name

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


        :return: The peer_cluster_name of this ApiIcebergReplicationResult.  # noqa: E501
        :rtype: str
        """
        return self._peer_cluster_name

    @peer_cluster_name.setter
    def peer_cluster_name(self, peer_cluster_name):
        """Sets the peer_cluster_name of this ApiIcebergReplicationResult.


        :param peer_cluster_name: The peer_cluster_name of this ApiIcebergReplicationResult.  # noqa: E501
        :type: str
        """

        self._peer_cluster_name = peer_cluster_name

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

        return self.__dict__ == other.__dict__

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