# 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.integrations_get_list200_response import IntegrationsGetList200Response

class TestIntegrationsGetList200Response(unittest.TestCase):
    """IntegrationsGetList200Response unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> IntegrationsGetList200Response:
        """Test IntegrationsGetList200Response
            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 `IntegrationsGetList200Response`
        """
        model = IntegrationsGetList200Response()
        if include_optional:
            return IntegrationsGetList200Response(
                bookmark = '',
                items = [
                    {"id":"7329123456789012345","external_business_id":"1234567890","connected_merchant_id":"1234567890123","connected_user_id":"123456789012345678","connected_advertiser_id":"123456789012","connected_lba_id":"871234567890123456","connected_tag_id":"2412345678901","partner_access_token":"ABCLUOJS5XDMWDE","partner_refresh_token":"ABCLUOJS5XDMWDE","partner_primary_email":"partner@server.com","partner_access_token_expiry":1621350033000,"partner_refresh_token_expiry":1621350033000,"scopes":"accounts:read","partner_metadata":"","additional_id_1":"123456","created_time":1621350033000,"updated_time":1621350033000}
                    ]
            )
        else:
            return IntegrationsGetList200Response(
                items = [
                    {"id":"7329123456789012345","external_business_id":"1234567890","connected_merchant_id":"1234567890123","connected_user_id":"123456789012345678","connected_advertiser_id":"123456789012","connected_lba_id":"871234567890123456","connected_tag_id":"2412345678901","partner_access_token":"ABCLUOJS5XDMWDE","partner_refresh_token":"ABCLUOJS5XDMWDE","partner_primary_email":"partner@server.com","partner_access_token_expiry":1621350033000,"partner_refresh_token_expiry":1621350033000,"scopes":"accounts:read","partner_metadata":"","additional_id_1":"123456","created_time":1621350033000,"updated_time":1621350033000}
                    ],
        )
        """

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

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