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�TaskRunSummaryz+ The information about a task run. �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 TaskRunSummary 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 TaskRunSummary. :type key: str :param model_type: The value to assign to the model_type property of this TaskRunSummary. :type model_type: str :param model_version: The value to assign to the model_version property of this TaskRunSummary. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this TaskRunSummary. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this TaskRunSummary. :type name: str :param description: The value to assign to the description property of this TaskRunSummary. :type description: str :param object_version: The value to assign to the object_version property of this TaskRunSummary. :type object_version: int :param status: The value to assign to the status property of this TaskRunSummary. 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 TaskRunSummary. :type start_time_millis: int :param end_time_millis: The value to assign to the end_time_millis property of this TaskRunSummary. :type end_time_millis: int :param last_updated: The value to assign to the last_updated property of this TaskRunSummary. :type last_updated: int :param records_written: The value to assign to the records_written property of this TaskRunSummary. :type records_written: int :param bytes_processed: The value to assign to the bytes_processed property of this TaskRunSummary. :type bytes_processed: int :param object_status: The value to assign to the object_status property of this TaskRunSummary. :type object_status: int :param task_type: The value to assign to the task_type property of this TaskRunSummary. 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 TaskRunSummary. :type identifier: str :param ref_task_run_id: The value to assign to the ref_task_run_id property of this TaskRunSummary. :type ref_task_run_id: str :param re_run_type: The value to assign to the re_run_type property of this TaskRunSummary. 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 TaskRunSummary. :type step_id: str :param inputs: The value to assign to the inputs property of this TaskRunSummary. :type inputs: dict(str, ParameterValue) :param metadata: The value to assign to the metadata property of this TaskRunSummary. :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_summary.py�__init__R s� a��zTaskRunSummary.__init__c C s | j S )z� Gets the key of this TaskRunSummary. The object key. :return: The key of this TaskRunSummary. :rtype: str �r. �rC rE rE rF r � s zTaskRunSummary.keyc C s || _ dS )z� Sets the key of this TaskRunSummary. The object key. :param key: The key of this TaskRunSummary. :type: str NrH )rC r rE rE rF r s c C s | j S )z� Gets the model_type of this TaskRunSummary. The object type. :return: The model_type of this TaskRunSummary. :rtype: str �r/ rI rE rE rF r s zTaskRunSummary.model_typec C s || _ dS )z� Sets the model_type of this TaskRunSummary. The object type. :param model_type: The model_type of this TaskRunSummary. :type: str NrJ )rC r rE rE rF r s c C s | j S )z� Gets the model_version of this TaskRunSummary. The object's model version. :return: The model_version of this TaskRunSummary. :rtype: str �r0 rI rE rE rF r ( s zTaskRunSummary.model_versionc C s || _ dS )z� Sets the model_version of this TaskRunSummary. The object's model version. :param model_version: The model_version of this TaskRunSummary. :type: str NrK )rC r rE rE rF r 4 s c C s | j S )z� Gets the parent_ref of this TaskRunSummary. :return: The parent_ref of this TaskRunSummary. :rtype: oci.data_integration.models.ParentReference �r1 rI rE rE rF r @ s zTaskRunSummary.parent_refc C s || _ dS )z� Sets the parent_ref of this TaskRunSummary. :param parent_ref: The parent_ref of this TaskRunSummary. :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 TaskRunSummary. 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 TaskRunSummary. :rtype: str �r2 rI rE rE rF r T s zTaskRunSummary.namec C s || _ dS )a> Sets the name of this TaskRunSummary. 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 TaskRunSummary. :type: str NrM )rC r rE rE rF r ` s c C s | j S )z� Gets the description of this TaskRunSummary. Detailed description for the object. :return: The description of this TaskRunSummary. :rtype: str �r3 rI rE rE rF r l s zTaskRunSummary.descriptionc C s || _ dS )z� Sets the description of this TaskRunSummary. Detailed description for the object. :param description: The description of this TaskRunSummary. :type: str NrN )rC r rE rE rF r x s c C s | j S )z� Gets the object_version of this TaskRunSummary. The version of the object that is used to track changes in the object instance. :return: The object_version of this TaskRunSummary. :rtype: int �r4 rI rE rE rF r � s zTaskRunSummary.object_versionc C s || _ dS )z� Sets the object_version of this TaskRunSummary. The version of the object that is used to track changes in the object instance. :param object_version: The object_version of this TaskRunSummary. :type: int NrO )rC r rE rE rF r � s c C s | j S )a� Gets the status of this TaskRunSummary. 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 TaskRunSummary. :rtype: str )r5 rI rE rE rF r � s zTaskRunSummary.statusc C s g d�}t ||�sd}|| _dS )z� Sets the status of this TaskRunSummary. status :param status: The status of this TaskRunSummary. :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 TaskRunSummary. The task run start time. :return: The start_time_millis of this TaskRunSummary. :rtype: int �r6 rI rE rE rF r! � s z TaskRunSummary.start_time_millisc C s || _ dS )z� Sets the start_time_millis of this TaskRunSummary. The task run start time. :param start_time_millis: The start_time_millis of this TaskRunSummary. :type: int NrR )rC r! rE rE rF r! � s c C s | j S )z� Gets the end_time_millis of this TaskRunSummary. The task run end time. :return: The end_time_millis of this TaskRunSummary. :rtype: int �r7 rI rE rE rF r"