ruạṛ
a ���f~ � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�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 )�TextClassificationz2 Text label and score for the given text. c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new TextClassification object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param label: The value to assign to the label property of this TextClassification. :type label: str :param score: The value to assign to the score property of this TextClassification. :type score: float �str�float)�label�scorer r N)Z swagger_typesZ attribute_map�_label�_score)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/ai_language/models/text_classification.py�__init__ s ��zTextClassification.__init__c C s | j S )z� **[Required]** Gets the label of this TextClassification. Label of the the given text. :return: The label of this TextClassification. :rtype: str �r �r r r r r - s zTextClassification.labelc C s || _ dS )z� Sets the label of this TextClassification. Label of the the given text. :param label: The label of this TextClassification. :type: str Nr )r r r r r r 9 s c C s | j S )z� **[Required]** Gets the score of this TextClassification. Score or confidence of extracted text label. Example: `0.9999856066867399` :return: The score of this TextClassification. :rtype: float �r r r r r r E s zTextClassification.scorec C s || _ dS )z� Sets the score of this TextClassification. Score or confidence of extracted text label. Example: `0.9999856066867399` :param score: The score of this TextClassification. :type: float Nr )r r r r r r R s c C s t | �S �N)r r r r r �__repr___ s zTextClassification.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__b s zTextClassification.__eq__c C s | |k S r r r r r r �__ne__h s zTextClassification.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn