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 d d� Z dd� Zdd� ZdS )�TextDocumentz9 The document details for language service call. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )aK Initializes a new TextDocument object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this TextDocument. :type key: str :param text: The value to assign to the text property of this TextDocument. :type text: str :param language_code: The value to assign to the language_code property of this TextDocument. :type language_code: str �str)�key�text� language_coder r ZlanguageCodeN)Z swagger_typesZ attribute_map�_key�_text�_language_code)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/ai_language/models/text_document.py�__init__ s ��zTextDocument.__init__c C s | j S )z� **[Required]** Gets the key of this TextDocument. Document unique identifier defined by the user. :return: The key of this TextDocument. :rtype: str �r �r r r r r 4 s zTextDocument.keyc C s || _ dS )z� Sets the key of this TextDocument. Document unique identifier defined by the user. :param key: The key of this TextDocument. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the text of this TextDocument. Document text for language service call. :return: The text of this TextDocument. :rtype: str �r r r r r r L s zTextDocument.textc C s || _ dS )z� Sets the text of this TextDocument. Document text for language service call. :param text: The text of this TextDocument. :type: str Nr )r r r r r r X s c C s | j S )aO Gets the language_code of this TextDocument. Language code of the document. Please refer to respective model `API documentation`__ for supported languages. __ https://docs.cloud.oracle.com/iaas/language/using/overview.htm :return: The language_code of this TextDocument. :rtype: str �r r r r r r d s zTextDocument.language_codec C s || _ dS )a[ Sets the language_code of this TextDocument. Language code of the document. Please refer to respective model `API documentation`__ for supported languages. __ https://docs.cloud.oracle.com/iaas/language/using/overview.htm :param language_code: The language_code of this TextDocument. :type: str Nr )r r r r r r r s c C s t | �S �N)r r r r r �__repr__� s zTextDocument.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zTextDocument.__eq__c C s | |k S r r r r r r �__ne__� s zTextDocument.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"