# coding: utf-8

"""
    Docling Serve

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from yfkm3_services_parse_client.models.convert_documents_request_options import ConvertDocumentsRequestOptions

class TestConvertDocumentsRequestOptions(unittest.TestCase):
    """ConvertDocumentsRequestOptions unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ConvertDocumentsRequestOptions:
        """Test ConvertDocumentsRequestOptions
            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 `ConvertDocumentsRequestOptions`
        """
        model = ConvertDocumentsRequestOptions()
        if include_optional:
            return ConvertDocumentsRequestOptions(
                from_formats = [
                    'docx'
                    ],
                to_formats = [
                    'md'
                    ],
                image_export_mode = 'placeholder',
                do_ocr = True,
                force_ocr = True,
                ocr_engine = 'auto',
                ocr_lang = [
                    ''
                    ],
                ocr_preset = 'auto',
                ocr_custom_config = { },
                pdf_backend = 'pypdfium2',
                table_mode = 'fast',
                table_cell_matching = True,
                pipeline = 'legacy',
                page_range = None,
                document_timeout = 0.0,
                abort_on_error = True,
                do_table_structure = True,
                include_images = True,
                images_scale = 1.337,
                md_page_break_placeholder = '',
                do_code_enrichment = True,
                do_formula_enrichment = True,
                do_picture_classification = True,
                do_chart_extraction = True,
                do_picture_description = True,
                picture_description_area_threshold = 1.337,
                picture_description_local = yfkm3_services_parse_client.models.picture_description_local.PictureDescriptionLocal(
                    repo_id = '', 
                    prompt = 'Describe this image in a few sentences.', 
                    generation_config = { }, 
                    classification_allow = [
                        'bar_chart'
                        ], 
                    classification_deny = [
                        'bar_chart'
                        ], 
                    classification_min_confidence = 0.0, ),
                picture_description_api = yfkm3_services_parse_client.models.picture_description_api.PictureDescriptionApi(
                    url = '0', 
                    headers = {
                        'key' : ''
                        }, 
                    params = { }, 
                    timeout = 1.337, 
                    concurrency = 0.0, 
                    prompt = 'Describe this image in a few sentences.', 
                    classification_allow = [
                        'bar_chart'
                        ], 
                    classification_deny = [
                        'bar_chart'
                        ], 
                    classification_min_confidence = 0.0, ),
                vlm_pipeline_model = 'smoldocling',
                vlm_pipeline_model_local = yfkm3_services_parse_client.models.vlm_model_local.VlmModelLocal(
                    repo_id = '', 
                    prompt = 'Convert this page to docling.', 
                    scale = 1.337, 
                    response_format = null, 
                    inference_framework = null, 
                    transformers_model_type = null, 
                    extra_generation_config = { }, 
                    temperature = 1.337, ),
                vlm_pipeline_model_api = yfkm3_services_parse_client.models.vlm_model_api.VlmModelApi(
                    url = '0', 
                    headers = {
                        'key' : ''
                        }, 
                    params = { }, 
                    timeout = 1.337, 
                    concurrency = 0.0, 
                    prompt = 'Convert this page to docling.', 
                    scale = 1.337, 
                    response_format = null, 
                    temperature = 1.337, ),
                vlm_pipeline_preset = '',
                picture_description_preset = '',
                code_formula_preset = '',
                vlm_pipeline_custom_config = None,
                picture_description_custom_config = None,
                code_formula_custom_config = None,
                table_structure_preset = '',
                table_structure_custom_config = { },
                layout_custom_config = { },
                layout_preset = '',
                picture_classification_preset = '',
                picture_classification_custom_config = { },
                provider = 'auto',
                chunk = True
            )
        else:
            return ConvertDocumentsRequestOptions(
        )
        """

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

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