UpdatedMessage

class oci.queue.models.UpdatedMessage(**kwargs)

Bases: object

An updated message with the new visibility.

Methods

__init__(**kwargs) Initializes a new UpdatedMessage object with values from keyword arguments.

Attributes

id [Required] Gets the id of this UpdatedMessage.
visible_after [Required] Gets the visible_after of this UpdatedMessage.
__init__(**kwargs)

Initializes a new UpdatedMessage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (int) – The value to assign to the id property of this UpdatedMessage.
  • visible_after (datetime) – The value to assign to the visible_after property of this UpdatedMessage.
id

[Required] Gets the id of this UpdatedMessage. The ID of the message that’s been updated.

Returns:The id of this UpdatedMessage.
Return type:int
visible_after

[Required] Gets the visible_after of this UpdatedMessage. 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

Returns:The visible_after of this UpdatedMessage.
Return type:datetime