# coding: utf-8

"""
    Quickpac API

    Here you will find all public interfaces to the Quickpac system.  # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class PickupMigrosCallbackResultResponse(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 = {
        'error_code_field': 'int',
        'error_detail_field': 'str',
        'error_message_field': 'str'
    }

    attribute_map = {
        'error_code_field': 'ErrorCodeField',
        'error_detail_field': 'ErrorDetailField',
        'error_message_field': 'ErrorMessageField'
    }

    def __init__(self, error_code_field=None, error_detail_field=None, error_message_field=None):  # noqa: E501
        """PickupMigrosCallbackResultResponse - a model defined in Swagger"""  # noqa: E501
        self._error_code_field = None
        self._error_detail_field = None
        self._error_message_field = None
        self.discriminator = None
        if error_code_field is not None:
            self.error_code_field = error_code_field
        if error_detail_field is not None:
            self.error_detail_field = error_detail_field
        if error_message_field is not None:
            self.error_message_field = error_message_field

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


        :return: The error_code_field of this PickupMigrosCallbackResultResponse.  # noqa: E501
        :rtype: int
        """
        return self._error_code_field

    @error_code_field.setter
    def error_code_field(self, error_code_field):
        """Sets the error_code_field of this PickupMigrosCallbackResultResponse.


        :param error_code_field: The error_code_field of this PickupMigrosCallbackResultResponse.  # noqa: E501
        :type: int
        """

        self._error_code_field = error_code_field

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


        :return: The error_detail_field of this PickupMigrosCallbackResultResponse.  # noqa: E501
        :rtype: str
        """
        return self._error_detail_field

    @error_detail_field.setter
    def error_detail_field(self, error_detail_field):
        """Sets the error_detail_field of this PickupMigrosCallbackResultResponse.


        :param error_detail_field: The error_detail_field of this PickupMigrosCallbackResultResponse.  # noqa: E501
        :type: str
        """

        self._error_detail_field = error_detail_field

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


        :return: The error_message_field of this PickupMigrosCallbackResultResponse.  # noqa: E501
        :rtype: str
        """
        return self._error_message_field

    @error_message_field.setter
    def error_message_field(self, error_message_field):
        """Sets the error_message_field of this PickupMigrosCallbackResultResponse.


        :param error_message_field: The error_message_field of this PickupMigrosCallbackResultResponse.  # noqa: E501
        :type: str
        """

        self._error_message_field = error_message_field

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

        return self.__dict__ == other.__dict__

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