ruạṛ
a ���f�$ � @ 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 ZdZdd� Zedd� �Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�CreateDeployEnvironmentDetailsz; The information about new deployment environment. c K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new CreateDeployEnvironmentDetails 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.CreateComputeInstanceGroupDeployEnvironmentDetails` * :class:`~oci.devops.models.CreateOkeClusterDeployEnvironmentDetails` * :class:`~oci.devops.models.CreateFunctionDeployEnvironmentDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param description: The value to assign to the description property of this CreateDeployEnvironmentDetails. :type description: str :param display_name: The value to assign to the display_name property of this CreateDeployEnvironmentDetails. :type display_name: str :param deploy_environment_type: The value to assign to the deploy_environment_type property of this CreateDeployEnvironmentDetails. :type deploy_environment_type: str :param project_id: The value to assign to the project_id property of this CreateDeployEnvironmentDetails. :type project_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateDeployEnvironmentDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateDeployEnvironmentDetails. :type defined_tags: dict(str, dict(str, object)) �strzdict(str, str)zdict(str, dict(str, object)))�description�display_name�deploy_environment_type� project_id� freeform_tags�defined_tagsr ZdisplayName�deployEnvironmentTypeZ projectIdZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_description� _display_name�_deploy_environment_type�_project_id�_freeform_tags� _defined_tags)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/devops/models/create_deploy_environment_details.py�__init__ s( %� � z'CreateDeployEnvironmentDetails.__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 ZCOMPUTE_INSTANCE_GROUPZ2CreateComputeInstanceGroupDeployEnvironmentDetailsZOKE_CLUSTERZ(CreateOkeClusterDeployEnvironmentDetailsZFUNCTIONZ&CreateFunctionDeployEnvironmentDetailsr Nr )Zobject_dictionary�typer r r �get_subtypeO s z*CreateDeployEnvironmentDetails.get_subtypec C s | j S )z� Gets the description of this CreateDeployEnvironmentDetails. Optional description about the deployment environment. :return: The description of this CreateDeployEnvironmentDetails. :rtype: str �r �r r r r r b s z*CreateDeployEnvironmentDetails.descriptionc C s || _ dS )z� Sets the description of this CreateDeployEnvironmentDetails. Optional description about the deployment environment. :param description: The description of this CreateDeployEnvironmentDetails. :type: str Nr )r r r r r r n s c C s | j S )a Gets the display_name of this CreateDeployEnvironmentDetails. Deployment environment display name. Avoid entering confidential information. :return: The display_name of this CreateDeployEnvironmentDetails. :rtype: str �r r r r r r z s z+CreateDeployEnvironmentDetails.display_namec C s || _ dS )a Sets the display_name of this CreateDeployEnvironmentDetails. Deployment environment display name. Avoid entering confidential information. :param display_name: The display_name of this CreateDeployEnvironmentDetails. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the deploy_environment_type of this CreateDeployEnvironmentDetails. Deployment environment type. :return: The deploy_environment_type of this CreateDeployEnvironmentDetails. :rtype: str �r r r r r r � s z6CreateDeployEnvironmentDetails.deploy_environment_typec C s || _ dS )a Sets the deploy_environment_type of this CreateDeployEnvironmentDetails. Deployment environment type. :param deploy_environment_type: The deploy_environment_type of this CreateDeployEnvironmentDetails. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the project_id of this CreateDeployEnvironmentDetails. The OCID of a project. :return: The project_id of this CreateDeployEnvironmentDetails. :rtype: str �r r r r r r � s z)CreateDeployEnvironmentDetails.project_idc C s || _ dS )z� Sets the project_id of this CreateDeployEnvironmentDetails. The OCID of a project. :param project_id: The project_id of this CreateDeployEnvironmentDetails. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this CreateDeployEnvironmentDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{"bar-key": "value"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this CreateDeployEnvironmentDetails. :rtype: dict(str, str) �r r r r r r � s z,CreateDeployEnvironmentDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this CreateDeployEnvironmentDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{"bar-key": "value"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this CreateDeployEnvironmentDetails. :type: dict(str, str) Nr! )r r r r r r � s c C s | j S )a� Gets the defined_tags of this CreateDeployEnvironmentDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this CreateDeployEnvironmentDetails. :rtype: dict(str, dict(str, object)) �r r r r r r � s z+CreateDeployEnvironmentDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this CreateDeployEnvironmentDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this CreateDeployEnvironmentDetails. :type: dict(str, dict(str, object)) Nr"