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 )�DocumentTextDetectionFeaturez Text recognition c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new DocumentTextDetectionFeature object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_vision.models.DocumentTextDetectionFeature.feature_type` attribute of this class is ``TEXT_DETECTION`` 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 DocumentTextDetectionFeature. Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_DETECTION", "TABLE_DETECTION", "KEY_VALUE_DETECTION", "DOCUMENT_CLASSIFICATION" :type feature_type: str :param generate_searchable_pdf: The value to assign to the generate_searchable_pdf property of this DocumentTextDetectionFeature. :type generate_searchable_pdf: bool �str�bool)�feature_type�generate_searchable_pdf�featureType�generateSearchablePdfN�TEXT_DETECTION)� 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_vision/models/document_text_detection_feature.py�__init__ s ��z%DocumentTextDetectionFeature.__init__c C s | j S )z� Gets the generate_searchable_pdf of this DocumentTextDetectionFeature. Whether or not to generate a searchable PDF file. :return: The generate_searchable_pdf of this DocumentTextDetectionFeature. :rtype: bool �r �r r r r r . s z4DocumentTextDetectionFeature.generate_searchable_pdfc C s || _ dS )a Sets the generate_searchable_pdf of this DocumentTextDetectionFeature. Whether or not to generate a searchable PDF file. :param generate_searchable_pdf: The generate_searchable_pdf of this DocumentTextDetectionFeature. :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%DocumentTextDetectionFeature.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__I s z#DocumentTextDetectionFeature.__eq__c C s | |k S r r r r r r �__ne__O s z#DocumentTextDetectionFeature.__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