UpdateMessagesResult

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

Bases: object

The response to a UpdateMessages request. It indicates the number of server and client failures as well as an array of entries for successful and failed actions.

Methods

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

Attributes

client_failures [Required] Gets the client_failures of this UpdateMessagesResult.
entries [Required] Gets the entries of this UpdateMessagesResult.
server_failures [Required] Gets the server_failures of this UpdateMessagesResult.
__init__(**kwargs)

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

Parameters:
  • server_failures (int) – The value to assign to the server_failures property of this UpdateMessagesResult.
  • client_failures (int) – The value to assign to the client_failures property of this UpdateMessagesResult.
  • entries (list[oci.queue.models.UpdateMessagesResultEntry]) – The value to assign to the entries property of this UpdateMessagesResult.
client_failures

[Required] Gets the client_failures of this UpdateMessagesResult. The number of messages that failed to be updated in the queue because of a client failure such as an invalid receipt or invalid visibilityInSeconds.

Returns:The client_failures of this UpdateMessagesResult.
Return type:int
entries

[Required] Gets the entries of this UpdateMessagesResult. An array of items representing the result of each action. The order is guaranteed to be the same as in the UpdateMessagesDetails object. 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.

Returns:The entries of this UpdateMessagesResult.
Return type:list[oci.queue.models.UpdateMessagesResultEntry]
server_failures

[Required] Gets the server_failures of this UpdateMessagesResult. The number of messages that failed to be updated in the queue because of a server failure.

Returns:The server_failures of this UpdateMessagesResult.
Return type:int