ruạṛ
a ���f�P � @ 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 dd � Z ed 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.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Ze d<d=� �Zejd>d=� �Zd?d@� Z dAdB� Z!dCdD� Z"dES )F�TaskSummaryz| The task summary object type contains the audit summary information and the definition of the task summary object. �INTEGRATION_TASK�DATA_LOADER_TASK� PIPELINE_TASK�SQL_TASK�OCI_DATAFLOW_TASK� REST_TASKc K s� ddddddddddddddd d dd�| _ d ddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new TaskSummary 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.data_integration.models.TaskSummaryFromIntegrationTask` * :class:`~oci.data_integration.models.TaskSummaryFromSQLTask` * :class:`~oci.data_integration.models.TaskSummaryFromOCIDataflowTask` * :class:`~oci.data_integration.models.TaskSummaryFromRestTask` * :class:`~oci.data_integration.models.TaskSummaryFromPipelineTask` * :class:`~oci.data_integration.models.TaskSummaryFromDataLoaderTask` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this TaskSummary. 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 model_type: str :param key: The value to assign to the key property of this TaskSummary. :type key: str :param model_version: The value to assign to the model_version property of this TaskSummary. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this TaskSummary. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this TaskSummary. :type name: str :param description: The value to assign to the description property of this TaskSummary. :type description: str :param object_version: The value to assign to the object_version property of this TaskSummary. :type object_version: int :param object_status: The value to assign to the object_status property of this TaskSummary. :type object_status: int :param identifier: The value to assign to the identifier property of this TaskSummary. :type identifier: str :param input_ports: The value to assign to the input_ports property of this TaskSummary. :type input_ports: list[oci.data_integration.models.InputPort] :param output_ports: The value to assign to the output_ports property of this TaskSummary. :type output_ports: list[oci.data_integration.models.OutputPort] :param parameters: The value to assign to the parameters property of this TaskSummary. :type parameters: list[oci.data_integration.models.Parameter] :param op_config_values: The value to assign to the op_config_values property of this TaskSummary. :type op_config_values: oci.data_integration.models.ConfigValues :param config_provider_delegate: The value to assign to the config_provider_delegate property of this TaskSummary. :type config_provider_delegate: oci.data_integration.models.ConfigProvider :param is_concurrent_allowed: The value to assign to the is_concurrent_allowed property of this TaskSummary. :type is_concurrent_allowed: bool :param metadata: The value to assign to the metadata property of this TaskSummary. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this TaskSummary. :type key_map: dict(str, str) �strZParentReference�intzlist[InputPort]zlist[OutputPort]zlist[Parameter]ZConfigValuesZConfigProvider�boolZObjectMetadatazdict(str, str))� model_type�key� model_version� parent_ref�name�description�object_version� object_status� identifier�input_ports�output_ports� parameters�op_config_values�config_provider_delegate�is_concurrent_allowed�metadata�key_map� modelTyper ZmodelVersionZ parentRefr r Z objectVersionZobjectStatusr Z inputPortsZoutputPortsr ZopConfigValuesZconfigProviderDelegateZisConcurrentAllowedr ZkeyMapN)Z swagger_typesZ attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_version�_object_status�_identifier�_input_ports� _output_ports�_parameters�_op_config_values�_config_provider_delegate�_is_concurrent_allowed� _metadata�_key_map)�self�kwargs� r5 �L/usr/lib/python3.9/site-packages/oci/data_integration/models/task_summary.py�__init__* sj V��zTaskSummary.__init__c C sX | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S 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 ZTaskSummaryFromIntegrationTaskr ZTaskSummaryFromSQLTaskr ZTaskSummaryFromOCIDataflowTaskr ZTaskSummaryFromRestTaskr ZTaskSummaryFromPipelineTaskr ZTaskSummaryFromDataLoaderTaskr Nr5 )Zobject_dictionary�typer5 r5 r6 �get_subtype� s zTaskSummary.get_subtypec C s | j S )a� Gets the model_type of this TaskSummary. The type of task. 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'. :return: The model_type of this TaskSummary. :rtype: str )r"