ruạṛ
a N��fL � @ 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 �str�datetime�DeploymentArgumentCollection�%DeployStageOverrideArgumentCollection�(DeployArtifactOverrideArgumentCollectionzdict(str, str)zdict(str, dict(str, object)))�deployment_type�id�display_name� project_id�deploy_pipeline_id�compartment_id�time_created�time_updated�lifecycle_state�deployment_arguments�deploy_stage_override_arguments�"deploy_artifact_override_arguments�lifecycle_details� freeform_tags�defined_tags�system_tags�previous_deployment_id�deploymentTyper �displayName� projectId�deployPipelineId� compartmentId�timeCreated�timeUpdated�lifecycleState�deploymentArguments�deployStageOverrideArguments�deployArtifactOverrideArguments�lifecycleDetails�freeformTags�definedTags� systemTags�previousDeploymentIdN�PIPELINE_REDEPLOYMENT)� swagger_types� attribute_map�_deployment_type�_id� _display_name�_project_id�_deploy_pipeline_id�_compartment_id� _time_created� _time_updated�_lifecycle_state�_deployment_arguments� _deploy_stage_override_arguments�#_deploy_artifact_override_arguments�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags�_previous_deployment_id)�self�kwargs� rE ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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 �rB �rC rE rE rF 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 NrH )rC r rE rE rF r � s c C s t | �S �N)r rI rE rE rF �__repr__� s z*DeployPipelineRedeploymentSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�rC �otherrE rE rF �__eq__� s z(DeployPipelineRedeploymentSummary.__eq__c C s | |k S rJ rE rM rE rE rF �__ne__� s z(DeployPipelineRedeploymentSummary.__ne__N)�__name__� __module__�__qualname__�__doc__rG �propertyr �setterrK rO rP rE rE rE rF r s r N) �deployment_summaryr �oci.utilr r r �oci.decoratorsr r rE rE rE rF �<module> s
cải xoăn