📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
ai_language
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/ai_language/models/__pycache__
💾
Free:
45.6 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: batch_language_translation_details.cpython-39.pyc
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 )�BatchLanguageTranslationDetailsz5 The documents details for translation call. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a Initializes a new BatchLanguageTranslationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this BatchLanguageTranslationDetails. :type compartment_id: str :param target_language_code: The value to assign to the target_language_code property of this BatchLanguageTranslationDetails. :type target_language_code: str :param documents: The value to assign to the documents property of this BatchLanguageTranslationDetails. :type documents: list[oci.ai_language.models.TextDocument] �strzlist[TextDocument])�compartment_id�target_language_code� documentsZ compartmentIdZtargetLanguageCoder N)Z swagger_typesZ attribute_map�_compartment_id�_target_language_code� _documents)�self�kwargs� r �]/usr/lib/python3.9/site-packages/oci/ai_language/models/batch_language_translation_details.py�__init__ s ��z(BatchLanguageTranslationDetails.__init__c C s | j S )at Gets the compartment_id of this BatchLanguageTranslationDetails. The `OCID`__ of the compartment that calls the API, inference will be served from pre trained model __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this BatchLanguageTranslationDetails. :rtype: str �r �r r r r r 4 s z.BatchLanguageTranslationDetails.compartment_idc C s || _ dS )a� Sets the compartment_id of this BatchLanguageTranslationDetails. The `OCID`__ of the compartment that calls the API, inference will be served from pre trained model __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this BatchLanguageTranslationDetails. :type: str Nr )r r r r r r B s c C s | j S )a� Gets the target_language_code of this BatchLanguageTranslationDetails. Language code supported Arabic - ar Brazilian Portuguese - pt-BR Canadian French - fr-CA Croatian - hr Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr German - de Greek - el Hebrew - he Hungarian - hu Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Portuguese - pt Romanian - ro Russian - ru Simplified Chinese - zh-CN Slovak - sk Slovenian - sl Spanish - es Swedish - sv Thai - th Traditional Chinese - zh-TW Turkish - tr Vietnamese - vi :return: The target_language_code of this BatchLanguageTranslationDetails. :rtype: str �r r r r r r P s )z4BatchLanguageTranslationDetails.target_language_codec C s || _ dS )a� Sets the target_language_code of this BatchLanguageTranslationDetails. Language code supported Arabic - ar Brazilian Portuguese - pt-BR Canadian French - fr-CA Croatian - hr Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr German - de Greek - el Hebrew - he Hungarian - hu Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Portuguese - pt Romanian - ro Russian - ru Simplified Chinese - zh-CN Slovak - sk Slovenian - sl Spanish - es Swedish - sv Thai - th Traditional Chinese - zh-TW Turkish - tr Vietnamese - vi :param target_language_code: The target_language_code of this BatchLanguageTranslationDetails. :type: str Nr )r r r r r r { s )c C s | j S )a **[Required]** Gets the documents of this BatchLanguageTranslationDetails. List of documents for translation. :return: The documents of this BatchLanguageTranslationDetails. :rtype: list[oci.ai_language.models.TextDocument] �r r r r r r � s z)BatchLanguageTranslationDetails.documentsc C s || _ dS )a Sets the documents of this BatchLanguageTranslationDetails. List of documents for translation. :param documents: The documents of this BatchLanguageTranslationDetails. :type: list[oci.ai_language.models.TextDocument] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z(BatchLanguageTranslationDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z&BatchLanguageTranslationDetails.__eq__c C s | |k S r r r r r r �__ne__� s z&BatchLanguageTranslationDetails.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"