ruạṛ
a N��f% � @ 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 � DeployPipelineArtifactCollection�#DeployPipelineEnvironmentCollection�str�datetime�DeploymentArgumentCollection�%DeployStageOverrideArgumentCollection�(DeployArtifactOverrideArgumentCollection�DeploymentExecutionProgresszdict(str, str)zdict(str, dict(str, object)))�deploy_pipeline_artifacts�deploy_pipeline_environments�deployment_type�id�display_name� project_id�deploy_pipeline_id�compartment_id�time_created�time_updated�lifecycle_state�lifecycle_details�deployment_arguments�deploy_stage_override_arguments�"deploy_artifact_override_arguments�deployment_execution_progress� freeform_tags�defined_tags�system_tags�previous_deployment_id�deployPipelineArtifacts�deployPipelineEnvironments�deploymentTyper �displayName� projectId�deployPipelineId� compartmentId�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�deploymentArguments�deployStageOverrideArguments�deployArtifactOverrideArguments�deploymentExecutionProgress�freeformTags�definedTags� systemTags�previousDeploymentIdN�PIPELINE_REDEPLOYMENT)� swagger_types� attribute_map�_deploy_pipeline_artifacts�_deploy_pipeline_environments�_deployment_type�_id� _display_name�_project_id�_deploy_pipeline_id�_compartment_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_deployment_arguments� _deploy_stage_override_arguments�#_deploy_artifact_override_arguments�_deployment_execution_progress�_freeform_tags� _defined_tags�_system_tags�_previous_deployment_id)�self�kwargs� rQ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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 �rN �rO rQ rQ rR 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 NrT )rO r$ rQ rQ rR r$ � s c C s t | �S �N)r rU rQ rQ rR �__repr__� s z#DeployPipelineRedeployment.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�rO �otherrQ rQ rR �__eq__� s z!DeployPipelineRedeployment.__eq__c C s | |k S rV rQ rY rQ rQ rR �__ne__� s z!DeployPipelineRedeployment.__ne__N)�__name__� __module__�__qualname__�__doc__rS �propertyr$ �setterrW r[ r\ rQ rQ rQ rR r s r N) � deploymentr �oci.utilr r r �oci.decoratorsr r rQ rQ rQ rR �<module> s
cải xoăn