o
    ɶdS                     @   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ZdZd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
d0d1 Zejd2d1 Ze
d3d4 Zejd5d4 Ze
d6d7 Zejd8d7 Ze
d9d: Zejd;d: Zd<d= Zd>d? Zd@dA ZdBS )CPipelinezK
    A Pipeline to orchestrate and execute machine learning workflows.
    CREATINGACTIVEDELETINGFAILEDDELETEDc                 K   sB  i 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| _ i 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)| _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 id:
            The value to assign to the id property of this Pipeline.
        :type id: str

        :param time_created:
            The value to assign to the time_created property of this Pipeline.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Pipeline.
        :type time_updated: datetime

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

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

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

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

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

        :param configuration_details:
            The value to assign to the configuration_details property of this Pipeline.
        :type configuration_details: oci.data_science.models.PipelineConfigurationDetails

        :param log_configuration_details:
            The value to assign to the log_configuration_details property of this Pipeline.
        :type log_configuration_details: oci.data_science.models.PipelineLogConfigurationDetails

        :param infrastructure_configuration_details:
            The value to assign to the infrastructure_configuration_details property of this Pipeline.
        :type infrastructure_configuration_details: oci.data_science.models.PipelineInfrastructureConfigurationDetails

        :param step_details:
            The value to assign to the step_details property of this Pipeline.
        :type step_details: list[oci.data_science.models.PipelineStepDetails]

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Pipeline.
            Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "FAILED", "DELETED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

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

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Pipeline.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Pipeline.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this Pipeline.
        :type system_tags: dict(str, dict(str, object))

        idstrtime_createddatetimetime_updated
created_by
project_idcompartment_iddisplay_namedescriptionconfiguration_detailsZPipelineConfigurationDetailslog_configuration_detailsZPipelineLogConfigurationDetails$infrastructure_configuration_detailsZ*PipelineInfrastructureConfigurationDetailsstep_detailszlist[PipelineStepDetails]lifecycle_statelifecycle_detailsfreeform_tagszdict(str, str)defined_tagszdict(str, dict(str, object))system_tagsZtimeCreatedZtimeUpdatedZ	createdByZ	projectIdZcompartmentIdZdisplayNameZconfigurationDetailsZlogConfigurationDetailsZ"infrastructureConfigurationDetailsZstepDetailsZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_map_id_time_created_time_updated_created_by_project_id_compartment_id_display_name_description_configuration_details_log_configuration_details%_infrastructure_configuration_details_step_details_lifecycle_state_lifecycle_details_freeform_tags_defined_tags_system_tags)selfkwargs r2   Dusr/lib/python3.10/site-packages/oci/data_science/models/pipeline.py__init__&   s   L	
	

zPipeline.__init__c                 C      | j S )z
        **[Required]** Gets the id of this Pipeline.
        The `OCID`__ of the pipeline.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The id of this Pipeline.
        :rtype: str
        r   r0   r2   r2   r3   r         zPipeline.idc                 C   
   || _ dS )z
        Sets the id of this Pipeline.
        The `OCID`__ of the pipeline.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param id: The id of this Pipeline.
        :type: str
        Nr6   )r0   r   r2   r2   r3   r         
c                 C   r5   )aS  
        **[Required]** Gets the time_created of this Pipeline.
        The date and time the resource was created in the timestamp format defined by `RFC3339`__.
        Example: 2020-08-06T21:10:29.41Z

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_created of this Pipeline.
        :rtype: datetime
        r    r7   r2   r2   r3   r         zPipeline.time_createdc                 C   r9   )aO  
        Sets the time_created of this Pipeline.
        The date and time the resource was created in the timestamp format defined by `RFC3339`__.
        Example: 2020-08-06T21:10:29.41Z

        __ https://tools.ietf.org/html/rfc3339


        :param time_created: The time_created of this Pipeline.
        :type: datetime
        Nr;   )r0   r   r2   r2   r3   r         
c                 C   r5   )aD  
        Gets the time_updated of this Pipeline.
        The date and time the resource was updated in the timestamp format defined by `RFC3339`__.
        Example: 2020-08-06T21:10:29.41Z

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_updated of this Pipeline.
        :rtype: datetime
        r!   r7   r2   r2   r3   r      r<   zPipeline.time_updatedc                 C   r9   )aO  
        Sets the time_updated of this Pipeline.
        The date and time the resource was updated in the timestamp format defined by `RFC3339`__.
        Example: 2020-08-06T21:10:29.41Z

        __ https://tools.ietf.org/html/rfc3339


        :param time_updated: The time_updated of this Pipeline.
        :type: datetime
        Nr>   )r0   r   r2   r2   r3   r      r=   c                 C   r5   )a!  
        **[Required]** Gets the created_by of this Pipeline.
        The `OCID`__ of the user who created the pipeline.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The created_by of this Pipeline.
        :rtype: str
        r"   r7   r2   r2   r3   r     r8   zPipeline.created_byc                 C   r9   )a  
        Sets the created_by of this Pipeline.
        The `OCID`__ of the user who created the pipeline.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param created_by: The created_by of this Pipeline.
        :type: str
        Nr?   )r0   r   r2   r2   r3   r     r:   c                 C   r5   )a*  
        **[Required]** Gets the project_id of this Pipeline.
        The `OCID`__ of the project to associate the pipeline with.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The project_id of this Pipeline.
        :rtype: str
        r#   r7   r2   r2   r3   r      r8   zPipeline.project_idc                 C   r9   )a$  
        Sets the project_id of this Pipeline.
        The `OCID`__ of the project to associate the pipeline with.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param project_id: The project_id of this Pipeline.
        :type: str
        Nr@   )r0   r   r2   r2   r3   r   .  r:   c                 C   r5   )a=  
        **[Required]** Gets the compartment_id of this Pipeline.
        The `OCID`__ of the compartment where you want to create the pipeline.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Pipeline.
        :rtype: str
        r$   r7   r2   r2   r3   r   <  r8   zPipeline.compartment_idc                 C   r9   )a;  
        Sets the compartment_id of this Pipeline.
        The `OCID`__ of the compartment where you want to create the pipeline.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Pipeline.
        :type: str
        NrA   )r0   r   r2   r2   r3   r   J  r:   c                 C   r5   )z
        **[Required]** Gets the display_name of this Pipeline.
        A user-friendly display name for the resource.


        :return: The display_name of this Pipeline.
        :rtype: str
        r%   r7   r2   r2   r3   r   X     
zPipeline.display_namec                 C   r9   )z
        Sets the display_name of this Pipeline.
        A user-friendly display name for the resource.


        :param display_name: The display_name of this Pipeline.
        :type: str
        NrB   )r0   r   r2   r2   r3   r   d     

c                 C   r5   )z
        Gets the description of this Pipeline.
        A short description of the pipeline.


        :return: The description of this Pipeline.
        :rtype: str
        r&   r7   r2   r2   r3   r   p  rC   zPipeline.descriptionc                 C   r9   )z
        Sets the description of this Pipeline.
        A short description of the pipeline.


        :param description: The description of this Pipeline.
        :type: str
        NrE   )r0   r   r2   r2   r3   r   |  rD   c                 C   r5   )z
        Gets the configuration_details of this Pipeline.

        :return: The configuration_details of this Pipeline.
        :rtype: oci.data_science.models.PipelineConfigurationDetails
        r'   r7   r2   r2   r3   r        zPipeline.configuration_detailsc                 C   r9   )z
        Sets the configuration_details of this Pipeline.

        :param configuration_details: The configuration_details of this Pipeline.
        :type: oci.data_science.models.PipelineConfigurationDetails
        NrF   )r0   r   r2   r2   r3   r        
c                 C   r5   )z
        Gets the log_configuration_details of this Pipeline.

        :return: The log_configuration_details of this Pipeline.
        :rtype: oci.data_science.models.PipelineLogConfigurationDetails
        r(   r7   r2   r2   r3   r     rG   z"Pipeline.log_configuration_detailsc                 C   r9   )z
        Sets the log_configuration_details of this Pipeline.

        :param log_configuration_details: The log_configuration_details of this Pipeline.
        :type: oci.data_science.models.PipelineLogConfigurationDetails
        NrI   )r0   r   r2   r2   r3   r     rH   c                 C   r5   )z
        Gets the infrastructure_configuration_details of this Pipeline.

        :return: The infrastructure_configuration_details of this Pipeline.
        :rtype: oci.data_science.models.PipelineInfrastructureConfigurationDetails
        r)   r7   r2   r2   r3   r     rG   z-Pipeline.infrastructure_configuration_detailsc                 C   r9   )a  
        Sets the infrastructure_configuration_details of this Pipeline.

        :param infrastructure_configuration_details: The infrastructure_configuration_details of this Pipeline.
        :type: oci.data_science.models.PipelineInfrastructureConfigurationDetails
        NrJ   )r0   r   r2   r2   r3   r     rH   c                 C   r5   )z
        **[Required]** Gets the step_details of this Pipeline.
        Array of step details for each step.


        :return: The step_details of this Pipeline.
        :rtype: list[oci.data_science.models.PipelineStepDetails]
        r*   r7   r2   r2   r3   r     rC   zPipeline.step_detailsc                 C   r9   )z
        Sets the step_details of this Pipeline.
        Array of step details for each step.


        :param step_details: The step_details of this Pipeline.
        :type: list[oci.data_science.models.PipelineStepDetails]
        NrK   )r0   r   r2   r2   r3   r     rD   c                 C   r5   )a  
        **[Required]** Gets the lifecycle_state of this Pipeline.
        The current state of the pipeline.

        Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "FAILED", "DELETED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Pipeline.
        :rtype: str
        )r+   r7   r2   r2   r3   r     r<   zPipeline.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this Pipeline.
        The current state of the pipeline.


        :param lifecycle_state: The lifecycle_state of this Pipeline.
        :type: str
        )r   r   r	   r
   r   ZUNKNOWN_ENUM_VALUEN)r   r+   )r0   r   Zallowed_valuesr2   r2   r3   r     s   


c                 C   r5   )a)  
        Gets the lifecycle_details of this Pipeline.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.


        :return: The lifecycle_details of this Pipeline.
        :rtype: str
        r,   r7   r2   r2   r3   r     rC   zPipeline.lifecycle_detailsc                 C   r9   )a9  
        Sets the lifecycle_details of this Pipeline.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.


        :param lifecycle_details: The lifecycle_details of this Pipeline.
        :type: str
        NrL   )r0   r   r2   r2   r3   r     rD   c                 C   r5   )a  
        Gets the freeform_tags of this Pipeline.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this Pipeline.
        :rtype: dict(str, str)
        r-   r7   r2   r2   r3   r     r<   zPipeline.freeform_tagsc                 C   r9   )a  
        Sets the freeform_tags of this Pipeline.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this Pipeline.
        :type: dict(str, str)
        NrM   )r0   r   r2   r2   r3   r   !  r=   c                 C   r5   )a  
        Gets the defined_tags of this Pipeline.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this Pipeline.
        :rtype: dict(str, dict(str, object))
        r.   r7   r2   r2   r3   r   0  r<   zPipeline.defined_tagsc                 C   r9   )a  
        Sets the defined_tags of this Pipeline.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this Pipeline.
        :type: dict(str, dict(str, object))
        NrN   )r0   r   r2   r2   r3   r   ?  r=   c                 C   r5   )a.  
        Gets the system_tags of this Pipeline.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :return: The system_tags of this Pipeline.
        :rtype: dict(str, dict(str, object))
        r/   r7   r2   r2   r3   r   N  s   zPipeline.system_tagsc                 C   r9   )a8  
        Sets the system_tags of this Pipeline.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :param system_tags: The system_tags of this Pipeline.
        :type: dict(str, dict(str, object))
        NrO   )r0   r   r2   r2   r3   r   [  s   
c                 C   s   t | S N)r   r7   r2   r2   r3   __repr__h  s   zPipeline.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r0   otherr2   r2   r3   __eq__k  s   zPipeline.__eq__c                 C   s
   | |k S rP   r2   rS   r2   r2   r3   __ne__q  s   
zPipeline.__ne__N) __name__
__module____qualname____doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_DELETEDr4   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rQ   rU   rV   r2   r2   r2   r3   r      s     
















	
	
	
	
	
	











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r2   r2   r2   r3   <module>   s   