a ýÎòf7#ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@seZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZed d „ƒZ e jd d „ƒZ ed d„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZdd„Zdd„Zd d!„Zd"S)#Ú GetMessagez* A message consumed from a queue. c Ksddddddddddœ|_dddd d d d d 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 deliveryCountZ visibleAfterZ expireAfterZ createdAtrN) 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__cCs|jS)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©rrrrr Ws z GetMessage.idcCs ||_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)rr rrrr cs cCs|jS)z° **[Required]** Gets the content of this GetMessage. The content of the message. :return: The content of this GetMessage. :rtype: str ©rrrrrr os zGetMessage.contentcCs ||_dS)z§ Sets the content of this GetMessage. The content of the message. :param content: The content of this GetMessage. :type: str Nr )rr rrrr {s cCs|jS)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 ©rrrrrr ‡s zGetMessage.receiptcCs ||_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!)rr rrrr ”s cCs|jS)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 ©rrrrrr ¡s zGetMessage.delivery_countcCs ||_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")rr rrrr ­s cCs|jS)ar **[Required]** Gets the visible_after of this GetMessage. The time after which the message will be visible to other consumers, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-20T00:00:07.405Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The visible_after of this GetMessage. :rtype: datetime ©rrrrrr ¹szGetMessage.visible_aftercCs ||_dS)ao Sets the visible_after of this GetMessage. The time after which the message will be visible to other consumers, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-20T00:00:07.405Z` __ https://tools.ietf.org/rfc/rfc3339 :param visible_after: The visible_after of this GetMessage. :type: datetime Nr#)rr rrrr ÉscCs|jS)ak **[Required]** Gets the expire_after of this GetMessage. The time after which the message will be automatically deleted, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-20T00:00:07.405Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The expire_after of this GetMessage. :rtype: datetime ©rrrrrrÙszGetMessage.expire_aftercCs ||_dS)ag Sets the expire_after of this GetMessage. The time after which the message will be automatically deleted, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-20T00:00:07.405Z` __ https://tools.ietf.org/rfc/rfc3339 :param expire_after: The expire_after of this GetMessage. :type: datetime Nr$)rrrrrréscCs|jS)zø **[Required]** Gets the created_at of this GetMessage. The time when message was created in queue. Example: `2018-04-20T00:00:07.405Z` :return: The created_at of this GetMessage. :rtype: datetime ©rrrrrrùs zGetMessage.created_atcCs ||_dS)zò Sets the created_at of this GetMessage. The time when message was created in queue. Example: `2018-04-20T00:00:07.405Z` :param created_at: The created_at of this GetMessage. :type: datetime Nr%)rrrrrrs cCs|jS)z› Gets the metadata of this GetMessage. :return: The metadata of this GetMessage. :rtype: oci.queue.models.MessageMetadata ©rrrrrrszGetMessage.metadatacCs ||_dS)z¢ Sets the metadata of this GetMessage. :param metadata: The metadata of this GetMessage. :type: oci.queue.models.MessageMetadata Nr&)rrrrrrscCst|ƒS©N)rrrrrÚ__repr__)szGetMessage.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__,szGetMessage.__eq__cCs ||k Sr'rr*rrrÚ__ne__2szGetMessage.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr r r r rrrr(r,r-rrrrr sJE                rN)Zoci.utilrrrZoci.decoratorsrÚobjectrrrrrÚs