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 @ 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_vision.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_DETECTION", "TABLE_DETECTION", "KEY_VALUE_DETECTION", "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)�feature_type�max_results�model_id�featureType� maxResults�modelIdN�DOCUMENT_CLASSIFICATION)� swagger_types� attribute_map� _feature_type�_max_results� _model_id)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/ai_vision/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 5 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 A 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 M 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 Y s c C s t | �S �N)r r r r r �__repr__e s z&DocumentClassificationFeature.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__h s z$DocumentClassificationFeature.__eq__c C s | |k S r r r"