DeleteMessagesResultEntry¶
-
class
oci.queue.models.
DeleteMessagesResultEntry
(**kwargs)¶ Bases:
object
Represents the result of a DeleteMessages request, whether it was successful or not. If a message was successfully deleted from the queue, the entry does not contain any fields. If a message failed to be deleted from the queue, the entry includes the errorCode and errorMessage fields.
Methods
__init__
(**kwargs)Initializes a new DeleteMessagesResultEntry object with values from keyword arguments. Attributes
error_code
Gets the error_code of this DeleteMessagesResultEntry. error_message
Gets the error_message of this DeleteMessagesResultEntry. -
__init__
(**kwargs)¶ Initializes a new DeleteMessagesResultEntry object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - error_code (int) – The value to assign to the error_code property of this DeleteMessagesResultEntry.
- error_message (str) – The value to assign to the error_message property of this DeleteMessagesResultEntry.
-
error_code
¶ Gets the error_code of this DeleteMessagesResultEntry. The error code, in case the message was not successfully deleted from the queue.
Returns: The error_code of this DeleteMessagesResultEntry. Return type: int
-
error_message
¶ Gets the error_message of this DeleteMessagesResultEntry. A human-readable error message associated with the error code.
Returns: The error_message of this DeleteMessagesResultEntry. Return type: str
-