ruạṛ
a N��fR � @ 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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zd;d<� Zd=d>� Zd?d@� Z dAS )B�FunctionSummaryz Summary of a function. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s� ddddddddddddddddd�| _ d d ddd dddddddddddd�| _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. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :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 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 �str�int�$FunctionProvisionedConcurrencyConfig�FunctionTraceConfigzdict(str, str)zdict(str, dict(str, object))�datetime)�id�display_name�application_id�compartment_id�lifecycle_state�image�image_digest� memory_in_mbs�timeout_in_seconds�provisioned_concurrency_config�trace_config� freeform_tags�invoke_endpoint�defined_tags�time_created�time_updatedr �displayName� applicationId� compartmentId�lifecycleStater �imageDigest�memoryInMBs�timeoutInSeconds�provisionedConcurrencyConfig�traceConfig�freeformTags�invokeEndpoint�definedTags�timeCreated�timeUpdatedN)� swagger_types� attribute_map�_id� _display_name�_application_id�_compartment_id�_lifecycle_state�_image� _image_digest�_memory_in_mbs�_timeout_in_seconds�_provisioned_concurrency_config� _trace_config�_freeform_tags�_invoke_endpoint� _defined_tags� _time_created� _time_updated)�self�kwargs� rE ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/functions/models/function_summary.py�__init__, sd I��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 �r3 �rC rE rE rF 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 NrH )rC r rE rE rF 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 �r4 rI rE rE rF 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 NrJ )rC r rE rE rF 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 �r5 rI rE rE rF 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 NrK )rC r rE rE rF 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 �r6 rI rE rE rF 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 NrL )rC r rE rE rF r s c C s | j S )a� Gets the lifecycle_state of this FunctionSummary. The current state of the function. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this FunctionSummary. :rtype: str )r7 rI rE rE rF r s zFunctionSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this FunctionSummary. The current state of the function. :param lifecycle_state: The lifecycle_state of this FunctionSummary. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r7 )rC r �allowed_valuesrE rE rF r s c C s | j S )a� Gets the image of this FunctionSummary. The qualified name of the Docker image to use in the function, including the image tag. The image should be in the OCI Registry that is in the same region as the function itself. Example: `phx.ocir.io/ten/functions/function:0.0.1` :return: The image of this FunctionSummary. :rtype: str �r8 rI rE rE rF r - s zFunctionSummary.imagec C s || _ dS )a� Sets the image of this FunctionSummary. The qualified name of the Docker image to use in the function, including the image tag. The image should be in the OCI Registry that is in the same region as the function itself. Example: `phx.ocir.io/ten/functions/function:0.0.1` :param image: The image of this FunctionSummary. :type: str NrO )rC r rE rE rF r ; s c C s | j S )a� Gets the image_digest of this FunctionSummary. The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the OCI Registry will be used. Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7` :return: The image_digest of this FunctionSummary. :rtype: str �r9 rI rE rE rF r I s zFunctionSummary.image_digestc C s || _ dS )a� Sets the image_digest of this FunctionSummary. The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the OCI Registry will be used. Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7` :param image_digest: The image_digest of this FunctionSummary. :type: str NrP )rC r rE rE rF r W s c C s | j S )z� Gets the memory_in_mbs of this FunctionSummary. Maximum usable memory for the function (MiB). :return: The memory_in_mbs of this FunctionSummary. :rtype: int �r: rI rE rE rF r e s zFunctionSummary.memory_in_mbsc C s || _ dS )z� Sets the memory_in_mbs of this FunctionSummary. Maximum usable memory for the function (MiB). :param memory_in_mbs: The memory_in_mbs of this FunctionSummary. :type: int NrQ )rC r rE rE rF r q s c C s | j S )z� Gets the timeout_in_seconds of this FunctionSummary. Timeout for executions of the function. Value in seconds. :return: The timeout_in_seconds of this FunctionSummary. :rtype: int �r; rI rE rE rF r } s z"FunctionSummary.timeout_in_secondsc C s || _ dS )z� Sets the timeout_in_seconds of this FunctionSummary. Timeout for executions of the function. Value in seconds. :param timeout_in_seconds: The timeout_in_seconds of this FunctionSummary. :type: int NrR )rC r rE rE rF r � s c C s | j S )z� Gets the provisioned_concurrency_config of this FunctionSummary. :return: The provisioned_concurrency_config of this FunctionSummary. :rtype: oci.functions.models.FunctionProvisionedConcurrencyConfig �r<