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 )�Cellz# A single cell in a table. c K sP ddddddd�| _ ddd d ddd�| _d | _d | _d | _d | _d | _d | _d S )a Initializes a new Cell 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 Cell. :type text: str :param row_index: The value to assign to the row_index property of this Cell. :type row_index: int :param column_index: The value to assign to the column_index property of this Cell. :type column_index: int :param confidence: The value to assign to the confidence property of this Cell. :type confidence: float :param bounding_polygon: The value to assign to the bounding_polygon property of this Cell. :type bounding_polygon: oci.ai_document.models.BoundingPolygon :param word_indexes: The value to assign to the word_indexes property of this Cell. :type word_indexes: list[int] �str�int�floatZBoundingPolygonz list[int])�text� row_index�column_index� confidence�bounding_polygon�word_indexesr ZrowIndexZcolumnIndexr ZboundingPolygonZwordIndexesN)Z swagger_typesZ attribute_map�_text� _row_index� _column_index�_confidence�_bounding_polygon� _word_indexes)�self�kwargs� r �?/usr/lib/python3.9/site-packages/oci/ai_document/models/cell.py�__init__ s( � � z Cell.__init__c C s | j S )z� **[Required]** Gets the text of this Cell. The text recognized in the cell. :return: The text of this Cell. :rtype: str �r �r r r r r I s z Cell.textc C s || _ dS )z� Sets the text of this Cell. The text recognized in the cell. :param text: The text of this Cell. :type: str Nr )r r r r r r U s c C s | j S )z� **[Required]** Gets the row_index of this Cell. The index of the cell inside the row. :return: The row_index of this Cell. :rtype: int �r r r r r r a s zCell.row_indexc C s || _ dS )z� Sets the row_index of this Cell. The index of the cell inside the row. :param row_index: The row_index of this Cell. :type: int Nr )r r r r r r m s c C s | j S )z� **[Required]** Gets the column_index of this Cell. The index of the cell inside the column. :return: The column_index of this Cell. :rtype: int �r r r r r r y s zCell.column_indexc C s || _ dS )z� Sets the column_index of this Cell. The index of the cell inside the column. :param column_index: The column_index of this Cell. :type: int Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the confidence of this Cell. The confidence score between 0 and 1. :return: The confidence of this Cell. :rtype: float �r r r r r r � s zCell.confidencec C s || _ dS )z� Sets the confidence of this Cell. The confidence score between 0 and 1. :param confidence: The confidence of this Cell. :type: float Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the bounding_polygon of this Cell. :return: The bounding_polygon of this Cell. :rtype: oci.ai_document.models.BoundingPolygon �r r r r r r � s zCell.bounding_polygonc C s || _ dS )z� Sets the bounding_polygon of this Cell. :param bounding_polygon: The bounding_polygon of this Cell. :type: oci.ai_document.models.BoundingPolygon Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the word_indexes of this Cell. The words detected in the cell. :return: The word_indexes of this Cell. :rtype: list[int] �r r r r r r � s zCell.word_indexesc C s || _ dS )z� Sets the word_indexes of this Cell. The words detected in the cell. :param word_indexes: The word_indexes of this Cell. :type: list[int] Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z Cell.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCell.__eq__c C s | |k S r"