ruạṛ
a ���fC � @ 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 @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�FunctionDeployEnvironmentz- Specifies the Function environment. c K s� ddddddddddddddd�| _ dddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )ay Initializes a new FunctionDeployEnvironment object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.FunctionDeployEnvironment.deploy_environment_type` attribute of this class is ``FUNCTION`` 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 FunctionDeployEnvironment. :type id: str :param description: The value to assign to the description property of this FunctionDeployEnvironment. :type description: str :param display_name: The value to assign to the display_name property of this FunctionDeployEnvironment. :type display_name: str :param project_id: The value to assign to the project_id property of this FunctionDeployEnvironment. :type project_id: str :param compartment_id: The value to assign to the compartment_id property of this FunctionDeployEnvironment. :type compartment_id: str :param deploy_environment_type: The value to assign to the deploy_environment_type property of this FunctionDeployEnvironment. 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 FunctionDeployEnvironment. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this FunctionDeployEnvironment. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this FunctionDeployEnvironment. 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 FunctionDeployEnvironment. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this FunctionDeployEnvironment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this FunctionDeployEnvironment. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this FunctionDeployEnvironment. :type system_tags: dict(str, dict(str, object)) :param function_id: The value to assign to the function_id property of this FunctionDeployEnvironment. :type function_id: str �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�descriptionZdisplay_nameZ project_idZcompartment_idZdeploy_environment_typeZtime_createdZtime_updatedZlifecycle_stateZlifecycle_detailsZ freeform_tagsZdefined_tagsZsystem_tags�function_idr r ZdisplayNameZ projectIdZ compartmentIdZdeployEnvironmentTypeZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZ functionIdNZFUNCTION)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�_function_id)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/devops/models/function_deploy_environment.py�__init__ sZ B��z"FunctionDeployEnvironment.__init__c C s | j S )z� **[Required]** Gets the function_id of this FunctionDeployEnvironment. The OCID of the Function. :return: The function_id of this FunctionDeployEnvironment. :rtype: str �r �r r r r r � s z%FunctionDeployEnvironment.function_idc C s || _ dS )z� Sets the function_id of this FunctionDeployEnvironment. The OCID of the Function. :param function_id: The function_id of this FunctionDeployEnvironment. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z"FunctionDeployEnvironment.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z FunctionDeployEnvironment.__eq__c C s | |k S r r r r r r �__ne__� s z FunctionDeployEnvironment.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s s r N) Zdeploy_environmentr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn