ruạṛ
a ���f] � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DeployEnvironment� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�OkeClusterDeployEnvironmentz7 Specifies the Kubernetes cluster environment. c K s� dddddddddddddddd�| _ ddd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a_ Initializes a new OkeClusterDeployEnvironment object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.OkeClusterDeployEnvironment.deploy_environment_type` attribute of this class is ``OKE_CLUSTER`` and it should not be changed. 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 OkeClusterDeployEnvironment. :type id: str :param description: The value to assign to the description property of this OkeClusterDeployEnvironment. :type description: str :param display_name: The value to assign to the display_name property of this OkeClusterDeployEnvironment. :type display_name: str :param project_id: The value to assign to the project_id property of this OkeClusterDeployEnvironment. :type project_id: str :param compartment_id: The value to assign to the compartment_id property of this OkeClusterDeployEnvironment. :type compartment_id: str :param deploy_environment_type: The value to assign to the deploy_environment_type property of this OkeClusterDeployEnvironment. Allowed values for this property are: "OKE_CLUSTER", "COMPUTE_INSTANCE_GROUP", "FUNCTION" :type deploy_environment_type: str :param time_created: The value to assign to the time_created property of this OkeClusterDeployEnvironment. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OkeClusterDeployEnvironment. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this OkeClusterDeployEnvironment. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this OkeClusterDeployEnvironment. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this OkeClusterDeployEnvironment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OkeClusterDeployEnvironment. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this OkeClusterDeployEnvironment. :type system_tags: dict(str, dict(str, object)) :param cluster_id: The value to assign to the cluster_id property of this OkeClusterDeployEnvironment. :type cluster_id: str :param network_channel: The value to assign to the network_channel property of this OkeClusterDeployEnvironment. :type network_channel: oci.devops.models.NetworkChannel �strZdatetimezdict(str, str)zdict(str, dict(str, object))ZNetworkChannel)�id�descriptionZdisplay_nameZ project_idZcompartment_idZdeploy_environment_typeZtime_createdZtime_updatedZlifecycle_stateZlifecycle_detailsZ freeform_tagsZdefined_tagsZsystem_tags� cluster_id�network_channelr r ZdisplayNameZ projectIdZ compartmentIdZdeployEnvironmentTypeZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZ clusterIdZnetworkChannelNZOKE_CLUSTER)Z swagger_typesZ attribute_mapZ_idZ_descriptionZ _display_nameZ_project_idZ_compartment_idZ_deploy_environment_typeZ _time_createdZ _time_updatedZ_lifecycle_stateZ_lifecycle_detailsZ_freeform_tagsZ _defined_tagsZ_system_tags�_cluster_id�_network_channel)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/devops/models/oke_cluster_deploy_environment.py�__init__ s` F��z$OkeClusterDeployEnvironment.__init__c C s | j S )z� **[Required]** Gets the cluster_id of this OkeClusterDeployEnvironment. The OCID of the Kubernetes cluster. :return: The cluster_id of this OkeClusterDeployEnvironment. :rtype: str �r �r r r r r � s z&OkeClusterDeployEnvironment.cluster_idc C s || _ dS )z� Sets the cluster_id of this OkeClusterDeployEnvironment. The OCID of the Kubernetes cluster. :param cluster_id: The cluster_id of this OkeClusterDeployEnvironment. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the network_channel of this OkeClusterDeployEnvironment. :return: The network_channel of this OkeClusterDeployEnvironment. :rtype: oci.devops.models.NetworkChannel �r r r r r r � s z+OkeClusterDeployEnvironment.network_channelc C s || _ dS )z� Sets the network_channel of this OkeClusterDeployEnvironment. :param network_channel: The network_channel of this OkeClusterDeployEnvironment. :type: oci.devops.models.NetworkChannel Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z$OkeClusterDeployEnvironment.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"OkeClusterDeployEnvironment.__eq__c C s | |k S r r r r r r �__ne__� s z"OkeClusterDeployEnvironment.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s z r N) Zdeploy_environmentr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn