ruạṛ
a N��fNL � @ 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:� �Zd<d=� Zd>d?� Z d@dA� Z!dBS )C�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 d�| _ dd ddddddddddddddd�| _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 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) �str�ParentReference�intzlist[InputPort]zlist[OutputPort]zlist[Parameter]�ConfigValues�ConfigProvider�ObjectMetadatazdict(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�metadata�key_map� modelTyper �modelVersion� parentRefr r � objectVersion�objectStatusr � inputPorts�outputPortsr �opConfigValues�configProviderDelegater! �keyMapN)� swagger_types� 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� _metadata�_key_map)�self�kwargs� rA ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/task_summary.py�__init__( sd R��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 �TaskSummaryFromIntegrationTaskr �TaskSummaryFromSQLTaskr �TaskSummaryFromOCIDataflowTaskr �TaskSummaryFromRestTaskr �TaskSummaryFromPipelineTaskr �TaskSummaryFromDataLoaderTaskr NrA )�object_dictionary�typerA rA rB �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/ �r? rA rA rB r � s zTaskSummary.model_typec C s g d�}t ||�sd}|| _dS )z� Sets the model_type of this TaskSummary. The type of task. :param model_type: The model_type of this TaskSummary. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r/ )r? r �allowed_valuesrA rA rB r � s c C s | j S )a Gets the key of this TaskSummary. Generated key that can be used in API calls to identify task. On scenarios where reference to the task is needed, a value can be passed in create. :return: The key of this TaskSummary. :rtype: str �r0 rM rA rA rB r � s zTaskSummary.keyc C s || _ dS )a Sets the key of this TaskSummary. Generated key that can be used in API calls to identify task. On scenarios where reference to the task is needed, a value can be passed in create. :param key: The key of this TaskSummary. :type: str NrP )r? r rA rA rB r � s c C s | j S )z� Gets the model_version of this TaskSummary. The object's model version. :return: The model_version of this TaskSummary. :rtype: str �r1 rM rA rA rB r s zTaskSummary.model_versionc C s || _ dS )z� Sets the model_version of this TaskSummary. The object's model version. :param model_version: The model_version of this TaskSummary. :type: str NrQ )r? r rA rA rB r s c C s | j S )z� Gets the parent_ref of this TaskSummary. :return: The parent_ref of this TaskSummary. :rtype: oci.data_integration.models.ParentReference �r2 rM rA rA rB r s zTaskSummary.parent_refc C s || _ dS )z� Sets the parent_ref of this TaskSummary. :param parent_ref: The parent_ref of this TaskSummary. :type: oci.data_integration.models.ParentReference NrR )r? r rA rA rB r $ s c C s | j S )a5 Gets the name of this TaskSummary. 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 TaskSummary. :rtype: str �r3 rM rA rA rB r . s zTaskSummary.namec C s || _ dS )a8 Sets the name of this TaskSummary. 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 TaskSummary. :type: str NrS )r? r rA rA rB r : s c C s | j S )z� Gets the description of this TaskSummary. Detailed description for the object. :return: The description of this TaskSummary. :rtype: str �r4 rM rA rA rB r F s zTaskSummary.descriptionc C s || _ dS )z� Sets the description of this TaskSummary. Detailed description for the object. :param description: The description of this TaskSummary. :type: str NrT )r? r rA rA rB r R s c C s | j S )z� Gets the object_version of this TaskSummary. The version of the object that is used to track changes in the object instance. :return: The object_version of this TaskSummary. :rtype: int �r5 rM rA rA rB r ^ s zTaskSummary.object_versionc C s || _ dS )z� Sets the object_version of this TaskSummary. The version of the object that is used to track changes in the object instance. :param object_version: The object_version of this TaskSummary. :type: int NrU )r? r rA rA rB r j s c C s | j S )a Gets the object_status of this TaskSummary. The status of an object that can be set to value 1 for shallow references across objects, other values reserved. :return: The object_status of this TaskSummary. :rtype: int �r6 rM rA rA rB r v s zTaskSummary.object_statusc C s || _ dS )a Sets the object_status of this TaskSummary. The status of an object that can be set to value 1 for shallow references across objects, other values reserved. :param object_status: The object_status of this TaskSummary. :type: int NrV )r? r rA rA rB r � s c C s | j S )a" Gets the identifier of this TaskSummary. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. :return: The identifier of this TaskSummary. :rtype: str �r7 rM rA rA rB r � s zTaskSummary.identifierc C s || _ dS )a+ Sets the identifier of this TaskSummary. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. :param identifier: The identifier of this TaskSummary. :type: str NrW )r? r rA rA rB r � s c C s | j S )z� Gets the input_ports of this TaskSummary. An array of input ports. :return: The input_ports of this TaskSummary. :rtype: list[oci.data_integration.models.InputPort] �r8 rM rA rA rB r � s zTaskSummary.input_portsc C s || _ dS )z� Sets the input_ports of this TaskSummary. An array of input ports. :param input_ports: The input_ports of this TaskSummary. :type: list[oci.data_integration.models.InputPort] NrX )r? r rA rA rB r � s c C s | j S )z� Gets the output_ports of this TaskSummary. An array of output ports. :return: The output_ports of this TaskSummary. :rtype: list[oci.data_integration.models.OutputPort] �r9 rM rA rA rB r � s zTaskSummary.output_portsc C s || _ dS )z� Sets the output_ports of this TaskSummary. An array of output ports. :param output_ports: The output_ports of this TaskSummary. :type: list[oci.data_integration.models.OutputPort] NrY )r? r rA rA rB r � s c C s | j S )z� Gets the parameters of this TaskSummary. An array of parameters. :return: The parameters of this TaskSummary. :rtype: list[oci.data_integration.models.Parameter] �r: rM rA rA rB r � s zTaskSummary.parametersc C s || _ dS )z� Sets the parameters of this TaskSummary. An array of parameters. :param parameters: The parameters of this TaskSummary. :type: list[oci.data_integration.models.Parameter] NrZ )r? r rA rA rB r � s c C s | j S )z� Gets the op_config_values of this TaskSummary. :return: The op_config_values of this TaskSummary. :rtype: oci.data_integration.models.ConfigValues �r; rM rA rA rB r � s zTaskSummary.op_config_valuesc C s || _ dS )z� Sets the op_config_values of this TaskSummary. :param op_config_values: The op_config_values of this TaskSummary. :type: oci.data_integration.models.ConfigValues Nr[ )r? r rA rA rB r � s c C s | j S )z� Gets the config_provider_delegate of this TaskSummary. :return: The config_provider_delegate of this TaskSummary. :rtype: oci.data_integration.models.ConfigProvider �r<