# 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.catalogs_hotel_items_batch import CatalogsHotelItemsBatch

class TestCatalogsHotelItemsBatch(unittest.TestCase):
    """CatalogsHotelItemsBatch unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> CatalogsHotelItemsBatch:
        """Test CatalogsHotelItemsBatch
            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 `CatalogsHotelItemsBatch`
        """
        model = CatalogsHotelItemsBatch()
        if include_optional:
            return CatalogsHotelItemsBatch(
                batch_id = '595953100599279259-66753b9bb65c46c49bd8503b27fecf9e',
                catalog_type = 'RETAIL',
                completed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                created_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                items = [
                    pinterestsdk.models.hotel_processing_record.HotelProcessingRecord(
                        errors = [
                            pinterestsdk.models.item_validation_event.ItemValidationEvent(
                                attribute = 'title', 
                                code = 106, 
                                message = 'Title is missing from product metadata.', )
                            ], 
                        hotel_id = 'DS0294-M', 
                        status = 'SUCCESS', 
                        warnings = [
                            pinterestsdk.models.item_validation_event.ItemValidationEvent(
                                attribute = 'title', 
                                code = 106, 
                                message = 'Title is missing from product metadata.', )
                            ], )
                    ],
                status = 'PROCESSING'
            )
        else:
            return CatalogsHotelItemsBatch(
                catalog_type = 'RETAIL',
        )
        """

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

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