ruạṛ
a ���f-7 � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sN e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zd%d&� Zd'd(� Zd)d*� Zd+S ),�AnalyzeDocumentResultz( The document analysis results. c K s� dddddddddddd�| _ dd d ddd dddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new AnalyzeDocumentResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param document_metadata: The value to assign to the document_metadata property of this AnalyzeDocumentResult. :type document_metadata: oci.ai_document.models.DocumentMetadata :param pages: The value to assign to the pages property of this AnalyzeDocumentResult. :type pages: list[oci.ai_document.models.Page] :param detected_document_types: The value to assign to the detected_document_types property of this AnalyzeDocumentResult. :type detected_document_types: list[oci.ai_document.models.DetectedDocumentType] :param detected_languages: The value to assign to the detected_languages property of this AnalyzeDocumentResult. :type detected_languages: list[oci.ai_document.models.DetectedLanguage] :param document_classification_model_version: The value to assign to the document_classification_model_version property of this AnalyzeDocumentResult. :type document_classification_model_version: str :param language_classification_model_version: The value to assign to the language_classification_model_version property of this AnalyzeDocumentResult. :type language_classification_model_version: str :param text_extraction_model_version: The value to assign to the text_extraction_model_version property of this AnalyzeDocumentResult. :type text_extraction_model_version: str :param key_value_extraction_model_version: The value to assign to the key_value_extraction_model_version property of this AnalyzeDocumentResult. :type key_value_extraction_model_version: str :param table_extraction_model_version: The value to assign to the table_extraction_model_version property of this AnalyzeDocumentResult. :type table_extraction_model_version: str :param errors: The value to assign to the errors property of this AnalyzeDocumentResult. :type errors: list[oci.ai_document.models.ProcessingError] :param searchable_pdf: The value to assign to the searchable_pdf property of this AnalyzeDocumentResult. :type searchable_pdf: str ZDocumentMetadataz list[Page]zlist[DetectedDocumentType]zlist[DetectedLanguage]�strzlist[ProcessingError])�document_metadata�pages�detected_document_types�detected_languages�%document_classification_model_version�%language_classification_model_version�text_extraction_model_version�"key_value_extraction_model_version�table_extraction_model_version�errors�searchable_pdfZdocumentMetadatar ZdetectedDocumentTypesZdetectedLanguagesZ"documentClassificationModelVersionZ"languageClassificationModelVersionZtextExtractionModelVersionZkeyValueExtractionModelVersionZtableExtractionModelVersionr Z searchablePdfN) Z swagger_typesZ attribute_map�_document_metadata�_pages�_detected_document_types�_detected_languages�&_document_classification_model_version�&_language_classification_model_version�_text_extraction_model_version�#_key_value_extraction_model_version�_table_extraction_model_version�_errors�_searchable_pdf)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/ai_document/models/analyze_document_result.py�__init__ sF 3��zAnalyzeDocumentResult.__init__c C s | j S )z� **[Required]** Gets the document_metadata of this AnalyzeDocumentResult. :return: The document_metadata of this AnalyzeDocumentResult. :rtype: oci.ai_document.models.DocumentMetadata �r �r r r r! r l s z'AnalyzeDocumentResult.document_metadatac C s || _ dS )z� Sets the document_metadata of this AnalyzeDocumentResult. :param document_metadata: The document_metadata of this AnalyzeDocumentResult. :type: oci.ai_document.models.DocumentMetadata Nr# )r r r r r! r v s c C s | j S )z� **[Required]** Gets the pages of this AnalyzeDocumentResult. The array of a Page. :return: The pages of this AnalyzeDocumentResult. :rtype: list[oci.ai_document.models.Page] �r r$ r r r! r � s zAnalyzeDocumentResult.pagesc C s || _ dS )z� Sets the pages of this AnalyzeDocumentResult. The array of a Page. :param pages: The pages of this AnalyzeDocumentResult. :type: list[oci.ai_document.models.Page] Nr% )r r r r r! r � s c C s | j S )a Gets the detected_document_types of this AnalyzeDocumentResult. An array of detected document types. :return: The detected_document_types of this AnalyzeDocumentResult. :rtype: list[oci.ai_document.models.DetectedDocumentType] �r r$ r r r! r � s z-AnalyzeDocumentResult.detected_document_typesc C s || _ dS )a$ Sets the detected_document_types of this AnalyzeDocumentResult. An array of detected document types. :param detected_document_types: The detected_document_types of this AnalyzeDocumentResult. :type: list[oci.ai_document.models.DetectedDocumentType] Nr&