ruạṛ
a ���fEM � @ 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 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� �Zd7d8� Z d9d:� Z!d;d<� Z"d=S )>�DeployEnvironmentz� The target OCI resources, such as Compute instances, Container Engine for Kubernetes(OKE) clusters, or Function, where artifacts are deployed. �OKE_CLUSTER�COMPUTE_INSTANCE_GROUP�FUNCTION�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�NEEDS_ATTENTIONc K s� dddddddddddddd� | _ dddd d ddd dddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a& Initializes a new DeployEnvironment 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.ComputeInstanceGroupDeployEnvironment` * :class:`~oci.devops.models.OkeClusterDeployEnvironment` * :class:`~oci.devops.models.FunctionDeployEnvironment` 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 DeployEnvironment. :type id: str :param description: The value to assign to the description property of this DeployEnvironment. :type description: str :param display_name: The value to assign to the display_name property of this DeployEnvironment. :type display_name: str :param project_id: The value to assign to the project_id property of this DeployEnvironment. :type project_id: str :param compartment_id: The value to assign to the compartment_id property of this DeployEnvironment. :type compartment_id: str :param deploy_environment_type: The value to assign to the deploy_environment_type property of this DeployEnvironment. Allowed values for this property are: "OKE_CLUSTER", "COMPUTE_INSTANCE_GROUP", "FUNCTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type deploy_environment_type: str :param time_created: The value to assign to the time_created property of this DeployEnvironment. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DeployEnvironment. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DeployEnvironment. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", '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 DeployEnvironment. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this DeployEnvironment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DeployEnvironment. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DeployEnvironment. :type system_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object))) �id�description�display_name� project_id�compartment_id�deploy_environment_type�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr r ZdisplayNameZ projectIdZ compartmentId�deployEnvironmentTypeZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_description� _display_name�_project_id�_compartment_id�_deploy_environment_type� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r/ �H/usr/lib/python3.9/site-packages/oci/devops/models/deploy_environment.py�__init__: sR E��zDeployEnvironment.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S ) 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 Z%ComputeInstanceGroupDeployEnvironmentr ZOkeClusterDeployEnvironmentr ZFunctionDeployEnvironmentr Nr/ )Zobject_dictionary�typer/ r/ r0 �get_subtype� s zDeployEnvironment.get_subtypec C s | j S )z� **[Required]** Gets the id of this DeployEnvironment. Unique identifier that is immutable on creation. :return: The id of this DeployEnvironment. :rtype: str �r �r- r/ r/ r0 r � s zDeployEnvironment.idc C s || _ dS )z� Sets the id of this DeployEnvironment. Unique identifier that is immutable on creation. :param id: The id of this DeployEnvironment. :type: str Nr4 )r- r r/ r/ r0 r � s c C s | j S )z� Gets the description of this DeployEnvironment. Optional description about the deployment environment. :return: The description of this DeployEnvironment. :rtype: str �r! r5 r/ r/ r0 r � s zDeployEnvironment.descriptionc C s || _ dS )z� Sets the description of this DeployEnvironment. Optional description about the deployment environment. :param description: The description of this DeployEnvironment. :type: str Nr6 )r- r r/ r/ r0 r � s c C s | j S )a Gets the display_name of this DeployEnvironment. Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. :return: The display_name of this DeployEnvironment. :rtype: str �r"