ruạṛ
a ���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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�DocumentClassificationFeaturez( Identifying the document type. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a Initializes a new DocumentClassificationFeature object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_document.models.DocumentClassificationFeature.feature_type` attribute of this class is ``DOCUMENT_CLASSIFICATION`` 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 DocumentClassificationFeature. Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION" :type feature_type: str :param max_results: The value to assign to the max_results property of this DocumentClassificationFeature. :type max_results: int :param model_id: The value to assign to the model_id property of this DocumentClassificationFeature. :type model_id: str �str�int)Zfeature_type�max_results�model_idZfeatureTypeZ maxResultsZmodelIdNZDOCUMENT_CLASSIFICATION)Z swagger_typesZ attribute_mapZ _feature_type�_max_results� _model_id)�self�kwargs� r �Z/usr/lib/python3.9/site-packages/oci/ai_document/models/document_classification_feature.py�__init__ s ��z&DocumentClassificationFeature.__init__c C s | j S )z� Gets the max_results of this DocumentClassificationFeature. The maximum number of results to return. :return: The max_results of this DocumentClassificationFeature. :rtype: int �r �r r r r r 7 s z)DocumentClassificationFeature.max_resultsc C s || _ dS )z� Sets the max_results of this DocumentClassificationFeature. The maximum number of results to return. :param max_results: The max_results of this DocumentClassificationFeature. :type: int Nr )r r r r r r C s c C s | j S )z� Gets the model_id of this DocumentClassificationFeature. The custom model ID. :return: The model_id of this DocumentClassificationFeature. :rtype: str �r r r r r r O s z&DocumentClassificationFeature.model_idc C s || _ dS )z� Sets the model_id of this DocumentClassificationFeature. The custom model ID. :param model_id: The model_id of this DocumentClassificationFeature. :type: str Nr )r r r r r r [ s c C s t | �S �N)r r r r r �__repr__g s z&DocumentClassificationFeature.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s z$DocumentClassificationFeature.__eq__c C s | |k S r r r r r r �__ne__p s z$DocumentClassificationFeature.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zdocument_featurer Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn