ruạṛ
a N��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 �displayName�deployEnvironmentType� projectId�freeformTags�definedTagsN)� swagger_types� attribute_map�_description� _display_name�_deploy_environment_type�_project_id�_freeform_tags� _defined_tags)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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 �COMPUTE_INSTANCE_GROUP�2CreateComputeInstanceGroupDeployEnvironmentDetails�OKE_CLUSTER�(CreateOkeClusterDeployEnvironmentDetails�FUNCTION�&CreateFunctionDeployEnvironmentDetailsr Nr )�object_dictionary�typer r r �get_subtypeM 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 ` 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 l 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 x 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/ )r r r r r r � s c C s t | �S �N)r r* r r r �__repr__� s z'CreateDeployEnvironmentDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z%CreateDeployEnvironmentDetails.__eq__c C s | |k S r0 r r3 r r r �__ne__ s z%CreateDeployEnvironmentDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �staticmethodr( �propertyr �setterr r r r r r1 r5 r6 r r r r r s>