ruạṛ
a ���fZ � @ 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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�EntityDocumentResultz9 The document response for entities detect call. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new EntityDocumentResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this EntityDocumentResult. :type key: str :param entities: The value to assign to the entities property of this EntityDocumentResult. :type entities: list[oci.ai_language.models.HierarchicalEntity] :param language_code: The value to assign to the language_code property of this EntityDocumentResult. :type language_code: str �strzlist[HierarchicalEntity])�key�entities� language_coder r ZlanguageCodeN)Z swagger_typesZ attribute_map�_key� _entities�_language_code)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/ai_language/models/entity_document_result.py�__init__ s ��zEntityDocumentResult.__init__c C s | j S )z� **[Required]** Gets the key of this EntityDocumentResult. Document unique identifier defined by the user. :return: The key of this EntityDocumentResult. :rtype: str �r �r r r r r 4 s zEntityDocumentResult.keyc C s || _ dS )z� Sets the key of this EntityDocumentResult. Document unique identifier defined by the user. :param key: The key of this EntityDocumentResult. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the entities of this EntityDocumentResult. List of detected entities. :return: The entities of this EntityDocumentResult. :rtype: list[oci.ai_language.models.HierarchicalEntity] �r r r r r r L s zEntityDocumentResult.entitiesc C s || _ dS )z� Sets the entities of this EntityDocumentResult. List of detected entities. :param entities: The entities of this EntityDocumentResult. :type: list[oci.ai_language.models.HierarchicalEntity] Nr )r r r r r r X s c C s | j S )a; **[Required]** Gets the language_code of this EntityDocumentResult. Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : Hebrew :return: The language_code of this EntityDocumentResult. :rtype: str �r r r r r r d s "z"EntityDocumentResult.language_codec C s || _ dS )a8 Sets the language_code of this EntityDocumentResult. Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : Hebrew :param language_code: The language_code of this EntityDocumentResult. :type: str Nr )r r r r r r � s "c C s t | �S �N)r r r r r �__repr__� s zEntityDocumentResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zEntityDocumentResult.__eq__c C s | |k S r r r r r r �__ne__� s zEntityDocumentResult.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"