# coding: utf-8

"""
    Flip API

    Flip  # noqa: E501

    The version of the OpenAPI document: 3.1
    Contact: cloudsupport@telestream.net
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import telestream_cloud_flip
from telestream_cloud_flip.models.paginated_factory_collection import PaginatedFactoryCollection  # noqa: E501
from telestream_cloud_flip.rest import ApiException

class TestPaginatedFactoryCollection(unittest.TestCase):
    """PaginatedFactoryCollection unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test PaginatedFactoryCollection
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = telestream_cloud_flip.models.paginated_factory_collection.PaginatedFactoryCollection()  # noqa: E501
        if include_optional :
            return PaginatedFactoryCollection(
                factories = [
                    telestream_cloud_flip.models.factory.Factory(
                        id = '0', 
                        name = '0', 
                        created_at = '0', 
                        updated_at = '0', 
                        url = '0', 
                        server_side_encryption = True, 
                        outputs_path_format = '0', 
                        store_id = '0', )
                    ], 
                page = 56, 
                per_page = 56, 
                total = 56
            )
        else :
            return PaginatedFactoryCollection(
        )

    def testPaginatedFactoryCollection(self):
        """Test PaginatedFactoryCollection"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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