UpdateMessagesResultEntry

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

Bases: object

Represents the result of a UpdateMessages request, whether it was successful or not. If a message was successfully updated in the queue, the entry includes the id and visibleAfter fields. If a message failed to be updated in the queue, the entry includes the errorCode and errorMessage fields.

Methods

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

Attributes

error_code Gets the error_code of this UpdateMessagesResultEntry.
error_message Gets the error_message of this UpdateMessagesResultEntry.
id Gets the id of this UpdateMessagesResultEntry.
visible_after Gets the visible_after of this UpdateMessagesResultEntry.
__init__(**kwargs)

Initializes a new UpdateMessagesResultEntry 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 UpdateMessagesResultEntry.
  • visible_after (datetime) – The value to assign to the visible_after property of this UpdateMessagesResultEntry.
  • error_code (int) – The value to assign to the error_code property of this UpdateMessagesResultEntry.
  • error_message (str) – The value to assign to the error_message property of this UpdateMessagesResultEntry.
error_code

Gets the error_code of this UpdateMessagesResultEntry. The error code, in case the message was not successfully updated in the queue.

Returns:The error_code of this UpdateMessagesResultEntry.
Return type:int
error_message

Gets the error_message of this UpdateMessagesResultEntry. A human-readable error message associated with the error code.

Returns:The error_message of this UpdateMessagesResultEntry.
Return type:str
id

Gets the id of this UpdateMessagesResultEntry. The ID of the message that’s been updated.

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

Gets the visible_after of this UpdateMessagesResultEntry. 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 UpdateMessagesResultEntry.
Return type:datetime