📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
ai_vision
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/ai_vision/models
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: document_details.pyc
a M��f4 � @ 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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z dd� Zd d� Z dd� ZdS )�DocumentDetailsz/ The details of a document to analyze. �INLINE�OBJECT_STORAGEc K s ddi| _ ddi| _d| _dS )a� Initializes a new DocumentDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.ai_vision.models.ObjectStorageDocumentDetails` * :class:`~oci.ai_vision.models.InlineDocumentDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source: The value to assign to the source property of this DocumentDetails. Allowed values for this property are: "INLINE", "OBJECT_STORAGE" :type source: str �source�strN)� swagger_types� attribute_map�_source)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/ai_vision/models/document_details.py�__init__ s ��zDocumentDetails.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r �ObjectStorageDocumentDetailsr �InlineDocumentDetailsr Nr )�object_dictionary�typer r r �get_subtype2 s zDocumentDetails.get_subtypec C s | j S )a� **[Required]** Gets the source of this DocumentDetails. The location of the document data. The allowed values are: - `INLINE`: The data is included directly in the request payload. - `OBJECT_STORAGE`: The document is in OCI Object Storage. Allowed values for this property are: "INLINE", "OBJECT_STORAGE" :return: The source of this DocumentDetails. :rtype: str )r �r r r r r B s zDocumentDetails.sourcec C s* ddg}t ||�s td�|���|| _dS )ab Sets the source of this DocumentDetails. The location of the document data. The allowed values are: - `INLINE`: The data is included directly in the request payload. - `OBJECT_STORAGE`: The document is in OCI Object Storage. :param source: The source of this DocumentDetails. :type: str r r z6Invalid value for `source`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r S s ��c C s t | �S �N)r r r r r �__repr__h s zDocumentDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__k s zDocumentDetails.__eq__c C s | |k S r r r r r r �__ne__q s zDocumentDetails.__ne__N)�__name__� __module__�__qualname__�__doc__� SOURCE_INLINE�SOURCE_OBJECT_STORAGEr �staticmethodr �propertyr �setterr r! r"