# coding: utf-8

"""
    Memsource REST API

    Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis-qa-with-the-memsource-api-team/).    If you have any questions, please contact [Memsource Support](<mailto:support@memsource.com>).  # noqa: E501

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


import pprint
import re  # noqa: F401

import six


class ImportResponse(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 = {
        'accepted_segments_count': 'int',
        'created_segments_count': 'int',
        'updated_segments_count': 'int',
        'skipped_segments_count': 'int',
        'empty': 'bool'
    }

    attribute_map = {
        'accepted_segments_count': 'acceptedSegmentsCount',
        'created_segments_count': 'createdSegmentsCount',
        'updated_segments_count': 'updatedSegmentsCount',
        'skipped_segments_count': 'skippedSegmentsCount',
        'empty': 'empty'
    }

    def __init__(self, accepted_segments_count=None, created_segments_count=None, updated_segments_count=None, skipped_segments_count=None, empty=None):  # noqa: E501
        """ImportResponse - a model defined in Swagger"""  # noqa: E501

        self._accepted_segments_count = None
        self._created_segments_count = None
        self._updated_segments_count = None
        self._skipped_segments_count = None
        self._empty = None
        self.discriminator = None

        if accepted_segments_count is not None:
            self.accepted_segments_count = accepted_segments_count
        if created_segments_count is not None:
            self.created_segments_count = created_segments_count
        if updated_segments_count is not None:
            self.updated_segments_count = updated_segments_count
        if skipped_segments_count is not None:
            self.skipped_segments_count = skipped_segments_count
        if empty is not None:
            self.empty = empty

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


        :return: The accepted_segments_count of this ImportResponse.  # noqa: E501
        :rtype: int
        """
        return self._accepted_segments_count

    @accepted_segments_count.setter
    def accepted_segments_count(self, accepted_segments_count):
        """Sets the accepted_segments_count of this ImportResponse.


        :param accepted_segments_count: The accepted_segments_count of this ImportResponse.  # noqa: E501
        :type: int
        """

        self._accepted_segments_count = accepted_segments_count

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


        :return: The created_segments_count of this ImportResponse.  # noqa: E501
        :rtype: int
        """
        return self._created_segments_count

    @created_segments_count.setter
    def created_segments_count(self, created_segments_count):
        """Sets the created_segments_count of this ImportResponse.


        :param created_segments_count: The created_segments_count of this ImportResponse.  # noqa: E501
        :type: int
        """

        self._created_segments_count = created_segments_count

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


        :return: The updated_segments_count of this ImportResponse.  # noqa: E501
        :rtype: int
        """
        return self._updated_segments_count

    @updated_segments_count.setter
    def updated_segments_count(self, updated_segments_count):
        """Sets the updated_segments_count of this ImportResponse.


        :param updated_segments_count: The updated_segments_count of this ImportResponse.  # noqa: E501
        :type: int
        """

        self._updated_segments_count = updated_segments_count

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


        :return: The skipped_segments_count of this ImportResponse.  # noqa: E501
        :rtype: int
        """
        return self._skipped_segments_count

    @skipped_segments_count.setter
    def skipped_segments_count(self, skipped_segments_count):
        """Sets the skipped_segments_count of this ImportResponse.


        :param skipped_segments_count: The skipped_segments_count of this ImportResponse.  # noqa: E501
        :type: int
        """

        self._skipped_segments_count = skipped_segments_count

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


        :return: The empty of this ImportResponse.  # noqa: E501
        :rtype: bool
        """
        return self._empty

    @empty.setter
    def empty(self, empty):
        """Sets the empty of this ImportResponse.


        :param empty: The empty of this ImportResponse.  # noqa: E501
        :type: bool
        """

        self._empty = empty

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

        return self.__dict__ == other.__dict__

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