File: //usr/libexec/oracle-cloud-agent/plugins/osms/oci/devops/models/function_deploy_environment.pyc
a
N��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 @ 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
�str�datetimezdict(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_tags�function_idr r �displayName� projectId�
compartmentId�deployEnvironmentType�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�freeformTags�definedTags�
systemTags�
functionIdN�FUNCTION)�
swagger_types�
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�_function_id)�self�kwargs� r8 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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
�r5 �r6 r8 r8 r9 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; )r6 r r8 r8 r9 r � s
c C s t | �S �N)r r<