ruạṛ
a ���fbC � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �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/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8� StreamPoolz' The details of a stream pool. �CREATING�ACTIVE�DELETING�DELETED�FAILED�UPDATINGc K s� dddddddddddddd � | _ d ddd dddddddddd � | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new StreamPool 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 StreamPool. :type id: str :param compartment_id: The value to assign to the compartment_id property of this StreamPool. :type compartment_id: str :param name: The value to assign to the name property of this StreamPool. :type name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this StreamPool. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_state_details: The value to assign to the lifecycle_state_details property of this StreamPool. :type lifecycle_state_details: str :param time_created: The value to assign to the time_created property of this StreamPool. :type time_created: datetime :param kafka_settings: The value to assign to the kafka_settings property of this StreamPool. :type kafka_settings: oci.streaming.models.KafkaSettings :param custom_encryption_key: The value to assign to the custom_encryption_key property of this StreamPool. :type custom_encryption_key: oci.streaming.models.CustomEncryptionKey :param is_private: The value to assign to the is_private property of this StreamPool. :type is_private: bool :param endpoint_fqdn: The value to assign to the endpoint_fqdn property of this StreamPool. :type endpoint_fqdn: str :param private_endpoint_settings: The value to assign to the private_endpoint_settings property of this StreamPool. :type private_endpoint_settings: oci.streaming.models.PrivateEndpointSettings :param freeform_tags: The value to assign to the freeform_tags property of this StreamPool. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this StreamPool. :type defined_tags: dict(str, dict(str, object)) �strZdatetimeZ KafkaSettingsZCustomEncryptionKey�boolZPrivateEndpointSettingszdict(str, str)zdict(str, dict(str, object))) �id�compartment_id�name�lifecycle_state�lifecycle_state_details�time_created�kafka_settings�custom_encryption_key� is_private� endpoint_fqdn�private_endpoint_settings� freeform_tags�defined_tagsr Z compartmentIdr ZlifecycleStateZlifecycleStateDetailsZtimeCreatedZ kafkaSettingsZcustomEncryptionKeyZ isPrivateZendpointFqdnZprivateEndpointSettingsZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id�_name�_lifecycle_state�_lifecycle_state_details� _time_created�_kafka_settings�_custom_encryption_key�_is_private�_endpoint_fqdn�_private_endpoint_settings�_freeform_tags� _defined_tags)�self�kwargs� r+ �D/usr/lib/python3.9/site-packages/oci/streaming/models/stream_pool.py�__init__* sR =��zStreamPool.__init__c C s | j S )z� **[Required]** Gets the id of this StreamPool. The OCID of the stream pool. :return: The id of this StreamPool. :rtype: str �r �r) r+ r+ r, r � s z StreamPool.idc C s || _ dS )z� Sets the id of this StreamPool. The OCID of the stream pool. :param id: The id of this StreamPool. :type: str Nr. )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the compartment_id of this StreamPool. Compartment OCID that the pool belongs to. :return: The compartment_id of this StreamPool. :rtype: str �r r/ r+ r+ r, r � s zStreamPool.compartment_idc C s || _ dS )z� Sets the compartment_id of this StreamPool. Compartment OCID that the pool belongs to. :param compartment_id: The compartment_id of this StreamPool. :type: str Nr0 )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the name of this StreamPool. The name of the stream pool. :return: The name of this StreamPool. :rtype: str �r r/ r+ r+ r, r � s zStreamPool.namec C s || _ dS )z� Sets the name of this StreamPool. The name of the stream pool. :param name: The name of this StreamPool. :type: str Nr1 )r) r r+ r+ r, r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this StreamPool. The current state of the stream pool. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this StreamPool. :rtype: str )r r/ r+ r+ r, r � s zStreamPool.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this StreamPool. The current state of the stream pool. :param lifecycle_state: The lifecycle_state of this StreamPool. :type: str )r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r) r Zallowed_valuesr+ r+ r, r � s c C s | j S )z� Gets the lifecycle_state_details of this StreamPool. Any additional details about the current state of the stream. :return: The lifecycle_state_details of this StreamPool. :rtype: str �r r/ r+ r+ r, r � s z"StreamPool.lifecycle_state_detailsc C s || _ dS )z� Sets the lifecycle_state_details of this StreamPool. Any additional details about the current state of the stream. :param lifecycle_state_details: The lifecycle_state_details of this StreamPool. :type: str Nr2 )r) r r+ r+ r, r s c C s | j S )a] **[Required]** Gets the time_created of this StreamPool. The date and time the stream pool was created, expressed in in `RFC 3339`__ timestamp format. Example: `2018-04-20T00:00:07.405Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The time_created of this StreamPool. :rtype: datetime �r! r/ r+ r+ r, r s zStreamPool.time_createdc C s || _ dS )aY Sets the time_created of this StreamPool. The date and time the stream pool was created, expressed in in `RFC 3339`__ timestamp format. Example: `2018-04-20T00:00:07.405Z` __ https://tools.ietf.org/rfc/rfc3339 :param time_created: The time_created of this StreamPool. :type: datetime Nr3 )r) r r+ r+ r, r " s c C s | j S )z� **[Required]** Gets the kafka_settings of this StreamPool. :return: The kafka_settings of this StreamPool. :rtype: oci.streaming.models.KafkaSettings �r"