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 ZdZ dZd ZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Z e jd1d0� �Z ed2d3� �Z!e!jd4d3� �Z!ed5d6� �Z"e"jd7d6� �Z"ed8d9� �Z#e#jd:d9� �Z#ed;d<� �Z$e$jd=d<� �Z$ed>d?� �Z%e%jd@d?� �Z%edAdB� �Z&e&jdCdB� �Z&edDdE� �Z'e'jdFdE� �Z'edGdH� �Z(e(jdIdH� �Z(edJdK� �Z)e)jdLdK� �Z)edMdN� �Z*e*jdOdN� �Z*edPdQ� �Z+e+jdRdQ� �Z+dSdT� Z,dUdV� Z-dWdX� Z.dYS )Z�TaskRunDetailszN The task run object provides information on the execution of a task. �NOT_STARTED�QUEUED�RUNNING�TERMINATING� TERMINATED�SUCCESS�ERROR�INTEGRATION_TASK�DATA_LOADER_TASK� PIPELINE_TASK�SQL_TASK�OCI_DATAFLOW_TASK� REST_TASK� BEGINNING�FAILED�STEPc K s� dddddddddddddddddddddd�| _ ddd d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new TaskRunDetails 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 TaskRunDetails. :type key: str :param model_type: The value to assign to the model_type property of this TaskRunDetails. :type model_type: str :param model_version: The value to assign to the model_version property of this TaskRunDetails. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this TaskRunDetails. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this TaskRunDetails. :type name: str :param description: The value to assign to the description property of this TaskRunDetails. :type description: str :param object_version: The value to assign to the object_version property of this TaskRunDetails. :type object_version: int :param status: The value to assign to the status property of this TaskRunDetails. Allowed values for this property are: "NOT_STARTED", "QUEUED", "RUNNING", "TERMINATING", "TERMINATED", "SUCCESS", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param start_time_millis: The value to assign to the start_time_millis property of this TaskRunDetails. :type start_time_millis: int :param end_time_millis: The value to assign to the end_time_millis property of this TaskRunDetails. :type end_time_millis: int :param last_updated: The value to assign to the last_updated property of this TaskRunDetails. :type last_updated: int :param records_written: The value to assign to the records_written property of this TaskRunDetails. :type records_written: int :param bytes_processed: The value to assign to the bytes_processed property of this TaskRunDetails. :type bytes_processed: int :param object_status: The value to assign to the object_status property of this TaskRunDetails. :type object_status: int :param task_type: The value to assign to the task_type property of this TaskRunDetails. Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type task_type: str :param identifier: The value to assign to the identifier property of this TaskRunDetails. :type identifier: str :param ref_task_run_id: The value to assign to the ref_task_run_id property of this TaskRunDetails. :type ref_task_run_id: str :param re_run_type: The value to assign to the re_run_type property of this TaskRunDetails. Allowed values for this property are: "BEGINNING", "FAILED", "STEP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type re_run_type: str :param step_id: The value to assign to the step_id property of this TaskRunDetails. :type step_id: str :param inputs: The value to assign to the inputs property of this TaskRunDetails. :type inputs: dict(str, ParameterValue) :param metadata: The value to assign to the metadata property of this TaskRunDetails. :type metadata: oci.data_integration.models.ObjectMetadata �strZParentReference�intzdict(str, ParameterValue)ZObjectMetadata)�key� model_type� model_version� parent_ref�name�description�object_version�status�start_time_millis�end_time_millis�last_updated�records_written�bytes_processed� object_status� task_type� identifier�ref_task_run_id�re_run_type�step_id�inputs�metadatar Z modelTypeZmodelVersionZ parentRefr r Z objectVersionr ZstartTimeMillisZ endTimeMillisZlastUpdatedZrecordsWrittenZbytesProcessedZobjectStatusZtaskTyper( ZrefTaskRunIdZ reRunTypeZstepIdr, r- N)Z swagger_typesZ attribute_map�_key�_model_type�_model_version�_parent_ref�_name�_description�_object_version�_status�_start_time_millis�_end_time_millis� _last_updated�_records_written�_bytes_processed�_object_status� _task_type�_identifier�_ref_task_run_id�_re_run_type�_step_id�_inputs� _metadata)�self�kwargs� rE �P/usr/lib/python3.9/site-packages/oci/data_integration/models/task_run_details.py�__init__R s� a��zTaskRunDetails.__init__c C s | j S )z� Gets the key of this TaskRunDetails. The object key. :return: The key of this TaskRunDetails. :rtype: str �r. �rC rE rE rF r � s zTaskRunDetails.keyc C s || _ dS )z� Sets the key of this TaskRunDetails. The object key. :param key: The key of this TaskRunDetails. :type: str NrH )rC r rE rE rF r s c C s | j S )z� Gets the model_type of this TaskRunDetails. The object type. :return: The model_type of this TaskRunDetails. :rtype: str �r/ rI rE rE rF r s zTaskRunDetails.model_typec C s || _ dS )z� Sets the model_type of this TaskRunDetails. The object type. :param model_type: The model_type of this TaskRunDetails. :type: str NrJ )rC r rE rE rF r s c C s | j S )z� Gets the model_version of this TaskRunDetails. The object's model version. :return: The model_version of this TaskRunDetails. :rtype: str �r0 rI rE rE rF r ( s zTaskRunDetails.model_versionc C s || _ dS )z� Sets the model_version of this TaskRunDetails. The object's model version. :param model_version: The model_version of this TaskRunDetails. :type: str NrK )rC r rE rE rF r 4 s c C s | j S )z� Gets the parent_ref of this TaskRunDetails. :return: The parent_ref of this TaskRunDetails. :rtype: oci.data_integration.models.ParentReference �r1 rI rE rE rF r @ s zTaskRunDetails.parent_refc C s || _ dS )z� Sets the parent_ref of this TaskRunDetails. :param parent_ref: The parent_ref of this TaskRunDetails. :type: oci.data_integration.models.ParentReference NrL )rC r rE rE rF r J s c C s | j S )a; Gets the name of this TaskRunDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :return: The name of this TaskRunDetails. :rtype: str �r2 rI rE rE rF r T s zTaskRunDetails.namec C s || _ dS )a> Sets the name of this TaskRunDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param name: The name of this TaskRunDetails. :type: str NrM )rC r rE rE rF r ` s c C s | j S )z� Gets the description of this TaskRunDetails. Detailed description for the object. :return: The description of this TaskRunDetails. :rtype: str �r3 rI rE rE rF r l s zTaskRunDetails.descriptionc C s || _ dS )z� Sets the description of this TaskRunDetails. Detailed description for the object. :param description: The description of this TaskRunDetails. :type: str NrN )rC r rE rE rF r x s c C s | j S )z� Gets the object_version of this TaskRunDetails. The version of the object that is used to track changes in the object instance. :return: The object_version of this TaskRunDetails. :rtype: int �r4 rI rE rE rF r � s zTaskRunDetails.object_versionc C s || _ dS )z� Sets the object_version of this TaskRunDetails. The version of the object that is used to track changes in the object instance. :param object_version: The object_version of this TaskRunDetails. :type: int NrO )rC r rE rE rF r � s c C s | j S )a� Gets the status of this TaskRunDetails. status Allowed values for this property are: "NOT_STARTED", "QUEUED", "RUNNING", "TERMINATING", "TERMINATED", "SUCCESS", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this TaskRunDetails. :rtype: str )r5 rI rE rE rF r � s zTaskRunDetails.statusc C s g d�}t ||�sd}|| _dS )z� Sets the status of this TaskRunDetails. status :param status: The status of this TaskRunDetails. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r5 )rC r �allowed_valuesrE rE rF r � s c C s | j S )z� Gets the start_time_millis of this TaskRunDetails. The task run start time. :return: The start_time_millis of this TaskRunDetails. :rtype: int �r6 rI rE rE rF r! � s z TaskRunDetails.start_time_millisc C s || _ dS )z� Sets the start_time_millis of this TaskRunDetails. The task run start time. :param start_time_millis: The start_time_millis of this TaskRunDetails. :type: int NrR )rC r! rE rE rF r! � s c C s | j S )z� Gets the end_time_millis of this TaskRunDetails. The task run end time. :return: The end_time_millis of this TaskRunDetails. :rtype: int �r7 rI rE rE rF r"