| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
a
���fh � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sR e Zd ZdZdZdZdZdZdZdZ dZ
d Zd
ZdZ
dd
� Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Z e jd9d8� �Z ed:d;� �Z!e!jd<d;� �Z!ed=d>� �Z"e"jd?d>� �Z"ed@dA� �Z#e#jdBdA� �Z#edCdD� �Z$e$jdEdD� �Z$edFdG� �Z%e%jdHdG� �Z%dIdJ� Z&dKdL� Z'dMdN� Z(dOS )P�
Deploymentz2
A single execution or run of a pipeline.
�PIPELINE_DEPLOYMENT�PIPELINE_REDEPLOYMENT�SINGLE_STAGE_DEPLOYMENT�SINGLE_STAGE_REDEPLOYMENT�ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELING�CANCELEDc K s� ddddddddddddddddd d
d
d�| _ dd
dddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _d| _d| _d| _d| _dS ) a�
Initializes a new Deployment object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.devops.models.SingleDeployStageRedeployment`
* :class:`~oci.devops.models.DeployPipelineDeployment`
* :class:`~oci.devops.models.DeployPipelineRedeployment`
* :class:`~oci.devops.models.SingleDeployStageDeployment`
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 Deployment.
:type deploy_pipeline_artifacts: oci.devops.models.DeployPipelineArtifactCollection
:param deploy_pipeline_environments:
The value to assign to the deploy_pipeline_environments property of this Deployment.
:type deploy_pipeline_environments: oci.devops.models.DeployPipelineEnvironmentCollection
:param deployment_type:
The value to assign to the deployment_type property of this Deployment.
Allowed values for this property are: "PIPELINE_DEPLOYMENT", "PIPELINE_REDEPLOYMENT", "SINGLE_STAGE_DEPLOYMENT", "SINGLE_STAGE_REDEPLOYMENT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type deployment_type: str
:param id:
The value to assign to the id property of this Deployment.
:type id: str
:param display_name:
The value to assign to the display_name property of this Deployment.
:type display_name: str
:param project_id:
The value to assign to the project_id property of this Deployment.
:type project_id: str
:param deploy_pipeline_id:
The value to assign to the deploy_pipeline_id property of this Deployment.
:type deploy_pipeline_id: str
:param compartment_id:
The value to assign to the compartment_id property of this Deployment.
:type compartment_id: str
:param time_created:
The value to assign to the time_created property of this Deployment.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this Deployment.
:type time_updated: datetime
:param lifecycle_state:
The value to assign to the lifecycle_state property of this Deployment.
Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", '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 Deployment.
:type lifecycle_details: str
:param deployment_arguments:
The value to assign to the deployment_arguments property of this Deployment.
: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 Deployment.
: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 Deployment.
: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 Deployment.
:type deployment_execution_progress: oci.devops.models.DeploymentExecutionProgress
:param freeform_tags:
The value to assign to the freeform_tags property of this Deployment.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this Deployment.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this Deployment.
:type system_tags: dict(str, dict(str, object))
Z DeployPipelineArtifactCollectionZ#DeployPipelineEnvironmentCollection�strZdatetimeZDeploymentArgumentCollectionZ%DeployStageOverrideArgumentCollectionZ(DeployArtifactOverrideArgumentCollectionZDeploymentExecutionProgresszdict(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_tagsZdeployPipelineArtifactsZdeployPipelineEnvironments�deploymentTyper ZdisplayNameZ projectIdZdeployPipelineIdZ
compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZdeploymentArgumentsZdeployStageOverrideArgumentsZdeployArtifactOverrideArgumentsZdeploymentExecutionProgressZfreeformTagsZdefinedTagsZ
systemTagsN)Z
swagger_typesZ
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)�self�kwargs� r; �@/usr/lib/python3.9/site-packages/oci/devops/models/deployment.py�__init__: sv ^��zDeployment.__init__c C s@ | d }|dkrdS |dkr dS |dkr,dS |dkr8d S d
S dS )z�
Given the hash representation of a subtype of this class,
use the info in the hash to return the class of the subtype.
r% r
ZSingleDeployStageRedeploymentr ZDeployPipelineDeploymentr ZDeployPipelineRedeploymentr ZSingleDeployStageDeploymentr Nr; )Zobject_dictionary�typer; r; r<