# 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.event_quality_score import EventQualityScore

class TestEventQualityScore(unittest.TestCase):
    """EventQualityScore unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> EventQualityScore:
        """Test EventQualityScore
            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 `EventQualityScore`
        """
        model = EventQualityScore()
        if include_optional:
            return EventQualityScore(
                ingestion_source = 'TAG',
                lookback_period = '1d',
                overall_status = 'NEEDS_IMPROVEMENT',
                quality_components = pinterestsdk.models.quality_components.QualityComponents(
                    advertiser_external_id = {
                        'key' : pinterestsdk.models.quality_component_details.QualityComponentDetails(
                            coverage = 1.337, 
                            issues = [
                                pinterestsdk.models.quality_component_issue.QualityComponentIssue(
                                    id = '', 
                                    name = '', 
                                    reason = '', )
                                ], 
                            overlap = 1.337, )
                        }, 
                    click_id_epik = {
                        'key' : pinterestsdk.models.quality_component_details.QualityComponentDetails(
                            coverage = 1.337, 
                            overlap = 1.337, )
                        }, 
                    external_event_id = {
                        'key' : 
                        }, 
                    hashed_email = {
                        'key' : 
                        }, 
                    hashed_maid = {
                        'key' : 
                        }, 
                    ip_address = {
                        'key' : 
                        }, 
                    order_id = {
                        'key' : 
                        }, 
                    order_value = {
                        'key' : 
                        }, 
                    product_id = {
                        'key' : 
                        }, 
                    source_url = {
                        'key' : 
                        }, 
                    user_agent = {
                        'key' : 
                        }, ),
                source_platform = 'WEB'
            )
        else:
            return EventQualityScore(
                ingestion_source = 'TAG',
                lookback_period = '1d',
                overall_status = 'NEEDS_IMPROVEMENT',
                quality_components = pinterestsdk.models.quality_components.QualityComponents(
                    advertiser_external_id = {
                        'key' : pinterestsdk.models.quality_component_details.QualityComponentDetails(
                            coverage = 1.337, 
                            issues = [
                                pinterestsdk.models.quality_component_issue.QualityComponentIssue(
                                    id = '', 
                                    name = '', 
                                    reason = '', )
                                ], 
                            overlap = 1.337, )
                        }, 
                    click_id_epik = {
                        'key' : pinterestsdk.models.quality_component_details.QualityComponentDetails(
                            coverage = 1.337, 
                            overlap = 1.337, )
                        }, 
                    external_event_id = {
                        'key' : 
                        }, 
                    hashed_email = {
                        'key' : 
                        }, 
                    hashed_maid = {
                        'key' : 
                        }, 
                    ip_address = {
                        'key' : 
                        }, 
                    order_id = {
                        'key' : 
                        }, 
                    order_value = {
                        'key' : 
                        }, 
                    product_id = {
                        'key' : 
                        }, 
                    source_url = {
                        'key' : 
                        }, 
                    user_agent = {
                        'key' : 
                        }, ),
                source_platform = 'WEB',
        )
        """

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

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