ruạṛ
a ���f7# � @ 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 )#� GetMessagez* A message consumed from a queue. c K sd ddddddddd�| _ dddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a% Initializes a new GetMessage 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 GetMessage. :type id: int :param content: The value to assign to the content property of this GetMessage. :type content: str :param receipt: The value to assign to the receipt property of this GetMessage. :type receipt: str :param delivery_count: The value to assign to the delivery_count property of this GetMessage. :type delivery_count: int :param visible_after: The value to assign to the visible_after property of this GetMessage. :type visible_after: datetime :param expire_after: The value to assign to the expire_after property of this GetMessage. :type expire_after: datetime :param created_at: The value to assign to the created_at property of this GetMessage. :type created_at: datetime :param metadata: The value to assign to the metadata property of this GetMessage. :type metadata: oci.queue.models.MessageMetadata �int�strZdatetimeZMessageMetadata)�id�content�receipt�delivery_count� visible_after�expire_after� created_at�metadatar r r Z deliveryCountZvisibleAfterZexpireAfterZ createdAtr N) Z swagger_typesZ attribute_map�_id�_content�_receipt�_delivery_count�_visible_after� _expire_after�_created_at� _metadata)�self�kwargs� r �@/usr/lib/python3.9/site-packages/oci/queue/models/get_message.py�__init__ s4 '��zGetMessage.__init__c C s | j S )a **[Required]** Gets the id of this GetMessage. The ID of the message. This ID is only used for tracing and debugging purposes and isn't used as a parameter in any request. :return: The id of this GetMessage. :rtype: int �r �r r r r r W s z GetMessage.idc C s || _ dS )z� Sets the id of this GetMessage. The ID of the message. This ID is only used for tracing and debugging purposes and isn't used as a parameter in any request. :param id: The id of this GetMessage. :type: int Nr )r r r r r r c s c C s | j S )z� **[Required]** Gets the content of this GetMessage. The content of the message. :return: The content of this GetMessage. :rtype: str �r r r r r r o s zGetMessage.contentc C s || _ dS )z� Sets the content of this GetMessage. The content of the message. :param content: The content of this GetMessage. :type: str Nr )r r r r r r { s c C s | j S )a0 **[Required]** Gets the receipt of this GetMessage. A receipt is a base64urlencode opaque token, uniquely representing a message. The receipt can be used to delete a message or update its visibility. :return: The receipt of this GetMessage. :rtype: str �r r r r r r � s zGetMessage.receiptc C s || _ dS )a' Sets the receipt of this GetMessage. A receipt is a base64urlencode opaque token, uniquely representing a message. The receipt can be used to delete a message or update its visibility. :param receipt: The receipt of this GetMessage. :type: str Nr! )r r r r r r � s c C s | j S )z� **[Required]** Gets the delivery_count of this GetMessage. The number of times that the message has been delivered to a consumer. :return: The delivery_count of this GetMessage. :rtype: int �r r r r r r � s zGetMessage.delivery_countc C s || _ dS )z� Sets the delivery_count of this GetMessage. The number of times that the message has been delivered to a consumer. :param delivery_count: The delivery_count of this GetMessage. :type: int Nr"