ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ImageFeature� )�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 )�ImageClassificationFeaturez. The image classification parameters. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new ImageClassificationFeature object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_vision.models.ImageClassificationFeature.feature_type` attribute of this class is ``IMAGE_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 ImageClassificationFeature. Allowed values for this property are: "IMAGE_CLASSIFICATION", "OBJECT_DETECTION", "TEXT_DETECTION", "FACE_DETECTION" :type feature_type: str :param max_results: The value to assign to the max_results property of this ImageClassificationFeature. :type max_results: int :param model_id: The value to assign to the model_id property of this ImageClassificationFeature. :type model_id: str �str�int)Zfeature_type�max_results�model_idZfeatureTypeZ maxResultsZmodelIdNZIMAGE_CLASSIFICATION)Z swagger_typesZ attribute_mapZ _feature_type�_max_results� _model_id)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/ai_vision/models/image_classification_feature.py�__init__ s ��z#ImageClassificationFeature.__init__c C s | j S )z� Gets the max_results of this ImageClassificationFeature. The maximum number of results to return. :return: The max_results of this ImageClassificationFeature. :rtype: int �r �r r r r r 7 s z&ImageClassificationFeature.max_resultsc C s || _ dS )z� Sets the max_results of this ImageClassificationFeature. The maximum number of results to return. :param max_results: The max_results of this ImageClassificationFeature. :type: int Nr )r r r r r r C s c C s | j S )z� Gets the model_id of this ImageClassificationFeature. The custom model ID. :return: The model_id of this ImageClassificationFeature. :rtype: str �r r r r r r O s z#ImageClassificationFeature.model_idc C s || _ dS )z� Sets the model_id of this ImageClassificationFeature. The custom model ID. :param model_id: The model_id of this ImageClassificationFeature. :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#ImageClassificationFeature.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s z!ImageClassificationFeature.__eq__c C s | |k S r r r r r r �__ne__p s z!ImageClassificationFeature.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Z image_featurer Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn