ruạṛ
a ���fb% � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Deployment� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�DeployPipelineRedeploymentzE Redeployment of the full pipeline of a previous deployment. c K s� ddddddddddddddddd d d dd�| _ dd ddddddddddddddddddd�| _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 DeployPipelineRedeployment object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.DeployPipelineRedeployment.deployment_type` attribute of this class is ``PIPELINE_REDEPLOYMENT`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param deploy_pipeline_artifacts: The value to assign to the deploy_pipeline_artifacts property of this DeployPipelineRedeployment. :type deploy_pipeline_artifacts: oci.devops.models.DeployPipelineArtifactCollection :param deploy_pipeline_environments: The value to assign to the deploy_pipeline_environments property of this DeployPipelineRedeployment. :type deploy_pipeline_environments: oci.devops.models.DeployPipelineEnvironmentCollection :param deployment_type: The value to assign to the deployment_type property of this DeployPipelineRedeployment. Allowed values for this property are: "PIPELINE_DEPLOYMENT", "PIPELINE_REDEPLOYMENT", "SINGLE_STAGE_DEPLOYMENT", "SINGLE_STAGE_REDEPLOYMENT" :type deployment_type: str :param id: The value to assign to the id property of this DeployPipelineRedeployment. :type id: str :param display_name: The value to assign to the display_name property of this DeployPipelineRedeployment. :type display_name: str :param project_id: The value to assign to the project_id property of this DeployPipelineRedeployment. :type project_id: str :param deploy_pipeline_id: The value to assign to the deploy_pipeline_id property of this DeployPipelineRedeployment. :type deploy_pipeline_id: str :param compartment_id: The value to assign to the compartment_id property of this DeployPipelineRedeployment. :type compartment_id: str :param time_created: The value to assign to the time_created property of this DeployPipelineRedeployment. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DeployPipelineRedeployment. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DeployPipelineRedeployment. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DeployPipelineRedeployment. :type lifecycle_details: str :param deployment_arguments: The value to assign to the deployment_arguments property of this DeployPipelineRedeployment. :type deployment_arguments: oci.devops.models.DeploymentArgumentCollection :param deploy_stage_override_arguments: The value to assign to the deploy_stage_override_arguments property of this DeployPipelineRedeployment. :type deploy_stage_override_arguments: oci.devops.models.DeployStageOverrideArgumentCollection :param deploy_artifact_override_arguments: The value to assign to the deploy_artifact_override_arguments property of this DeployPipelineRedeployment. :type deploy_artifact_override_arguments: oci.devops.models.DeployArtifactOverrideArgumentCollection :param deployment_execution_progress: The value to assign to the deployment_execution_progress property of this DeployPipelineRedeployment. :type deployment_execution_progress: oci.devops.models.DeploymentExecutionProgress :param freeform_tags: The value to assign to the freeform_tags property of this DeployPipelineRedeployment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DeployPipelineRedeployment. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DeployPipelineRedeployment. :type system_tags: dict(str, dict(str, object)) :param previous_deployment_id: The value to assign to the previous_deployment_id property of this DeployPipelineRedeployment. :type previous_deployment_id: str Z DeployPipelineArtifactCollectionZ#DeployPipelineEnvironmentCollection�strZdatetimeZDeploymentArgumentCollectionZ%DeployStageOverrideArgumentCollectionZ(DeployArtifactOverrideArgumentCollectionZDeploymentExecutionProgresszdict(str, str)zdict(str, dict(str, object)))Zdeploy_pipeline_artifactsZdeploy_pipeline_environmentsZdeployment_type�idZdisplay_nameZ project_idZdeploy_pipeline_idZcompartment_idZtime_createdZtime_updatedZlifecycle_stateZlifecycle_detailsZdeployment_argumentsZdeploy_stage_override_argumentsZ"deploy_artifact_override_argumentsZdeployment_execution_progressZ freeform_tagsZdefined_tagsZsystem_tags�previous_deployment_idZdeployPipelineArtifactsZdeployPipelineEnvironmentsZdeploymentTyper ZdisplayNameZ projectIdZdeployPipelineIdZ compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZdeploymentArgumentsZdeployStageOverrideArgumentsZdeployArtifactOverrideArgumentsZdeploymentExecutionProgressZfreeformTagsZdefinedTagsZ systemTagsZpreviousDeploymentIdNZPIPELINE_REDEPLOYMENT)Z swagger_typesZ attribute_mapZ_deploy_pipeline_artifactsZ_deploy_pipeline_environmentsZ_deployment_typeZ_idZ _display_nameZ_project_idZ_deploy_pipeline_idZ_compartment_idZ _time_createdZ _time_updatedZ_lifecycle_stateZ_lifecycle_detailsZ_deployment_argumentsZ _deploy_stage_override_argumentsZ#_deploy_artifact_override_argumentsZ_deployment_execution_progressZ_freeform_tagsZ _defined_tagsZ_system_tags�_previous_deployment_id)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/devops/models/deploy_pipeline_redeployment.py�__init__ s~ Z��z#DeployPipelineRedeployment.__init__c C s | j S )a **[Required]** Gets the previous_deployment_id of this DeployPipelineRedeployment. Specifies the OCID of the previous deployment to be redeployed. :return: The previous_deployment_id of this DeployPipelineRedeployment. :rtype: str �r �r r r r r � s z1DeployPipelineRedeployment.previous_deployment_idc C s || _ dS )a Sets the previous_deployment_id of this DeployPipelineRedeployment. Specifies the OCID of the previous deployment to be redeployed. :param previous_deployment_id: The previous_deployment_id of this DeployPipelineRedeployment. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z#DeployPipelineRedeployment.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z!DeployPipelineRedeployment.__eq__c C s | |k S r r r r r r �__ne__� s z!DeployPipelineRedeployment.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s r N) Z deploymentr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn