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 ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Zd0d1� Zd2d3� Zd4d5� Zd6S )7�ProcessorJobz% Details of a processor job. � SUCCEEDED�FAILED�ACCEPTED�CANCELED�IN_PROGRESS� CANCELING�PARTIALLY_SUCCEEDED�COMPLETELY_FAILEDc K s� ddddddddddddd�| _ dd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a Initializes a new ProcessorJob 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 ProcessorJob. :type id: str :param compartment_id: The value to assign to the compartment_id property of this ProcessorJob. :type compartment_id: str :param display_name: The value to assign to the display_name property of this ProcessorJob. :type display_name: str :param processor_config: The value to assign to the processor_config property of this ProcessorJob. :type processor_config: oci.ai_document.models.ProcessorConfig :param input_location: The value to assign to the input_location property of this ProcessorJob. :type input_location: oci.ai_document.models.InputLocation :param time_accepted: The value to assign to the time_accepted property of this ProcessorJob. :type time_accepted: datetime :param time_started: The value to assign to the time_started property of this ProcessorJob. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this ProcessorJob. :type time_finished: datetime :param percent_complete: The value to assign to the percent_complete property of this ProcessorJob. :type percent_complete: float :param output_location: The value to assign to the output_location property of this ProcessorJob. :type output_location: oci.ai_document.models.OutputLocation :param lifecycle_state: The value to assign to the lifecycle_state property of this ProcessorJob. 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 lifecycle_details: The value to assign to the lifecycle_details property of this ProcessorJob. 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 �strZProcessorConfigZ InputLocationZdatetime�floatZOutputLocation)�id�compartment_id�display_name�processor_config�input_location� time_accepted�time_started� time_finished�percent_complete�output_location�lifecycle_state�lifecycle_detailsr Z compartmentIdZdisplayNameZprocessorConfigZ inputLocationZtimeAcceptedZtimeStartedZtimeFinishedZpercentCompleteZoutputLocationZlifecycleStateZlifecycleDetailsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_processor_config�_input_location�_time_accepted� _time_started�_time_finished�_percent_complete�_output_location�_lifecycle_state�_lifecycle_details)�self�kwargs� r+ �H/usr/lib/python3.9/site-packages/oci/ai_document/models/processor_job.py�__init__2 sL ;��zProcessorJob.__init__c C s | j S )z� **[Required]** Gets the id of this ProcessorJob. The id of the processor job. :return: The id of this ProcessorJob. :rtype: str �r �r) r+ r+ r, r � s zProcessorJob.idc C s || _ dS )z� Sets the id of this ProcessorJob. The id of the processor job. :param id: The id of this ProcessorJob. :type: str Nr. )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the compartment_id of this ProcessorJob. The compartment identifier. :return: The compartment_id of this ProcessorJob. :rtype: str �r r/ r+ r+ r, r � s zProcessorJob.compartment_idc C s || _ dS )z� Sets the compartment_id of this ProcessorJob. The compartment identifier. :param compartment_id: The compartment_id of this ProcessorJob. :type: str Nr0 )r) r r+ r+ r, r � s c C s | j S )z� Gets the display_name of this ProcessorJob. The display name of the processor job. :return: The display_name of this ProcessorJob. :rtype: str �r r/ r+ r+ r, r � s zProcessorJob.display_namec C s || _ dS )z� Sets the display_name of this ProcessorJob. The display name of the processor job. :param display_name: The display_name of this ProcessorJob. :type: str Nr1 )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the processor_config of this ProcessorJob. :return: The processor_config of this ProcessorJob. :rtype: oci.ai_document.models.ProcessorConfig �r r/ r+ r+ r, r � s zProcessorJob.processor_configc C s || _ dS )z� Sets the processor_config of this ProcessorJob. :param processor_config: The processor_config of this ProcessorJob. :type: oci.ai_document.models.ProcessorConfig Nr2 )r) r r+ r+ r, r � s c C s | j S )z� Gets the input_location of this ProcessorJob. :return: The input_location of this ProcessorJob. :rtype: oci.ai_document.models.InputLocation �r! r/ r+ r+ r, r � s zProcessorJob.input_locationc C s || _ dS )z� Sets the input_location of this ProcessorJob. :param input_location: The input_location of this ProcessorJob. :type: oci.ai_document.models.InputLocation Nr3 )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the time_accepted of this ProcessorJob. The job acceptance time. :return: The time_accepted of this ProcessorJob. :rtype: datetime �r"