ruạṛ
a M��f= � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DocumentFeature� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�DocumentTextExtractionFeaturez Text recognition c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new DocumentTextExtractionFeature object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_document.models.DocumentTextExtractionFeature.feature_type` attribute of this class is ``TEXT_EXTRACTION`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param feature_type: The value to assign to the feature_type property of this DocumentTextExtractionFeature. Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION" :type feature_type: str :param generate_searchable_pdf: The value to assign to the generate_searchable_pdf property of this DocumentTextExtractionFeature. :type generate_searchable_pdf: bool �str�bool)�feature_type�generate_searchable_pdf�featureType�generateSearchablePdfN�TEXT_EXTRACTION)� swagger_types� attribute_map� _feature_type�_generate_searchable_pdf)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/ai_document/models/document_text_extraction_feature.py�__init__ s ��z&DocumentTextExtractionFeature.__init__c C s | j S )z� Gets the generate_searchable_pdf of this DocumentTextExtractionFeature. Whether or not to generate a searchable PDF file. :return: The generate_searchable_pdf of this DocumentTextExtractionFeature. :rtype: bool �r �r r r r r . s z5DocumentTextExtractionFeature.generate_searchable_pdfc C s || _ dS )a Sets the generate_searchable_pdf of this DocumentTextExtractionFeature. Whether or not to generate a searchable PDF file. :param generate_searchable_pdf: The generate_searchable_pdf of this DocumentTextExtractionFeature. :type: bool Nr )r r r r r r : s c C s t | �S �N)r r r r r �__repr__F s z&DocumentTextExtractionFeature.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__I s z$DocumentTextExtractionFeature.__eq__c C s | |k S r r r r r r �__ne__O s z$DocumentTextExtractionFeature.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r! r r r r r s r N) �document_featurer �oci.utilr r r �oci.decoratorsr r r r r r �<module> s
cải xoăn