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 @ s e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Zd d!� Zd"S )#�UpdateQueueDetailsz( The information to be updated. c K sd ddddddddd�| _ dddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )aa Initializes a new UpdateQueueDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this UpdateQueueDetails. :type display_name: str :param visibility_in_seconds: The value to assign to the visibility_in_seconds property of this UpdateQueueDetails. :type visibility_in_seconds: int :param timeout_in_seconds: The value to assign to the timeout_in_seconds property of this UpdateQueueDetails. :type timeout_in_seconds: int :param channel_consumption_limit: The value to assign to the channel_consumption_limit property of this UpdateQueueDetails. :type channel_consumption_limit: int :param dead_letter_queue_delivery_count: The value to assign to the dead_letter_queue_delivery_count property of this UpdateQueueDetails. :type dead_letter_queue_delivery_count: int :param custom_encryption_key_id: The value to assign to the custom_encryption_key_id property of this UpdateQueueDetails. :type custom_encryption_key_id: str :param freeform_tags: The value to assign to the freeform_tags property of this UpdateQueueDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateQueueDetails. :type defined_tags: dict(str, dict(str, object)) �str�intzdict(str, str)zdict(str, dict(str, object)))�display_name�visibility_in_seconds�timeout_in_seconds�channel_consumption_limit� dead_letter_queue_delivery_count�custom_encryption_key_id� freeform_tags�defined_tagsZdisplayNameZvisibilityInSecondsZtimeoutInSecondsZchannelConsumptionLimitZdeadLetterQueueDeliveryCountZcustomEncryptionKeyIdZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map� _display_name�_visibility_in_seconds�_timeout_in_seconds�_channel_consumption_limit�!_dead_letter_queue_delivery_count�_custom_encryption_key_id�_freeform_tags� _defined_tags)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/queue/models/update_queue_details.py�__init__ s4 '��zUpdateQueueDetails.__init__c C s | j S )a Gets the display_name of this UpdateQueueDetails. The `OCID`__ of the queue. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The display_name of this UpdateQueueDetails. :rtype: str �r �r r r r r W s zUpdateQueueDetails.display_namec C s || _ dS )a Sets the display_name of this UpdateQueueDetails. The `OCID`__ of the queue. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param display_name: The display_name of this UpdateQueueDetails. :type: str Nr )r r r r r r e s c C s | j S )a Gets the visibility_in_seconds of this UpdateQueueDetails. The default visibility timeout of the messages consumed from the queue, in seconds. :return: The visibility_in_seconds of this UpdateQueueDetails. :rtype: int �r r r r r r s s z(UpdateQueueDetails.visibility_in_secondsc C s || _ dS )a Sets the visibility_in_seconds of this UpdateQueueDetails. The default visibility timeout of the messages consumed from the queue, in seconds. :param visibility_in_seconds: The visibility_in_seconds of this UpdateQueueDetails. :type: int Nr )r r r r r r s c C s | j S )z� Gets the timeout_in_seconds of this UpdateQueueDetails. The default polling timeout of the messages in the queue, in seconds. :return: The timeout_in_seconds of this UpdateQueueDetails. :rtype: int �r r r r r r � s z%UpdateQueueDetails.timeout_in_secondsc C s || _ dS )a Sets the timeout_in_seconds of this UpdateQueueDetails. The default polling timeout of the messages in the queue, in seconds. :param timeout_in_seconds: The timeout_in_seconds of this UpdateQueueDetails. :type: int Nr! )r r r r r r � s c C s | j S )a) Gets the channel_consumption_limit of this UpdateQueueDetails. The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. :return: The channel_consumption_limit of this UpdateQueueDetails. :rtype: int �r r r r r r � s z,UpdateQueueDetails.channel_consumption_limitc C s || _ dS )aA Sets the channel_consumption_limit of this UpdateQueueDetails. The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. :param channel_consumption_limit: The channel_consumption_limit of this UpdateQueueDetails. :type: int Nr"