ruạṛ
a ���f� � @ 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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�PurgeQueueDetailsz Purge parameters. �NORMAL�DLQ�BOTHc K s( ddd�| _ ddd�| _d| _d| _dS )a@ Initializes a new PurgeQueueDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param purge_type: The value to assign to the purge_type property of this PurgeQueueDetails. Allowed values for this property are: "NORMAL", "DLQ", "BOTH" :type purge_type: str :param channel_ids: The value to assign to the channel_ids property of this PurgeQueueDetails. :type channel_ids: list[str] �strz list[str])� purge_type�channel_idsZ purgeTypeZ channelIdsN)Z swagger_typesZ attribute_map�_purge_type�_channel_ids)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/queue/models/purge_queue_details.py�__init__ s ��zPurgeQueueDetails.__init__c C s | j S )a� **[Required]** Gets the purge_type of this PurgeQueueDetails. Type of the purge to perform: - NORMAL - purge only the normal queue - DLQ - purge only the dead letter queue - BOTH - purge both the normal queue and the dead letter queue Allowed values for this property are: "NORMAL", "DLQ", "BOTH" :return: The purge_type of this PurgeQueueDetails. :rtype: str )r �r r r r r : s zPurgeQueueDetails.purge_typec C s* g d�}t ||�s td|� ���|| _dS )ag Sets the purge_type of this PurgeQueueDetails. Type of the purge to perform: - NORMAL - purge only the normal queue - DLQ - purge only the dead letter queue - BOTH - purge both the normal queue and the dead letter queue :param purge_type: The purge_type of this PurgeQueueDetails. :type: str )r r r z7Invalid value for `purge_type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r K s �c C s | j S )a� Gets the channel_ids of this PurgeQueueDetails. Optional parameter to specify the destination of purge operation. If the channel ID is specified, the purge operation will delete all the messages in the specific channels. If the channel ID is not specified, the purge operation will delete all the messages in the queue and in the child channels. :return: The channel_ids of this PurgeQueueDetails. :rtype: list[str] �r r r r r r _ s zPurgeQueueDetails.channel_idsc C s || _ dS )a� Sets the channel_ids of this PurgeQueueDetails. Optional parameter to specify the destination of purge operation. If the channel ID is specified, the purge operation will delete all the messages in the specific channels. If the channel ID is not specified, the purge operation will delete all the messages in the queue and in the child channels. :param channel_ids: The channel_ids of this PurgeQueueDetails. :type: list[str] Nr )r r r r r r m s c C s t | �S �N)r r r r r �__repr__{ s zPurgeQueueDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__~ s zPurgeQueueDetails.__eq__c C s | |k S r r r r r r �__ne__� s zPurgeQueueDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZPURGE_TYPE_NORMALZPURGE_TYPE_DLQZPURGE_TYPE_BOTHr �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn