File: //lib/python3.9/site-packages/oci/functions/models/__pycache__/function_summary.cpython-39.pyc
a
���fiV � @ 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 ZdZdZdZdZdd� Zedd� �Z e j
d d� �Z ed
d� �Zej
dd� �Zed
d� �Zej
dd� �Zedd� �Z
e
j
dd� �Z
edd� �Zej
dd� �Zedd� �Zej
dd� �Zedd� �Zej
dd� �Zedd� �Zej
dd� �Zedd � �Zej
d!d � �Zed"d#� �Zej
d$d#� �Zed%d&� �Zej
d'd&� �Zed(d)� �Zej
d*d)� �Zed+d,� �Zej
d-d,� �Zed.d/� �Zej
d0d/� �Zed1d2� �Zej
d3d2� �Zed4d5� �Zej
d6d5� �Zed7d8� �Zej
d9d8� �Zed:d;� �Zej
d<d;� �Zd=d>� Zd?d@� ZdAdB� ZdCS )D�FunctionSummaryz
Summary of a function.
�GENERIC_X86�GENERIC_ARM�GENERIC_X86_ARMc K s� ddddddddddddddddddd �| _ d
ddd
ddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _d| _d| _d| _dS )a�
Initializes a new FunctionSummary object with values from keyword arguments.
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 FunctionSummary.
:type id: str
:param display_name:
The value to assign to the display_name property of this FunctionSummary.
:type display_name: str
:param application_id:
The value to assign to the application_id property of this FunctionSummary.
:type application_id: str
:param compartment_id:
The value to assign to the compartment_id property of this FunctionSummary.
:type compartment_id: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this FunctionSummary.
:type lifecycle_state: str
:param image:
The value to assign to the image property of this FunctionSummary.
:type image: str
:param image_digest:
The value to assign to the image_digest property of this FunctionSummary.
:type image_digest: str
:param source_details:
The value to assign to the source_details property of this FunctionSummary.
:type source_details: oci.functions.models.FunctionSourceDetails
:param shape:
The value to assign to the shape property of this FunctionSummary.
Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type shape: str
:param memory_in_mbs:
The value to assign to the memory_in_mbs property of this FunctionSummary.
:type memory_in_mbs: int
:param timeout_in_seconds:
The value to assign to the timeout_in_seconds property of this FunctionSummary.
:type timeout_in_seconds: int
:param provisioned_concurrency_config:
The value to assign to the provisioned_concurrency_config property of this FunctionSummary.
:type provisioned_concurrency_config: oci.functions.models.FunctionProvisionedConcurrencyConfig
:param trace_config:
The value to assign to the trace_config property of this FunctionSummary.
:type trace_config: oci.functions.models.FunctionTraceConfig
:param freeform_tags:
The value to assign to the freeform_tags property of this FunctionSummary.
:type freeform_tags: dict(str, str)
:param invoke_endpoint:
The value to assign to the invoke_endpoint property of this FunctionSummary.
:type invoke_endpoint: str
:param defined_tags:
The value to assign to the defined_tags property of this FunctionSummary.
:type defined_tags: dict(str, dict(str, object))
:param time_created:
The value to assign to the time_created property of this FunctionSummary.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this FunctionSummary.
:type time_updated: datetime
�strZFunctionSourceDetails�intZ$FunctionProvisionedConcurrencyConfigZFunctionTraceConfigzdict(str, str)zdict(str, dict(str, object))Zdatetime)�id�display_name�application_id�compartment_id�lifecycle_state�image�image_digest�source_details�shape�
memory_in_mbs�timeout_in_seconds�provisioned_concurrency_config�trace_config�
freeform_tags�invoke_endpoint�defined_tags�time_created�time_updatedr ZdisplayNameZ
applicationIdZ
compartmentIdZlifecycleStater ZimageDigestZ
sourceDetailsr ZmemoryInMBsZtimeoutInSecondsZprovisionedConcurrencyConfigZtraceConfigZfreeformTagsZinvokeEndpointZdefinedTagsZtimeCreatedZtimeUpdatedN)Z
swagger_typesZ
attribute_map�_id�
_display_name�_application_id�_compartment_id�_lifecycle_state�_image�
_image_digest�_source_details�_shape�_memory_in_mbs�_timeout_in_seconds�_provisioned_concurrency_config�
_trace_config�_freeform_tags�_invoke_endpoint�
_defined_tags�
_time_created�
_time_updated)�self�kwargs� r2 �I/usr/lib/python3.9/site-packages/oci/functions/models/function_summary.py�__init__ sp Q��zFunctionSummary.__init__c C s | j S )a
**[Required]** Gets the id of this FunctionSummary.
The `OCID`__ of the function.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:return: The id of this FunctionSummary.
:rtype: str
�r �r0 r2 r2 r3 r � s zFunctionSummary.idc C s
|| _ dS )z�
Sets the id of this FunctionSummary.
The `OCID`__ of the function.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param id: The id of this FunctionSummary.
:type: str
Nr5 )r0 r r2 r2 r3 r � s c C s | j S )a
Gets the display_name of this FunctionSummary.
The display name of the function. The display name is unique within the application containing the function.
:return: The display_name of this FunctionSummary.
:rtype: str
�r r6 r2 r2 r3 r
� s
zFunctionSummary.display_namec C s
|| _ dS )a
Sets the display_name of this FunctionSummary.
The display name of the function. The display name is unique within the application containing the function.
:param display_name: The display_name of this FunctionSummary.
:type: str
Nr7 )r0 r
r2 r2 r3 r
� s
c C s | j S )z�
Gets the application_id of this FunctionSummary.
The OCID of the application the function belongs to.
:return: The application_id of this FunctionSummary.
:rtype: str
�r r6 r2 r2 r3 r � s
zFunctionSummary.application_idc C s
|| _ dS )z�
Sets the application_id of this FunctionSummary.
The OCID of the application the function belongs to.
:param application_id: The application_id of this FunctionSummary.
:type: str
Nr8 )r0 r r2 r2 r3 r � s
c C s | j S )z�
Gets the compartment_id of this FunctionSummary.
The OCID of the compartment that contains the function.
:return: The compartment_id of this FunctionSummary.
:rtype: str
�r! r6 r2 r2 r3 r � s
zFunctionSummary.compartment_idc C s
|| _ dS )z�
Sets the compartment_id of this FunctionSummary.
The OCID of the compartment that contains the function.
:param compartment_id: The compartment_id of this FunctionSummary.
:type: str
Nr9 )r0 r r2 r2 r3 r s
c C s | j S )z�
Gets the lifecycle_state of this FunctionSummary.
The current state of the function.
:return: The lifecycle_state of this FunctionSummary.
:rtype: str
�r"