o
    ɶd9                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s  e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd  Zejd!d  Zed"d# Zejd$d# Zed%d& Zejd'd& Zed(d) Zejd*d) Zed+d, Zejd-d, Zd.d/ Zd0d1 Zd2d3 Zd4S )5Pipelinea|  
    A pipeline is a logical grouping of tasks that together perform a higher level operation. For example, a pipeline could contain a set of tasks that load and clean data, then execute a dataflow to analyze the data. The pipeline allows you to manage the activities as a unit instead of individually. Users can also schedule the pipeline instead of the tasks independently.
    c                 K   s   ddddddddddddddd	| _ d
dddddddddddddd	| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _dS )a
	  
        Initializes a new Pipeline 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 Pipeline.
        :type key: str

        :param model_version:
            The value to assign to the model_version property of this Pipeline.
        :type model_version: str

        :param parent_ref:
            The value to assign to the parent_ref property of this Pipeline.
        :type parent_ref: oci.data_integration.models.ParentReference

        :param name:
            The value to assign to the name property of this Pipeline.
        :type name: str

        :param description:
            The value to assign to the description property of this Pipeline.
        :type description: str

        :param model_type:
            The value to assign to the model_type property of this Pipeline.
        :type model_type: str

        :param object_version:
            The value to assign to the object_version property of this Pipeline.
        :type object_version: int

        :param object_status:
            The value to assign to the object_status property of this Pipeline.
        :type object_status: int

        :param identifier:
            The value to assign to the identifier property of this Pipeline.
        :type identifier: str

        :param nodes:
            The value to assign to the nodes property of this Pipeline.
        :type nodes: list[oci.data_integration.models.FlowNode]

        :param parameters:
            The value to assign to the parameters property of this Pipeline.
        :type parameters: list[oci.data_integration.models.Parameter]

        :param flow_config_values:
            The value to assign to the flow_config_values property of this Pipeline.
        :type flow_config_values: oci.data_integration.models.ConfigValues

        :param variables:
            The value to assign to the variables property of this Pipeline.
        :type variables: list[oci.data_integration.models.Variable]

        :param metadata:
            The value to assign to the metadata property of this Pipeline.
        :type metadata: oci.data_integration.models.ObjectMetadata

        strZParentReferenceintzlist[FlowNode]zlist[Parameter]ZConfigValueszlist[Variable]ZObjectMetadata)keymodel_version
parent_refnamedescription
model_typeobject_versionobject_status
identifiernodes
parametersflow_config_values	variablesmetadatar	   ZmodelVersionZ	parentRefr   r   Z	modelTypeZobjectVersionZobjectStatusr   r   r   ZflowConfigValuesr   r   N)Zswagger_typesZattribute_map_key_model_version_parent_ref_name_description_model_type_object_version_object_status_identifier_nodes_parameters_flow_config_values
_variables	_metadata)selfkwargs r'   Husr/lib/python3.10/site-packages/oci/data_integration/models/pipeline.py__init__   sX   ?
zPipeline.__init__c                 C      | j S )a  
        Gets the key of this Pipeline.
        Generated key that can be used in API calls to identify pipeline. On scenarios where reference to the pipeline is needed, a value can be passed in create.


        :return: The key of this Pipeline.
        :rtype: str
        r   r%   r'   r'   r(   r	         
zPipeline.keyc                 C   
   || _ dS )a  
        Sets the key of this Pipeline.
        Generated key that can be used in API calls to identify pipeline. On scenarios where reference to the pipeline is needed, a value can be passed in create.


        :param key: The key of this Pipeline.
        :type: str
        Nr+   )r%   r	   r'   r'   r(   r	         

c                 C   r*   )a   
        Gets the model_version of this Pipeline.
        This is a version number that is used by the service to upgrade objects if needed through releases of the service.


        :return: The model_version of this Pipeline.
        :rtype: str
        r   r,   r'   r'   r(   r
      r-   zPipeline.model_versionc                 C   r.   )a  
        Sets the model_version of this Pipeline.
        This is a version number that is used by the service to upgrade objects if needed through releases of the service.


        :param model_version: The model_version of this Pipeline.
        :type: str
        Nr0   )r%   r
   r'   r'   r(   r
      r/   c                 C   r*   )z
        Gets the parent_ref of this Pipeline.

        :return: The parent_ref of this Pipeline.
        :rtype: oci.data_integration.models.ParentReference
        r   r,   r'   r'   r(   r         zPipeline.parent_refc                 C   r.   )z
        Sets the parent_ref of this Pipeline.

        :param parent_ref: The parent_ref of this Pipeline.
        :type: oci.data_integration.models.ParentReference
        Nr1   )r%   r   r'   r'   r(   r         
c                 C   r*   )a/  
        Gets the name of this Pipeline.
        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 Pipeline.
        :rtype: str
        r   r,   r'   r'   r(   r      r-   zPipeline.namec                 C   r.   )a2  
        Sets the name of this Pipeline.
        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 Pipeline.
        :type: str
        Nr4   )r%   r   r'   r'   r(   r      r/   c                 C   r*   )z
        Gets the description of this Pipeline.
        Detailed description for the object.


        :return: The description of this Pipeline.
        :rtype: str
        r   r,   r'   r'   r(   r      r-   zPipeline.descriptionc                 C   r.   )z
        Sets the description of this Pipeline.
        Detailed description for the object.


        :param description: The description of this Pipeline.
        :type: str
        Nr5   )r%   r   r'   r'   r(   r      r/   c                 C   r*   )z
        Gets the model_type of this Pipeline.
        The type of the object.


        :return: The model_type of this Pipeline.
        :rtype: str
        r   r,   r'   r'   r(   r      r-   zPipeline.model_typec                 C   r.   )z
        Sets the model_type of this Pipeline.
        The type of the object.


        :param model_type: The model_type of this Pipeline.
        :type: str
        Nr6   )r%   r   r'   r'   r(   r     r/   c                 C   r*   )a  
        Gets the object_version of this Pipeline.
        This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.


        :return: The object_version of this Pipeline.
        :rtype: int
        r   r,   r'   r'   r(   r     r-   zPipeline.object_versionc                 C   r.   )a!  
        Sets the object_version of this Pipeline.
        This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.


        :param object_version: The object_version of this Pipeline.
        :type: int
        Nr7   )r%   r   r'   r'   r(   r     r/   c                 C   r*   )z
        Gets the object_status of this Pipeline.
        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 Pipeline.
        :rtype: int
        r   r,   r'   r'   r(   r   %  r-   zPipeline.object_statusc                 C   r.   )a
  
        Sets the object_status of this Pipeline.
        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 Pipeline.
        :type: int
        Nr8   )r%   r   r'   r'   r(   r   1  r/   c                 C   r*   )a  
        Gets the identifier of this Pipeline.
        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 Pipeline.
        :rtype: str
        r   r,   r'   r'   r(   r   =  r-   zPipeline.identifierc                 C   r.   )a%  
        Sets the identifier of this Pipeline.
        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 Pipeline.
        :type: str
        Nr9   )r%   r   r'   r'   r(   r   I  r/   c                 C   r*   )z
        Gets the nodes of this Pipeline.
        A list of nodes attached to the pipeline.


        :return: The nodes of this Pipeline.
        :rtype: list[oci.data_integration.models.FlowNode]
        r    r,   r'   r'   r(   r   U  r-   zPipeline.nodesc                 C   r.   )z
        Sets the nodes of this Pipeline.
        A list of nodes attached to the pipeline.


        :param nodes: The nodes of this Pipeline.
        :type: list[oci.data_integration.models.FlowNode]
        Nr:   )r%   r   r'   r'   r(   r   a  r/   c                 C   r*   )a2  
        Gets the parameters of this Pipeline.
        A list of parameters for the pipeline, this allows certain aspects of the pipeline to be configured when the pipeline is executed.


        :return: The parameters of this Pipeline.
        :rtype: list[oci.data_integration.models.Parameter]
        r!   r,   r'   r'   r(   r   m  r-   zPipeline.parametersc                 C   r.   )a;  
        Sets the parameters of this Pipeline.
        A list of parameters for the pipeline, this allows certain aspects of the pipeline to be configured when the pipeline is executed.


        :param parameters: The parameters of this Pipeline.
        :type: list[oci.data_integration.models.Parameter]
        Nr;   )r%   r   r'   r'   r(   r   y  r/   c                 C   r*   )z
        Gets the flow_config_values of this Pipeline.

        :return: The flow_config_values of this Pipeline.
        :rtype: oci.data_integration.models.ConfigValues
        r"   r,   r'   r'   r(   r     r2   zPipeline.flow_config_valuesc                 C   r.   )z
        Sets the flow_config_values of this Pipeline.

        :param flow_config_values: The flow_config_values of this Pipeline.
        :type: oci.data_integration.models.ConfigValues
        Nr<   )r%   r   r'   r'   r(   r     r3   c                 C   r*   )a3  
        Gets the variables of this Pipeline.
        The list of variables required in pipeline, variables can be used to store values that can be used as inputs to tasks in the pipeline.


        :return: The variables of this Pipeline.
        :rtype: list[oci.data_integration.models.Variable]
        r#   r,   r'   r'   r(   r     r-   zPipeline.variablesc                 C   r.   )a;  
        Sets the variables of this Pipeline.
        The list of variables required in pipeline, variables can be used to store values that can be used as inputs to tasks in the pipeline.


        :param variables: The variables of this Pipeline.
        :type: list[oci.data_integration.models.Variable]
        Nr=   )r%   r   r'   r'   r(   r     r/   c                 C   r*   )z
        Gets the metadata of this Pipeline.

        :return: The metadata of this Pipeline.
        :rtype: oci.data_integration.models.ObjectMetadata
        r$   r,   r'   r'   r(   r     r2   zPipeline.metadatac                 C   r.   )z
        Sets the metadata of this Pipeline.

        :param metadata: The metadata of this Pipeline.
        :type: oci.data_integration.models.ObjectMetadata
        Nr>   )r%   r   r'   r'   r(   r     r3   c                 C   s   t | S N)r   r,   r'   r'   r(   __repr__  s   zPipeline.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r%   otherr'   r'   r(   __eq__  s   zPipeline.__eq__c                 C   s
   | |k S r?   r'   rB   r'   r'   r(   __ne__  s   
zPipeline.__ne__N)__name__
__module____qualname____doc__r)   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r   r   r   r@   rD   rE   r'   r'   r'   r(   r      s|    o




	
	
















	
	


	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r'   r'   r'   r(   <module>   s   