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 edd� �Zejdd� �Zdd� Zdd� Zd d!� Zd"S )#�Pagez, One page document analysis result. c K sd ddddddddd �| _ d ddd ddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a� Initializes a new Page object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param page_number: The value to assign to the page_number property of this Page. :type page_number: int :param dimensions: The value to assign to the dimensions property of this Page. :type dimensions: oci.ai_document.models.Dimensions :param detected_document_types: The value to assign to the detected_document_types property of this Page. :type detected_document_types: list[oci.ai_document.models.DetectedDocumentType] :param detected_languages: The value to assign to the detected_languages property of this Page. :type detected_languages: list[oci.ai_document.models.DetectedLanguage] :param words: The value to assign to the words property of this Page. :type words: list[oci.ai_document.models.Word] :param lines: The value to assign to the lines property of this Page. :type lines: list[oci.ai_document.models.Line] :param tables: The value to assign to the tables property of this Page. :type tables: list[oci.ai_document.models.Table] :param document_fields: The value to assign to the document_fields property of this Page. :type document_fields: list[oci.ai_document.models.DocumentField] �intZ Dimensionszlist[DetectedDocumentType]zlist[DetectedLanguage]z list[Word]z list[Line]zlist[Table]zlist[DocumentField])�page_number� dimensions�detected_document_types�detected_languages�words�lines�tables�document_fieldsZ pageNumberr ZdetectedDocumentTypesZdetectedLanguagesr r r ZdocumentFieldsN) Z swagger_typesZ attribute_map�_page_number�_dimensions�_detected_document_types�_detected_languages�_words�_lines�_tables�_document_fields)�self�kwargs� r �?/usr/lib/python3.9/site-packages/oci/ai_document/models/page.py�__init__ s4 '��z Page.__init__c C s | j S )z� **[Required]** Gets the page_number of this Page. The document page number. :return: The page_number of this Page. :rtype: int �r �r r r r r W s zPage.page_numberc C s || _ dS )z� Sets the page_number of this Page. The document page number. :param page_number: The page_number of this Page. :type: int Nr )r r r r r r c s c C s | j S )z� Gets the dimensions of this Page. :return: The dimensions of this Page. :rtype: oci.ai_document.models.Dimensions �r r r r r r o s zPage.dimensionsc C s || _ dS )z� Sets the dimensions of this Page. :param dimensions: The dimensions of this Page. :type: oci.ai_document.models.Dimensions Nr )r r r r r r y s c C s | j S )z� Gets the detected_document_types of this Page. An array of detected document types. :return: The detected_document_types of this Page. :rtype: list[oci.ai_document.models.DetectedDocumentType] �r r r r r r � s zPage.detected_document_typesc C s || _ dS )a Sets the detected_document_types of this Page. An array of detected document types. :param detected_document_types: The detected_document_types of this Page. :type: list[oci.ai_document.models.DetectedDocumentType] Nr )r r r r r r � s c C s | j S )z� Gets the detected_languages of this Page. An array of detected languages. :return: The detected_languages of this Page. :rtype: list[oci.ai_document.models.DetectedLanguage] �r r r r r r � s zPage.detected_languagesc C s || _ dS )z� Sets the detected_languages of this Page. An array of detected languages. :param detected_languages: The detected_languages of this Page. :type: list[oci.ai_document.models.DetectedLanguage] Nr! )r r r r r r � s c C s | j S )z� Gets the words of this Page. The words detected on the page. :return: The words of this Page. :rtype: list[oci.ai_document.models.Word] �r r r r r r � s z Page.wordsc C s || _ dS )z� Sets the words of this Page. The words detected on the page. :param words: The words of this Page. :type: list[oci.ai_document.models.Word] Nr"