📂 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_vision
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/ai_vision/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: document_job.cpython-39.opt-1.pyc
a ���f_a � @ 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 @ sb e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%dZ&d$Z'd%Z(d&Z)d'Z*d(Z+d)Z,d*Z-d+Z.d,d-� Z/e0d.d/� �Z1e1j2d0d/� �Z1e0d1d2� �Z3e3j2d3d2� �Z3e0d4d5� �Z4e4j2d6d5� �Z4e0d7d8� �Z5e5j2d9d8� �Z5e0d:d;� �Z6e6j2d<d;� �Z6e0d=d>� �Z7e7j2d?d>� �Z7e0d@dA� �Z8e8j2dBdA� �Z8e0dCdD� �Z9e9j2dEdD� �Z9e0dFdG� �Z:e:j2dHdG� �Z:e0dIdJ� �Z;e;j2dKdJ� �Z;e0dLdM� �Z<e<j2dNdM� �Z<e0dOdP� �Z=e=j2dQdP� �Z=e0dRdS� �Z>e>j2dTdS� �Z>e0dUdV� �Z?e?j2dWdV� �Z?e0dXdY� �Z@e@j2dZdY� �Z@d[d\� ZAd]d^� ZBd_d`� ZCdaS )b�DocumentJobz8 The job details for a batch document analysis. �ENG�CES�DAN�NLD�FIN�FRA�DEU�ELL�HUN�ITA�NOR�POL�POR�RON�RUS�SLK�SPA�SWE�TUR�ARA�CHI_SIM�HIN�JPN�KOR�OTHERS�INVOICE�RECEIPT�RESUME�TAX_FORM�DRIVER_LICENSE�PASSPORT�BANK_STATEMENT�CHECK�PAYSLIP� SUCCEEDED�FAILED�ACCEPTED�CANCELED�IN_PROGRESS� CANCELING�PARTIALLY_SUCCEEDED�COMPLETELY_FAILEDc K s� dddddddddddddddd�| _ d d ddd ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a% Initializes a new DocumentJob object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DocumentJob. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DocumentJob. :type compartment_id: str :param display_name: The value to assign to the display_name property of this DocumentJob. :type display_name: str :param features: The value to assign to the features property of this DocumentJob. :type features: list[oci.ai_vision.models.DocumentFeature] :param language: The value to assign to the language property of this DocumentJob. Allowed values for this property are: "ENG", "CES", "DAN", "NLD", "FIN", "FRA", "DEU", "ELL", "HUN", "ITA", "NOR", "POL", "POR", "RON", "RUS", "SLK", "SPA", "SWE", "TUR", "ARA", "CHI_SIM", "HIN", "JPN", "KOR", "OTHERS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type language: str :param document_type: The value to assign to the document_type property of this DocumentJob. Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type document_type: str :param input_location: The value to assign to the input_location property of this DocumentJob. :type input_location: oci.ai_vision.models.InputLocation :param time_accepted: The value to assign to the time_accepted property of this DocumentJob. :type time_accepted: datetime :param time_started: The value to assign to the time_started property of this DocumentJob. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this DocumentJob. :type time_finished: datetime :param percent_complete: The value to assign to the percent_complete property of this DocumentJob. :type percent_complete: float :param output_location: The value to assign to the output_location property of this DocumentJob. :type output_location: oci.ai_vision.models.OutputLocation :param lifecycle_state: The value to assign to the lifecycle_state property of this DocumentJob. Allowed values for this property are: "SUCCEEDED", "FAILED", "ACCEPTED", "CANCELED", "IN_PROGRESS", "CANCELING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param is_zip_output_enabled: The value to assign to the is_zip_output_enabled property of this DocumentJob. :type is_zip_output_enabled: bool :param lifecycle_details: The value to assign to the lifecycle_details property of this DocumentJob. Allowed values for this property are: "PARTIALLY_SUCCEEDED", "COMPLETELY_FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_details: str �strzlist[DocumentFeature]Z InputLocationZdatetime�floatZOutputLocation�bool)�id�compartment_id�display_name�features�language� document_type�input_location� time_accepted�time_started� time_finished�percent_complete�output_location�lifecycle_state�is_zip_output_enabled�lifecycle_detailsr4 Z compartmentIdZdisplayNamer7 r8 ZdocumentTypeZ inputLocationZtimeAcceptedZtimeStartedZtimeFinishedZpercentCompleteZoutputLocationZlifecycleStateZisZipOutputEnabledZlifecycleDetailsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name� _features� _language�_document_type�_input_location�_time_accepted� _time_started�_time_finished�_percent_complete�_output_location�_lifecycle_state�_is_zip_output_enabled�_lifecycle_details)�self�kwargs� rT �E/usr/lib/python3.9/site-packages/oci/ai_vision/models/document_job.py�__init__� s^ K��zDocumentJob.__init__c C s | j S )z� **[Required]** Gets the id of this DocumentJob. The job id. :return: The id of this DocumentJob. :rtype: str �rC �rR rT rT rU r4 < s zDocumentJob.idc C s || _ dS )z� Sets the id of this DocumentJob. The job id. :param id: The id of this DocumentJob. :type: str NrW )rR r4 rT rT rU r4 H s c C s | j S )z� **[Required]** Gets the compartment_id of this DocumentJob. The OCID of the compartment that starts the job. :return: The compartment_id of this DocumentJob. :rtype: str �rD rX rT rT rU r5 T s zDocumentJob.compartment_idc C s || _ dS )z� Sets the compartment_id of this DocumentJob. The OCID of the compartment that starts the job. :param compartment_id: The compartment_id of this DocumentJob. :type: str NrY )rR r5 rT rT rU r5 ` s c C s | j S )z� Gets the display_name of this DocumentJob. The document job display name. :return: The display_name of this DocumentJob. :rtype: str �rE rX rT rT rU r6 l s zDocumentJob.display_namec C s || _ dS )z� Sets the display_name of this DocumentJob. The document job display name. :param display_name: The display_name of this DocumentJob. :type: str NrZ )rR r6 rT rT rU r6 x s c C s | j S )z� **[Required]** Gets the features of this DocumentJob. The list of requested document analysis types. :return: The features of this DocumentJob. :rtype: list[oci.ai_vision.models.DocumentFeature] �rF rX rT rT rU r7 � s zDocumentJob.featuresc C s || _ dS )z� Sets the features of this DocumentJob. The list of requested document analysis types. :param features: The features of this DocumentJob. :type: list[oci.ai_vision.models.DocumentFeature] Nr[ )rR r7 rT rT rU r7 � s c C s | j S )a Gets the language of this DocumentJob. The document language, abbreviated according to ISO 639-2. Allowed values for this property are: "ENG", "CES", "DAN", "NLD", "FIN", "FRA", "DEU", "ELL", "HUN", "ITA", "NOR", "POL", "POR", "RON", "RUS", "SLK", "SPA", "SWE", "TUR", "ARA", "CHI_SIM", "HIN", "JPN", "KOR", "OTHERS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The language of this DocumentJob. :rtype: str )rG rX rT rT rU r8 � s zDocumentJob.languagec C s g d�}t ||�sd}|| _dS )z� Sets the language of this DocumentJob. The document language, abbreviated according to ISO 639-2. :param language: The language of this DocumentJob. :type: str )r r r r r r r r r r r r r r r r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r rG )rR r8 �allowed_valuesrT rT rU r8 � s c C s | j S )a� Gets the document_type of this DocumentJob. The type of document. Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The document_type of this DocumentJob. :rtype: str )rH rX rT rT rU r9 � s zDocumentJob.document_typec C s g d�}t ||�sd}|| _dS )z� Sets the document_type of this DocumentJob. The type of document. :param document_type: The document_type of this DocumentJob. :type: str ) r r! r"