ruạṛ
a O��f�J � @ 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/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�Queuez Description of Queue. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )aI Initializes a new Queue 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 Queue. :type id: str :param display_name: The value to assign to the display_name property of this Queue. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this Queue. :type compartment_id: str :param time_created: The value to assign to the time_created property of this Queue. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Queue. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Queue. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "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 lifecycle_details: The value to assign to the lifecycle_details property of this Queue. :type lifecycle_details: str :param messages_endpoint: The value to assign to the messages_endpoint property of this Queue. :type messages_endpoint: str :param retention_in_seconds: The value to assign to the retention_in_seconds property of this Queue. :type retention_in_seconds: int :param visibility_in_seconds: The value to assign to the visibility_in_seconds property of this Queue. :type visibility_in_seconds: int :param timeout_in_seconds: The value to assign to the timeout_in_seconds property of this Queue. :type timeout_in_seconds: int :param dead_letter_queue_delivery_count: The value to assign to the dead_letter_queue_delivery_count property of this Queue. :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 Queue. :type custom_encryption_key_id: str :param freeform_tags: The value to assign to the freeform_tags property of this Queue. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Queue. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Queue. :type system_tags: dict(str, dict(str, object)) �str�datetime�intzdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�time_created�time_updated�lifecycle_state�lifecycle_details�messages_endpoint�retention_in_seconds�visibility_in_seconds�timeout_in_seconds� dead_letter_queue_delivery_count�custom_encryption_key_id� freeform_tags�defined_tags�system_tagsr �displayName� compartmentId�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�messagesEndpoint�retentionInSeconds�visibilityInSeconds�timeoutInSeconds�deadLetterQueueDeliveryCount�customEncryptionKeyId�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_compartment_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_messages_endpoint�_retention_in_seconds�_visibility_in_seconds�_timeout_in_seconds�!_dead_letter_queue_delivery_count�_custom_encryption_key_id�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rC �z/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/queue/models/queue.py�__init__( sd I��zQueue.__init__c C s | j S )z� **[Required]** Gets the id of this Queue. Unique identifier that is immutable on creation :return: The id of this Queue. :rtype: str �r1 �rA rC rC rD r � s zQueue.idc C s || _ dS )z� Sets the id of this Queue. Unique identifier that is immutable on creation :param id: The id of this Queue. :type: str NrF )rA r rC rC rD r � s c C s | j S )z� Gets the display_name of this Queue. Queue Identifier, can be renamed :return: The display_name of this Queue. :rtype: str �r2 rG rC rC rD r � s zQueue.display_namec C s || _ dS )z� Sets the display_name of this Queue. Queue Identifier, can be renamed :param display_name: The display_name of this Queue. :type: str NrH )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the compartment_id of this Queue. Compartment Identifier :return: The compartment_id of this Queue. :rtype: str �r3 rG rC rC rD r � s zQueue.compartment_idc C s || _ dS )z� Sets the compartment_id of this Queue. Compartment Identifier :param compartment_id: The compartment_id of this Queue. :type: str NrI )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the time_created of this Queue. The time the the Queue was created. An RFC3339 formatted datetime string :return: The time_created of this Queue. :rtype: datetime �r4 rG rC rC rD r � s zQueue.time_createdc C s || _ dS )z� Sets the time_created of this Queue. The time the the Queue was created. An RFC3339 formatted datetime string :param time_created: The time_created of this Queue. :type: datetime NrJ )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the time_updated of this Queue. The time the Queue was updated. An RFC3339 formatted datetime string :return: The time_updated of this Queue. :rtype: datetime �r5 rG rC rC rD r s zQueue.time_updatedc C s || _ dS )z� Sets the time_updated of this Queue. The time the Queue was updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this Queue. :type: datetime NrK )rA r rC rC rD r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Queue. The current state of the Queue. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "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 Queue. :rtype: str )r6 rG rC rC rD r s zQueue.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Queue. The current state of the Queue. :param lifecycle_state: The lifecycle_state of this Queue. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r6 )rA r �allowed_valuesrC rC rD r . s c C s | j S )a! Gets the lifecycle_details of this Queue. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this Queue. :rtype: str �r7 rG rC rC rD r = s zQueue.lifecycle_detailsc C s || _ dS )a1 Sets the lifecycle_details of this Queue. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this Queue. :type: str NrN )rA r rC rC rD r I s c C s | j S )z� **[Required]** Gets the messages_endpoint of this Queue. The endpoint to use to consume or publish messages in the queue. :return: The messages_endpoint of this Queue. :rtype: str �r8 rG rC rC rD r U s zQueue.messages_endpointc C s || _ dS )z� Sets the messages_endpoint of this Queue. The endpoint to use to consume or publish messages in the queue. :param messages_endpoint: The messages_endpoint of this Queue. :type: str NrO )rA r rC rC rD r a s c C s | j S )z� **[Required]** Gets the retention_in_seconds of this Queue. The retention period of the messages in the queue, in seconds. :return: The retention_in_seconds of this Queue. :rtype: int �r9 rG rC rC rD r m s zQueue.retention_in_secondsc C s || _ dS )z� Sets the retention_in_seconds of this Queue. The retention period of the messages in the queue, in seconds. :param retention_in_seconds: The retention_in_seconds of this Queue. :type: int NrP )rA r rC rC rD r y s c C s | j S )z� **[Required]** Gets the visibility_in_seconds of this Queue. The default visibility of the messages consumed from the queue. :return: The visibility_in_seconds of this Queue. :rtype: int �r: rG rC rC rD r � s zQueue.visibility_in_secondsc C s || _ dS )z� Sets the visibility_in_seconds of this Queue. The default visibility of the messages consumed from the queue. :param visibility_in_seconds: The visibility_in_seconds of this Queue. :type: int NrQ )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the timeout_in_seconds of this Queue. The default polling timeout of the messages in the queue, in seconds. :return: The timeout_in_seconds of this Queue. :rtype: int �r; rG rC rC rD r � s zQueue.timeout_in_secondsc C s || _ dS )z� Sets the timeout_in_seconds of this Queue. The default polling timeout of the messages in the queue, in seconds. :param timeout_in_seconds: The timeout_in_seconds of this Queue. :type: int NrR )rA r rC rC rD r � s c C s | j S )aW **[Required]** Gets the dead_letter_queue_delivery_count of this Queue. The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. :return: The dead_letter_queue_delivery_count of this Queue. :rtype: int �r<