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