o
    ëÉ¶d"  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sæ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZdd„ Zdd„ Zdd„ ZdS ) ÚTablez.
    The table extracted from a document.
    c                 K   sZ   ddddddddœ| _ dddd	d
dddœ| _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

        Úintzlist[TableRow]ÚfloatZBoundingPolygon)Ú	row_countÚcolumn_countÚheader_rowsÚ	body_rowsÚfooter_rowsÚ
confidenceÚbounding_polygonZrowCountZcolumnCountZ
headerRowsZbodyRowsZ
footerRowsr   ZboundingPolygonN)	Zswagger_typesZattribute_mapÚ
_row_countÚ_column_countÚ_header_rowsÚ
_body_rowsÚ_footer_rowsÚ_confidenceÚ_bounding_polygon)ÚselfÚkwargs© r   ú@usr/lib/python3.10/site-packages/oci/ai_document/models/table.pyÚ__init__   s.   #ùù

zTable.__init__c                 C   ó   | 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   ó   
zTable.row_countc                 C   ó
   || _ dS )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	   \   ó   

c                 C   r   )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   r   zTable.column_countc                 C   r    )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   r!   c                 C   r   )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   €   r   zTable.header_rowsc                 C   r    )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   Œ   r!   c                 C   r   )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   ˜   r   zTable.body_rowsc                 C   r    )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   ¤   r!   c                 C   r   )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   °   r   zTable.footer_rowsc                 C   r    )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   ¼   r!   c                 C   r   )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   È   r   zTable.confidencec                 C   r    )z²
        Sets the confidence of this Table.
        The confidence score between 0 and 1.


        :param confidence: The confidence of this Table.
        :type: float
        Nr&   )r   r   r   r   r   r   Ô   r!   c                 C   r   )z¶
        **[Required]** Gets the bounding_polygon of this Table.

        :return: The bounding_polygon of this Table.
        :rtype: oci.ai_document.models.BoundingPolygon
        ©r   r   r   r   r   r   à   s   zTable.bounding_polygonc                 C   r    )z¶
        Sets the bounding_polygon of this Table.

        :param bounding_polygon: The bounding_polygon of this Table.
        :type: oci.ai_document.models.BoundingPolygon
        Nr'   )r   r   r   r   r   r   ê   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__ô   s   zTable.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__÷   s   zTable.__eq__c                 C   s
   | |k S r(   r   r+   r   r   r   Ú__ne__ý   s   
zTable.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r   r   r   r)   r-   r.   r   r   r   r   r      sD    >












	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   