# 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.item_processing_record import ItemProcessingRecord

class TestItemProcessingRecord(unittest.TestCase):
    """ItemProcessingRecord unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ItemProcessingRecord:
        """Test ItemProcessingRecord
            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 `ItemProcessingRecord`
        """
        model = ItemProcessingRecord()
        if include_optional:
            return ItemProcessingRecord(
                errors = [
                    pinterestsdk.models.item_validation_event.ItemValidationEvent(
                        attribute = 'title', 
                        code = 106, 
                        message = 'Title is missing from product metadata.', )
                    ],
                item_id = 'DS0294-M',
                status = 'SUCCESS',
                warnings = [
                    pinterestsdk.models.item_validation_event.ItemValidationEvent(
                        attribute = 'title', 
                        code = 106, 
                        message = 'Title is missing from product metadata.', )
                    ]
            )
        else:
            return ItemProcessingRecord(
        )
        """

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

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