ruạṛ
a N��f�V � @ 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 @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdd� 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.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Z e jd5d4� �Z ed6d7� �Z!e!jd8d7� �Z!ed9d:� �Z"e"jd;d:� �Z"ed<d=� �Z#e#jd>d=� �Z#d?d@� Z$dAdB� Z%dCdD� Z&dES )F�DeployArtifacta Artifacts are deployment manifests that are referenced in a pipeline stage for automated deployment to the target environment. DevOps artifacts can be an OCI Container image repository, Kubernetes manifest, an Artifact Registry artifact, or defined inline. �DEPLOYMENT_SPEC�JOB_SPEC�KUBERNETES_MANIFEST�GENERIC_FILE�DOCKER_IMAGE� HELM_CHART�NONE�SUBSTITUTE_PLACEHOLDERS�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddddd�| _ ddd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new DeployArtifact object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DeployArtifact. :type id: str :param description: The value to assign to the description property of this DeployArtifact. :type description: str :param display_name: The value to assign to the display_name property of this DeployArtifact. :type display_name: str :param project_id: The value to assign to the project_id property of this DeployArtifact. :type project_id: str :param compartment_id: The value to assign to the compartment_id property of this DeployArtifact. :type compartment_id: str :param deploy_artifact_type: The value to assign to the deploy_artifact_type property of this DeployArtifact. Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type deploy_artifact_type: str :param argument_substitution_mode: The value to assign to the argument_substitution_mode property of this DeployArtifact. Allowed values for this property are: "NONE", "SUBSTITUTE_PLACEHOLDERS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type argument_substitution_mode: str :param deploy_artifact_source: The value to assign to the deploy_artifact_source property of this DeployArtifact. :type deploy_artifact_source: oci.devops.models.DeployArtifactSource :param time_created: The value to assign to the time_created property of this DeployArtifact. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DeployArtifact. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DeployArtifact. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", '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 DeployArtifact. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this DeployArtifact. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DeployArtifact. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DeployArtifact. :type system_tags: dict(str, dict(str, object)) �str�DeployArtifactSource�datetimezdict(str, str)zdict(str, dict(str, object)))�id�description�display_name� project_id�compartment_id�deploy_artifact_type�argument_substitution_mode�deploy_artifact_source�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr r �displayName� projectId� compartmentId�deployArtifactType�argumentSubstitutionMode�deployArtifactSource�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id�_description� _display_name�_project_id�_compartment_id�_deploy_artifact_type�_argument_substitution_mode�_deploy_artifact_source� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rG ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/deploy_artifact.py�__init__H s^ I��zDeployArtifact.__init__c C s | j S )z� **[Required]** Gets the id of this DeployArtifact. Unique identifier that is immutable on creation. :return: The id of this DeployArtifact. :rtype: str �r6 �rE rG rG rH r � s zDeployArtifact.idc C s || _ dS )z� Sets the id of this DeployArtifact. Unique identifier that is immutable on creation. :param id: The id of this DeployArtifact. :type: str NrJ )rE r rG rG rH r � s c C s | j S )z� Gets the description of this DeployArtifact. Optional description about the artifact to be deployed. :return: The description of this DeployArtifact. :rtype: str �r7 rK rG rG rH r � s zDeployArtifact.descriptionc C s || _ dS )z� Sets the description of this DeployArtifact. Optional description about the artifact to be deployed. :param description: The description of this DeployArtifact. :type: str NrL )rE r rG rG rH r � s c C s | j S )a Gets the display_name of this DeployArtifact. Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information. :return: The display_name of this DeployArtifact. :rtype: str �r8 rK rG rG rH r � s zDeployArtifact.display_namec C s || _ dS )a Sets the display_name of this DeployArtifact. Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information. :param display_name: The display_name of this DeployArtifact. :type: str NrM )rE r rG rG rH r s c C s | j S )z� **[Required]** Gets the project_id of this DeployArtifact. The OCID of a project. :return: The project_id of this DeployArtifact. :rtype: str �r9 rK rG rG rH r s zDeployArtifact.project_idc C s || _ dS )z� Sets the project_id of this DeployArtifact. The OCID of a project. :param project_id: The project_id of this DeployArtifact. :type: str NrN )rE r rG rG rH r s c C s | j S )z� **[Required]** Gets the compartment_id of this DeployArtifact. The OCID of a compartment. :return: The compartment_id of this DeployArtifact. :rtype: str �r: rK rG rG rH r $ s zDeployArtifact.compartment_idc C s || _ dS )z� Sets the compartment_id of this DeployArtifact. The OCID of a compartment. :param compartment_id: The compartment_id of this DeployArtifact. :type: str NrO )rE r rG rG rH r 0 s c C s | j S )a� **[Required]** Gets the deploy_artifact_type of this DeployArtifact. Type of the deployment artifact. Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The deploy_artifact_type of this DeployArtifact. :rtype: str )r; rK rG rG rH r < s z#DeployArtifact.deploy_artifact_typec C s g d�}t ||�sd}|| _dS )z� Sets the deploy_artifact_type of this DeployArtifact. Type of the deployment artifact. :param deploy_artifact_type: The deploy_artifact_type of this DeployArtifact. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r; )rE r �allowed_valuesrG rG rH r K s c C s | j S )a� **[Required]** Gets the argument_substitution_mode of this DeployArtifact. Mode for artifact parameter substitution. Allowed values for this property are: "NONE", "SUBSTITUTE_PLACEHOLDERS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The argument_substitution_mode of this DeployArtifact. :rtype: str )r<