# coding: utf-8

"""
    Pinterest REST API

    Pinterest's REST API

    The version of the OpenAPI document: 5.23.0
    Contact: blah+oapicf@cliffano.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from pinterestsdk.models.advanced_auction_items_submit_upsert_record import AdvancedAuctionItemsSubmitUpsertRecord

class TestAdvancedAuctionItemsSubmitUpsertRecord(unittest.TestCase):
    """AdvancedAuctionItemsSubmitUpsertRecord unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> AdvancedAuctionItemsSubmitUpsertRecord:
        """Test AdvancedAuctionItemsSubmitUpsertRecord
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `AdvancedAuctionItemsSubmitUpsertRecord`
        """
        model = AdvancedAuctionItemsSubmitUpsertRecord()
        if include_optional:
            return AdvancedAuctionItemsSubmitUpsertRecord(
                country = 'AD',
                item_id = 'DS0294-M',
                language = 'EN',
                bid_options = pinterestsdk.models.advanced_auction_bid_options.AdvancedAuctionBidOptions(
                    app_type_multipliers = {"android_mobile":1.1,"android_tablet":1.1,"ipad":1.2,"iphone":1.2,"web":0.9,"web_mobile":0.8}, 
                    bid_in_micro_currency = 5000000, 
                    placement_multipliers = {"browse":0.9,"search":1.2,"related_pins":1.1}, ),
                errors = [
                    pinterestsdk.models.advanced_auction_operation_error.AdvancedAuctionOperationError(
                        code = 6, 
                        message = 'Bid in micro currency should be non-negative', )
                    ],
                update_mask = ["BID","APP_TYPE_BID_MULTIPLIER_SET"]
            )
        else:
            return AdvancedAuctionItemsSubmitUpsertRecord(
                country = 'AD',
                item_id = 'DS0294-M',
                language = 'EN',
                bid_options = pinterestsdk.models.advanced_auction_bid_options.AdvancedAuctionBidOptions(
                    app_type_multipliers = {"android_mobile":1.1,"android_tablet":1.1,"ipad":1.2,"iphone":1.2,"web":0.9,"web_mobile":0.8}, 
                    bid_in_micro_currency = 5000000, 
                    placement_multipliers = {"browse":0.9,"search":1.2,"related_pins":1.1}, ),
                update_mask = ["BID","APP_TYPE_BID_MULTIPLIER_SET"],
        )
        """

    def testAdvancedAuctionItemsSubmitUpsertRecord(self):
        """Test AdvancedAuctionItemsSubmitUpsertRecord"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
