# coding: utf-8

"""
    Lotus API

    Lotus is an open-core pricing and billing engine. We enable API companies to automate and optimize their custom usage-based pricing for any metric.  # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class ConfirmIdemsReceivedRequestRequest(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 = {
        'idempotency_ids': 'list[str]',
        'number_days_lookback': 'int',
        'customer_id': 'str'
    }

    attribute_map = {
        'idempotency_ids': 'idempotency_ids',
        'number_days_lookback': 'number_days_lookback',
        'customer_id': 'customer_id'
    }

    def __init__(self, idempotency_ids=None, number_days_lookback=30, customer_id=None):  # noqa: E501
        """ConfirmIdemsReceivedRequestRequest - a model defined in Swagger"""  # noqa: E501
        self._idempotency_ids = None
        self._number_days_lookback = None
        self._customer_id = None
        self.discriminator = None
        self.idempotency_ids = idempotency_ids
        if number_days_lookback is not None:
            self.number_days_lookback = number_days_lookback
        if customer_id is not None:
            self.customer_id = customer_id

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


        :return: The idempotency_ids of this ConfirmIdemsReceivedRequestRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._idempotency_ids

    @idempotency_ids.setter
    def idempotency_ids(self, idempotency_ids):
        """Sets the idempotency_ids of this ConfirmIdemsReceivedRequestRequest.


        :param idempotency_ids: The idempotency_ids of this ConfirmIdemsReceivedRequestRequest.  # noqa: E501
        :type: list[str]
        """
        if idempotency_ids is None:
            raise ValueError("Invalid value for `idempotency_ids`, must not be `None`")  # noqa: E501

        self._idempotency_ids = idempotency_ids

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


        :return: The number_days_lookback of this ConfirmIdemsReceivedRequestRequest.  # noqa: E501
        :rtype: int
        """
        return self._number_days_lookback

    @number_days_lookback.setter
    def number_days_lookback(self, number_days_lookback):
        """Sets the number_days_lookback of this ConfirmIdemsReceivedRequestRequest.


        :param number_days_lookback: The number_days_lookback of this ConfirmIdemsReceivedRequestRequest.  # noqa: E501
        :type: int
        """

        self._number_days_lookback = number_days_lookback

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


        :return: The customer_id of this ConfirmIdemsReceivedRequestRequest.  # noqa: E501
        :rtype: str
        """
        return self._customer_id

    @customer_id.setter
    def customer_id(self, customer_id):
        """Sets the customer_id of this ConfirmIdemsReceivedRequestRequest.


        :param customer_id: The customer_id of this ConfirmIdemsReceivedRequestRequest.  # noqa: E501
        :type: str
        """

        self._customer_id = customer_id

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

        return self.__dict__ == other.__dict__

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