a M•ºf ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sdeZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZd d „Z d d „Z dd„Z dS)ÚTextClassificationz2 Text label and score for the given text. cKs(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)Ú swagger_typesÚ attribute_mapÚ_labelÚ_score)ÚselfÚkwargs©rúŽ/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/ai_language/models/text_classification.pyÚ__init__sþþzTextClassification.__init__cCs|jS)z½ **[Required]** Gets the label of this TextClassification. Label of the the given text. :return: The label of this TextClassification. :rtype: str ©r ©rrrrr +s zTextClassification.labelcCs ||_dS)z² Sets the label of this TextClassification. Label of the the given text. :param label: The label of this TextClassification. :type: str Nr)rr rrrr 7s cCs|jS)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 ©rrrrrr Cs zTextClassification.scorecCs ||_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)rr rrrr Ps cCst|ƒS©N)rrrrrÚ__repr__]szTextClassification.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__`szTextClassification.__eq__cCs ||k SrrrrrrÚ__ne__fszTextClassification.__ne__N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr rrrrrrrr s    rN)Úoci.utilrrrÚoci.decoratorsrÚobjectrrrrrÚs