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� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �Tablez. The table extracted from a document. c K sZ dddddddd�| _ dddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d S )a Initializes a new Table object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param row_count: The value to assign to the row_count property of this Table. :type row_count: int :param column_count: The value to assign to the column_count property of this Table. :type column_count: int :param header_rows: The value to assign to the header_rows property of this Table. :type header_rows: list[oci.ai_document.models.TableRow] :param body_rows: The value to assign to the body_rows property of this Table. :type body_rows: list[oci.ai_document.models.TableRow] :param footer_rows: The value to assign to the footer_rows property of this Table. :type footer_rows: list[oci.ai_document.models.TableRow] :param confidence: The value to assign to the confidence property of this Table. :type confidence: float :param bounding_polygon: The value to assign to the bounding_polygon property of this Table. :type bounding_polygon: oci.ai_document.models.BoundingPolygon �intzlist[TableRow]�floatZBoundingPolygon)� row_count�column_count�header_rows� body_rows�footer_rows� confidence�bounding_polygonZrowCountZcolumnCountZ headerRowsZbodyRowsZ footerRowsr ZboundingPolygonN) Z swagger_typesZ attribute_map� _row_count� _column_count�_header_rows� _body_rows�_footer_rows�_confidence�_bounding_polygon)�self�kwargs� r �@/usr/lib/python3.9/site-packages/oci/ai_document/models/table.py�__init__ s. #�� zTable.__init__c C s | j S )z� **[Required]** Gets the row_count of this Table. The number of rows. :return: The row_count of this Table. :rtype: int �r �r r r r r P s zTable.row_countc C s || _ dS )z� Sets the row_count of this Table. The number of rows. :param row_count: The row_count of this Table. :type: int Nr )r r r r r r \ s c C s | j S )z� **[Required]** Gets the column_count of this Table. The number of columns. :return: The column_count of this Table. :rtype: int �r r r r r r h s zTable.column_countc C s || _ dS )z� Sets the column_count of this Table. The number of columns. :param column_count: The column_count of this Table. :type: int Nr )r r r r r r t s c C s | j S )z� **[Required]** Gets the header_rows of this Table. The header rows. :return: The header_rows of this Table. :rtype: list[oci.ai_document.models.TableRow] �r r r r r r � s zTable.header_rowsc C s || _ dS )z� Sets the header_rows of this Table. The header rows. :param header_rows: The header_rows of this Table. :type: list[oci.ai_document.models.TableRow] Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the body_rows of this Table. The body rows. :return: The body_rows of this Table. :rtype: list[oci.ai_document.models.TableRow] �r r r r r r � s zTable.body_rowsc C s || _ dS )z� Sets the body_rows of this Table. The body rows. :param body_rows: The body_rows of this Table. :type: list[oci.ai_document.models.TableRow] Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the footer_rows of this Table. the footer rows. :return: The footer_rows of this Table. :rtype: list[oci.ai_document.models.TableRow] �r r r r r r � s zTable.footer_rowsc C s || _ dS )z� Sets the footer_rows of this Table. the footer rows. :param footer_rows: The footer_rows of this Table. :type: list[oci.ai_document.models.TableRow] Nr! )r r r r r r � s c C s | j S )z� **[Required]** Gets the confidence of this Table. The confidence score between 0 and 1. :return: The confidence of this Table. :rtype: float �r r r r r r � s zTable.confidencec C s || _ dS )z� Sets the confidence of this Table. The confidence score between 0 and 1. :param confidence: The confidence of this Table. :type: float Nr"