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