ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� FieldValue� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )� ValueArrayz$ The array of field values. c K sV ddddddd�| _ ddd d ddd�| _d | _d | _d | _d | _d | _d | _d| _d S )a[ Initializes a new ValueArray object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_document.models.ValueArray.value_type` attribute of this class is ``ARRAY`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param value_type: The value to assign to the value_type property of this ValueArray. Allowed values for this property are: "STRING", "DATE", "TIME", "PHONE_NUMBER", "NUMBER", "INTEGER", "ARRAY" :type value_type: str :param text: The value to assign to the text property of this ValueArray. :type text: str :param confidence: The value to assign to the confidence property of this ValueArray. :type confidence: float :param bounding_polygon: The value to assign to the bounding_polygon property of this ValueArray. :type bounding_polygon: oci.ai_document.models.BoundingPolygon :param word_indexes: The value to assign to the word_indexes property of this ValueArray. :type word_indexes: list[int] :param items: The value to assign to the items property of this ValueArray. :type items: list[oci.ai_document.models.DocumentField] �str�floatZBoundingPolygonz list[int]zlist[DocumentField])Z value_type�text� confidenceZbounding_polygonZword_indexes�itemsZ valueTyper r ZboundingPolygonZwordIndexesr NZARRAY)Z swagger_typesZ attribute_mapZ_value_typeZ_textZ_confidenceZ_bounding_polygonZ _word_indexes�_items)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/ai_document/models/value_array.py�__init__ s* !� � zValueArray.__init__c C s | j S )z� **[Required]** Gets the items of this ValueArray. The array of values. :return: The items of this ValueArray. :rtype: list[oci.ai_document.models.DocumentField] �r �r r r r r L s zValueArray.itemsc C s || _ dS )z� Sets the items of this ValueArray. The array of values. :param items: The items of this ValueArray. :type: list[oci.ai_document.models.DocumentField] Nr )r r r r r r X s c C s t | �S �N)r r r r r �__repr__d s zValueArray.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__g s zValueArray.__eq__c C s | |k S r r r r r r �__ne__m s zValueArray.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s : r N) Zfield_valuer Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn