# coding: utf-8

"""
    Marketing API v.1.0

    IMPORTANT: This swagger links to Criteo production environment. Any test applied here will thus impact real campaigns.  # noqa: E501

    The version of the OpenAPI document: v.1.0
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six


class SellerBudgetMessage(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'id': 'str',
        'seller_id': 'str',
        'campaign_ids': 'list[int]',
        'budget_type': 'str',
        'amount': 'float',
        'start_date': 'datetime',
        'end_date': 'str',
        'spend': 'float',
        'status': 'str',
        'is_suspended': 'bool'
    }

    attribute_map = {
        'id': 'id',
        'seller_id': 'sellerId',
        'campaign_ids': 'campaignIds',
        'budget_type': 'budgetType',
        'amount': 'amount',
        'start_date': 'startDate',
        'end_date': 'endDate',
        'spend': 'spend',
        'status': 'status',
        'is_suspended': 'isSuspended'
    }

    def __init__(self, id=None, seller_id=None, campaign_ids=None, budget_type=None, amount=None, start_date=None, end_date=None, spend=None, status=None, is_suspended=None):  # noqa: E501
        """SellerBudgetMessage - a model defined in OpenAPI"""  # noqa: E501

        self._id = None
        self._seller_id = None
        self._campaign_ids = None
        self._budget_type = None
        self._amount = None
        self._start_date = None
        self._end_date = None
        self._spend = None
        self._status = None
        self._is_suspended = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if seller_id is not None:
            self.seller_id = seller_id
        if campaign_ids is not None:
            self.campaign_ids = campaign_ids
        if budget_type is not None:
            self.budget_type = budget_type
        if amount is not None:
            self.amount = amount
        if start_date is not None:
            self.start_date = start_date
        if end_date is not None:
            self.end_date = end_date
        if spend is not None:
            self.spend = spend
        if status is not None:
            self.status = status
        if is_suspended is not None:
            self.is_suspended = is_suspended

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


        :return: The id of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this SellerBudgetMessage.


        :param id: The id of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._id = id

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


        :return: The seller_id of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._seller_id

    @seller_id.setter
    def seller_id(self, seller_id):
        """Sets the seller_id of this SellerBudgetMessage.


        :param seller_id: The seller_id of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._seller_id = seller_id

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


        :return: The campaign_ids of this SellerBudgetMessage.  # noqa: E501
        :rtype: list[int]
        """
        return self._campaign_ids

    @campaign_ids.setter
    def campaign_ids(self, campaign_ids):
        """Sets the campaign_ids of this SellerBudgetMessage.


        :param campaign_ids: The campaign_ids of this SellerBudgetMessage.  # noqa: E501
        :type: list[int]
        """

        self._campaign_ids = campaign_ids

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


        :return: The budget_type of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._budget_type

    @budget_type.setter
    def budget_type(self, budget_type):
        """Sets the budget_type of this SellerBudgetMessage.


        :param budget_type: The budget_type of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._budget_type = budget_type

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


        :return: The amount of this SellerBudgetMessage.  # noqa: E501
        :rtype: float
        """
        return self._amount

    @amount.setter
    def amount(self, amount):
        """Sets the amount of this SellerBudgetMessage.


        :param amount: The amount of this SellerBudgetMessage.  # noqa: E501
        :type: float
        """

        self._amount = amount

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


        :return: The start_date of this SellerBudgetMessage.  # noqa: E501
        :rtype: datetime
        """
        return self._start_date

    @start_date.setter
    def start_date(self, start_date):
        """Sets the start_date of this SellerBudgetMessage.


        :param start_date: The start_date of this SellerBudgetMessage.  # noqa: E501
        :type: datetime
        """

        self._start_date = start_date

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


        :return: The end_date of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._end_date

    @end_date.setter
    def end_date(self, end_date):
        """Sets the end_date of this SellerBudgetMessage.


        :param end_date: The end_date of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._end_date = end_date

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


        :return: The spend of this SellerBudgetMessage.  # noqa: E501
        :rtype: float
        """
        return self._spend

    @spend.setter
    def spend(self, spend):
        """Sets the spend of this SellerBudgetMessage.


        :param spend: The spend of this SellerBudgetMessage.  # noqa: E501
        :type: float
        """

        self._spend = spend

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


        :return: The status of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this SellerBudgetMessage.


        :param status: The status of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._status = status

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


        :return: The is_suspended of this SellerBudgetMessage.  # noqa: E501
        :rtype: bool
        """
        return self._is_suspended

    @is_suspended.setter
    def is_suspended(self, is_suspended):
        """Sets the is_suspended of this SellerBudgetMessage.


        :param is_suspended: The is_suspended of this SellerBudgetMessage.  # noqa: E501
        :type: bool
        """

        self._is_suspended = is_suspended

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

        for attr, _ in six.iteritems(self.openapi_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

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

        return self.__dict__ == other.__dict__

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

# coding: utf-8

"""
    Marketing API v.1.0

    IMPORTANT: This swagger links to Criteo production environment. Any test applied here will thus impact real campaigns.  # noqa: E501

    The version of the OpenAPI document: v.1.0
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six


class SellerBudgetMessage(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'id': 'str',
        'seller_id': 'str',
        'campaign_ids': 'list[int]',
        'budget_type': 'str',
        'amount': 'float',
        'start_date': 'datetime',
        'end_date': 'str',
        'spend': 'float',
        'status': 'str',
        'is_suspended': 'bool'
    }

    attribute_map = {
        'id': 'id',
        'seller_id': 'sellerId',
        'campaign_ids': 'campaignIds',
        'budget_type': 'budgetType',
        'amount': 'amount',
        'start_date': 'startDate',
        'end_date': 'endDate',
        'spend': 'spend',
        'status': 'status',
        'is_suspended': 'isSuspended'
    }

    def __init__(self, id=None, seller_id=None, campaign_ids=None, budget_type=None, amount=None, start_date=None, end_date=None, spend=None, status=None, is_suspended=None):  # noqa: E501
        """SellerBudgetMessage - a model defined in OpenAPI"""  # noqa: E501

        self._id = None
        self._seller_id = None
        self._campaign_ids = None
        self._budget_type = None
        self._amount = None
        self._start_date = None
        self._end_date = None
        self._spend = None
        self._status = None
        self._is_suspended = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if seller_id is not None:
            self.seller_id = seller_id
        if campaign_ids is not None:
            self.campaign_ids = campaign_ids
        if budget_type is not None:
            self.budget_type = budget_type
        if amount is not None:
            self.amount = amount
        if start_date is not None:
            self.start_date = start_date
        if end_date is not None:
            self.end_date = end_date
        if spend is not None:
            self.spend = spend
        if status is not None:
            self.status = status
        if is_suspended is not None:
            self.is_suspended = is_suspended

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


        :return: The id of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this SellerBudgetMessage.


        :param id: The id of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._id = id

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


        :return: The seller_id of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._seller_id

    @seller_id.setter
    def seller_id(self, seller_id):
        """Sets the seller_id of this SellerBudgetMessage.


        :param seller_id: The seller_id of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._seller_id = seller_id

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


        :return: The campaign_ids of this SellerBudgetMessage.  # noqa: E501
        :rtype: list[int]
        """
        return self._campaign_ids

    @campaign_ids.setter
    def campaign_ids(self, campaign_ids):
        """Sets the campaign_ids of this SellerBudgetMessage.


        :param campaign_ids: The campaign_ids of this SellerBudgetMessage.  # noqa: E501
        :type: list[int]
        """

        self._campaign_ids = campaign_ids

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


        :return: The budget_type of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._budget_type

    @budget_type.setter
    def budget_type(self, budget_type):
        """Sets the budget_type of this SellerBudgetMessage.


        :param budget_type: The budget_type of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._budget_type = budget_type

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


        :return: The amount of this SellerBudgetMessage.  # noqa: E501
        :rtype: float
        """
        return self._amount

    @amount.setter
    def amount(self, amount):
        """Sets the amount of this SellerBudgetMessage.


        :param amount: The amount of this SellerBudgetMessage.  # noqa: E501
        :type: float
        """

        self._amount = amount

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


        :return: The start_date of this SellerBudgetMessage.  # noqa: E501
        :rtype: datetime
        """
        return self._start_date

    @start_date.setter
    def start_date(self, start_date):
        """Sets the start_date of this SellerBudgetMessage.


        :param start_date: The start_date of this SellerBudgetMessage.  # noqa: E501
        :type: datetime
        """

        self._start_date = start_date

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


        :return: The end_date of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._end_date

    @end_date.setter
    def end_date(self, end_date):
        """Sets the end_date of this SellerBudgetMessage.


        :param end_date: The end_date of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._end_date = end_date

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


        :return: The spend of this SellerBudgetMessage.  # noqa: E501
        :rtype: float
        """
        return self._spend

    @spend.setter
    def spend(self, spend):
        """Sets the spend of this SellerBudgetMessage.


        :param spend: The spend of this SellerBudgetMessage.  # noqa: E501
        :type: float
        """

        self._spend = spend

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


        :return: The status of this SellerBudgetMessage.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this SellerBudgetMessage.


        :param status: The status of this SellerBudgetMessage.  # noqa: E501
        :type: str
        """

        self._status = status

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


        :return: The is_suspended of this SellerBudgetMessage.  # noqa: E501
        :rtype: bool
        """
        return self._is_suspended

    @is_suspended.setter
    def is_suspended(self, is_suspended):
        """Sets the is_suspended of this SellerBudgetMessage.


        :param is_suspended: The is_suspended of this SellerBudgetMessage.  # noqa: E501
        :type: bool
        """

        self._is_suspended = is_suspended

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

        for attr, _ in six.iteritems(self.openapi_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

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

        return self.__dict__ == other.__dict__

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

# coding: utf-8 Marketing API v.1.0      IMPORTANT: This swagger links to Criteo production environment. Any test applied here will thus impact real campaigns.  # noqa: E501      The version of the OpenAPI document: v.1.0     Generated by: https://openapi-generator.tech # noqa: F401 NOTE: This class is auto generated by OpenAPI Generator.     Ref: https://openapi-generator.tech      Do not edit the class manually. Attributes:       openapi_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. # noqa: E501 SellerBudgetMessage - a model defined in OpenAPI # noqa: E501 Gets the id of this SellerBudgetMessage.  # noqa: E501           :return: The id of this SellerBudgetMessage.  # noqa: E501         :rtype: str Sets the id of this SellerBudgetMessage.           :param id: The id of this SellerBudgetMessage.  # noqa: E501         :type: str Gets the seller_id of this SellerBudgetMessage.  # noqa: E501           :return: The seller_id of this SellerBudgetMessage.  # noqa: E501         :rtype: str Sets the seller_id of this SellerBudgetMessage.           :param seller_id: The seller_id of this SellerBudgetMessage.  # noqa: E501         :type: str Gets the campaign_ids of this SellerBudgetMessage.  # noqa: E501           :return: The campaign_ids of this SellerBudgetMessage.  # noqa: E501         :rtype: list[int] Sets the campaign_ids of this SellerBudgetMessage.           :param campaign_ids: The campaign_ids of this SellerBudgetMessage.  # noqa: E501         :type: list[int] Gets the budget_type of this SellerBudgetMessage.  # noqa: E501           :return: The budget_type of this SellerBudgetMessage.  # noqa: E501         :rtype: str Sets the budget_type of this SellerBudgetMessage.           :param budget_type: The budget_type of this SellerBudgetMessage.  # noqa: E501         :type: str Gets the amount of this SellerBudgetMessage.  # noqa: E501           :return: The amount of this SellerBudgetMessage.  # noqa: E501         :rtype: float Sets the amount of this SellerBudgetMessage.           :param amount: The amount of this SellerBudgetMessage.  # noqa: E501         :type: float Gets the start_date of this SellerBudgetMessage.  # noqa: E501           :return: The start_date of this SellerBudgetMessage.  # noqa: E501         :rtype: datetime Sets the start_date of this SellerBudgetMessage.           :param start_date: The start_date of this SellerBudgetMessage.  # noqa: E501         :type: datetime Gets the end_date of this SellerBudgetMessage.  # noqa: E501           :return: The end_date of this SellerBudgetMessage.  # noqa: E501         :rtype: str Sets the end_date of this SellerBudgetMessage.           :param end_date: The end_date of this SellerBudgetMessage.  # noqa: E501         :type: str Gets the spend of this SellerBudgetMessage.  # noqa: E501           :return: The spend of this SellerBudgetMessage.  # noqa: E501         :rtype: float Sets the spend of this SellerBudgetMessage.           :param spend: The spend of this SellerBudgetMessage.  # noqa: E501         :type: float Gets the status of this SellerBudgetMessage.  # noqa: E501           :return: The status of this SellerBudgetMessage.  # noqa: E501         :rtype: str Sets the status of this SellerBudgetMessage.           :param status: The status of this SellerBudgetMessage.  # noqa: E501         :type: str Gets the is_suspended of this SellerBudgetMessage.  # noqa: E501           :return: The is_suspended of this SellerBudgetMessage.  # noqa: E501         :rtype: bool Sets the is_suspended of this SellerBudgetMessage.           :param is_suspended: The is_suspended of this SellerBudgetMessage.  # noqa: E501         :type: bool Returns the model properties as a dict Returns the string representation of the model For `print` and `pprint` Returns true if both objects are equal Returns true if both objects are not equal