ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DeploymentSummary� )�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 )�!DeployPipelineRedeploymentSummaryz2 Summary of a full pipeline redeployment. c K s� dddddddddddddddddd�| _ d d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )aJ Initializes a new DeployPipelineRedeploymentSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.DeployPipelineRedeploymentSummary.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 deployment_type: The value to assign to the deployment_type property of this DeployPipelineRedeploymentSummary. :type deployment_type: str :param id: The value to assign to the id property of this DeployPipelineRedeploymentSummary. :type id: str :param display_name: The value to assign to the display_name property of this DeployPipelineRedeploymentSummary. :type display_name: str :param project_id: The value to assign to the project_id property of this DeployPipelineRedeploymentSummary. :type project_id: str :param deploy_pipeline_id: The value to assign to the deploy_pipeline_id property of this DeployPipelineRedeploymentSummary. :type deploy_pipeline_id: str :param compartment_id: The value to assign to the compartment_id property of this DeployPipelineRedeploymentSummary. :type compartment_id: str :param time_created: The value to assign to the time_created property of this DeployPipelineRedeploymentSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DeployPipelineRedeploymentSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DeployPipelineRedeploymentSummary. :type lifecycle_state: str :param deployment_arguments: The value to assign to the deployment_arguments property of this DeployPipelineRedeploymentSummary. :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 DeployPipelineRedeploymentSummary. :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 DeployPipelineRedeploymentSummary. :type deploy_artifact_override_arguments: oci.devops.models.DeployArtifactOverrideArgumentCollection :param lifecycle_details: The value to assign to the lifecycle_details property of this DeployPipelineRedeploymentSummary. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this DeployPipelineRedeploymentSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DeployPipelineRedeploymentSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DeployPipelineRedeploymentSummary. :type system_tags: dict(str, dict(str, object)) :param previous_deployment_id: The value to assign to the previous_deployment_id property of this DeployPipelineRedeploymentSummary. :type previous_deployment_id: str �strZdatetimeZDeploymentArgumentCollectionZ%DeployStageOverrideArgumentCollectionZ(DeployArtifactOverrideArgumentCollectionzdict(str, str)zdict(str, dict(str, object)))Zdeployment_type�idZdisplay_nameZ project_idZdeploy_pipeline_idZcompartment_idZtime_createdZtime_updatedZlifecycle_stateZdeployment_argumentsZdeploy_stage_override_argumentsZ"deploy_artifact_override_argumentsZlifecycle_detailsZ freeform_tagsZdefined_tagsZsystem_tags�previous_deployment_idZdeploymentTyper ZdisplayNameZ projectIdZdeployPipelineIdZ compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZdeploymentArgumentsZdeployStageOverrideArgumentsZdeployArtifactOverrideArgumentsZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZpreviousDeploymentIdNZPIPELINE_REDEPLOYMENT)Z swagger_typesZ attribute_mapZ_deployment_typeZ_idZ _display_nameZ_project_idZ_deploy_pipeline_idZ_compartment_idZ _time_createdZ _time_updatedZ_lifecycle_stateZ_deployment_argumentsZ _deploy_stage_override_argumentsZ#_deploy_artifact_override_argumentsZ_lifecycle_detailsZ_freeform_tagsZ _defined_tagsZ_system_tags�_previous_deployment_id)�self�kwargs� r �Z/usr/lib/python3.9/site-packages/oci/devops/models/deploy_pipeline_redeployment_summary.py�__init__ sl L��z*DeployPipelineRedeploymentSummary.__init__c C s | j S )a **[Required]** Gets the previous_deployment_id of this DeployPipelineRedeploymentSummary. Specifies the OCID of the previous deployment to be redeployed. :return: The previous_deployment_id of this DeployPipelineRedeploymentSummary. :rtype: str �r �r r r r r � s z8DeployPipelineRedeploymentSummary.previous_deployment_idc C s || _ dS )a& Sets the previous_deployment_id of this DeployPipelineRedeploymentSummary. Specifies the OCID of the previous deployment to be redeployed. :param previous_deployment_id: The previous_deployment_id of this DeployPipelineRedeploymentSummary. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z*DeployPipelineRedeploymentSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z(DeployPipelineRedeploymentSummary.__eq__c C s | |k S r r r r r r �__ne__� s z(DeployPipelineRedeploymentSummary.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s r N) Zdeployment_summaryr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn