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 )�ValueStringz! The string field value. c K sV ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _d | _dS )a= Initializes a new ValueString object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_document.models.ValueString.value_type` attribute of this class is ``STRING`` 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 ValueString. 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 ValueString. :type text: str :param confidence: The value to assign to the confidence property of this ValueString. :type confidence: float :param bounding_polygon: The value to assign to the bounding_polygon property of this ValueString. :type bounding_polygon: oci.ai_document.models.BoundingPolygon :param word_indexes: The value to assign to the word_indexes property of this ValueString. :type word_indexes: list[int] :param value: The value to assign to the value property of this ValueString. :type value: str �str�floatZBoundingPolygonz list[int])Z value_type�text� confidenceZbounding_polygonZword_indexes�valueZ valueTyper r ZboundingPolygonZwordIndexesr N�STRING)Z swagger_typesZ attribute_mapZ_value_typeZ_textZ_confidenceZ_bounding_polygonZ _word_indexes�_value)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/ai_document/models/value_string.py�__init__ s* !� � zValueString.__init__c C s | j S )z� **[Required]** Gets the value of this ValueString. The string text. :return: The value of this ValueString. :rtype: str �r �r r r r r L s zValueString.valuec C s || _ dS )z� Sets the value of this ValueString. The string text. :param value: The value of this ValueString. :type: str Nr )r r r r r r X s c C s t | �S �N)r r r r r �__repr__d s zValueString.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__g s zValueString.__eq__c C s | |k S r r r r r r �__ne__m s zValueString.__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