ruạṛ
a ���fk � @ 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 )�Wordz A single word. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) an Initializes a new Word object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param text: The value to assign to the text property of this Word. :type text: str :param confidence: The value to assign to the confidence property of this Word. :type confidence: float :param bounding_polygon: The value to assign to the bounding_polygon property of this Word. :type bounding_polygon: oci.ai_document.models.BoundingPolygon �str�floatZBoundingPolygon)�text� confidence�bounding_polygonr r ZboundingPolygonN)Z swagger_typesZ attribute_map�_text�_confidence�_bounding_polygon)�self�kwargs� r �?/usr/lib/python3.9/site-packages/oci/ai_document/models/word.py�__init__ s ��z Word.__init__c C s | j S )z� **[Required]** Gets the text of this Word. The string of text characters in the word. :return: The text of this Word. :rtype: str �r �r r r r r 4 s z Word.textc C s || _ dS )z� Sets the text of this Word. The string of text characters in the word. :param text: The text of this Word. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the confidence of this Word. the confidence score between 0 and 1. :return: The confidence of this Word. :rtype: float �r r r r r r L s zWord.confidencec C s || _ dS )z� Sets the confidence of this Word. the confidence score between 0 and 1. :param confidence: The confidence of this Word. :type: float Nr )r r r r r r X s c C s | j S )z� **[Required]** Gets the bounding_polygon of this Word. :return: The bounding_polygon of this Word. :rtype: oci.ai_document.models.BoundingPolygon �r r r r r r d s zWord.bounding_polygonc C s || _ dS )z� Sets the bounding_polygon of this Word. :param bounding_polygon: The bounding_polygon of this Word. :type: oci.ai_document.models.BoundingPolygon Nr )r r r r r r n s c C s t | �S �N)r r r r r �__repr__x s z Word.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__{ s zWord.__eq__c C s | |k S r r r r r r �__ne__� s zWord.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"