# 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.bid_floor_spec import BidFloorSpec

class TestBidFloorSpec(unittest.TestCase):
    """BidFloorSpec unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> BidFloorSpec:
        """Test BidFloorSpec
            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 `BidFloorSpec`
        """
        model = BidFloorSpec()
        if include_optional:
            return BidFloorSpec(
                billable_event = 'CLICKTHROUGH',
                countries = [
                    'AD'
                    ],
                creative_type = 'REGULAR',
                currency = 'UNK',
                objective_type = 'AWARENESS',
                optimization_goal_metadata = pinterestsdk.models.optimization_goal_metadata.OptimizationGoalMetadata(
                    conversion_tag_v3_goal_metadata = pinterestsdk.models.optimization_goal_metadata_conversion_tag_v3_goal_metadata.OptimizationGoalMetadata_conversion_tag_v3_goal_metadata(
                        attribution_windows = pinterestsdk.models.optimization_goal_metadata_conversion_tag_v3_goal_metadata_attribution_windows.OptimizationGoalMetadata_conversion_tag_v3_goal_metadata_attribution_windows(
                            click_window_days = 56, 
                            engagement_window_days = 56, 
                            view_window_days = 56, ), 
                        conversion_event = 'PAGE_VISIT', 
                        conversion_tag_id = '4', 
                        cpa_goal_value_in_micro_currency = '4', 
                        is_roas_optimized = True, 
                        learning_mode_type = 'ACTIVE', 
                        reporting_event = 'INITIATE_CHECKOUT', ), 
                    frequency_goal_metadata = pinterestsdk.models.optimization_goal_metadata_frequency_goal_metadata.OptimizationGoalMetadata_frequency_goal_metadata(
                        frequency = 2, 
                        timerange = 'DAY', ), 
                    scrollup_goal_metadata = pinterestsdk.models.optimization_goal_metadata_scrollup_goal_metadata.OptimizationGoalMetadata_scrollup_goal_metadata(
                        scrollup_goal_value_in_micro_currency = '4', ), )
            )
        else:
            return BidFloorSpec(
                billable_event = 'CLICKTHROUGH',
                currency = 'UNK',
        )
        """

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

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