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 @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�ResolvedEntityz Resolved entity. c K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new ResolvedEntity object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this ResolvedEntity. :type id: str :param offset: The value to assign to the offset property of this ResolvedEntity. :type offset: int :param length: The value to assign to the length property of this ResolvedEntity. :type length: int :param text: The value to assign to the text property of this ResolvedEntity. :type text: str :param type: The value to assign to the type property of this ResolvedEntity. :type type: str :param value: The value to assign to the value property of this ResolvedEntity. :type value: dict(str, str) �str�intzdict(str, str))�id�offset�length�text�type�valuer r r r r r N)Z swagger_typesZ attribute_map�_id�_offset�_length�_text�_type�_value)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/ai_language/models/resolved_entity.py�__init__ s( � � zResolvedEntity.__init__c C s | j S )z� **[Required]** Gets the id of this ResolvedEntity. id of the resolved entity in input :return: The id of this ResolvedEntity. :rtype: str �r �r r r r r I s zResolvedEntity.idc C s || _ dS )z� Sets the id of this ResolvedEntity. id of the resolved entity in input :param id: The id of this ResolvedEntity. :type: str Nr )r r r r r r U s c C s | j S )z� **[Required]** Gets the offset of this ResolvedEntity. offset of resolved entity in input :return: The offset of this ResolvedEntity. :rtype: int �r r r r r r a s zResolvedEntity.offsetc C s || _ dS )z� Sets the offset of this ResolvedEntity. offset of resolved entity in input :param offset: The offset of this ResolvedEntity. :type: int Nr )r r r r r r m s c C s | j S )z� **[Required]** Gets the length of this ResolvedEntity. length of resolved entity in input :return: The length of this ResolvedEntity. :rtype: int �r r r r r r y s zResolvedEntity.lengthc C s || _ dS )z� Sets the length of this ResolvedEntity. length of resolved entity in input :param length: The length of this ResolvedEntity. :type: int Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the text of this ResolvedEntity. Entity text like name of person, location, and so on. :return: The text of this ResolvedEntity. :rtype: str �r r r r r r � s zResolvedEntity.textc C s || _ dS )z� Sets the text of this ResolvedEntity. Entity text like name of person, location, and so on. :param text: The text of this ResolvedEntity. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the type of this ResolvedEntity. Type of entity text like PER, LOC. :return: The type of this ResolvedEntity. :rtype: str �r r r r r r � s zResolvedEntity.typec C s || _ dS )z� Sets the type of this ResolvedEntity. Type of entity text like PER, LOC. :param type: The type of this ResolvedEntity. :type: str Nr )r r r r r r � s c C s | j S )ag **[Required]** Gets the value of this ResolvedEntity. key and value pair for resolved entities. keys can be specific for each type of resolved entity. Values can be instances of resolvedEntity, arrays of resolvedEntities, primitives, or custom JSON. :return: The value of this ResolvedEntity. :rtype: dict(str, str) �r r r r r r � s zResolvedEntity.valuec C s || _ dS )a\ Sets the value of this ResolvedEntity. key and value pair for resolved entities. keys can be specific for each type of resolved entity. Values can be instances of resolvedEntity, arrays of resolvedEntities, primitives, or custom JSON. :param value: The value of this ResolvedEntity. :type: dict(str, str) Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zResolvedEntity.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zResolvedEntity.__eq__c C s | |k S r! r r$ r r r �__ne__� s zResolvedEntity.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r"