UpdateMessagesResultEntry¶
-
class
oci.queue.models.UpdateMessagesResultEntry(**kwargs)¶ Bases:
objectRepresents 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_codeGets the error_code of this UpdateMessagesResultEntry. error_messageGets the error_message of this UpdateMessagesResultEntry. idGets the id of this UpdateMessagesResultEntry. visible_afterGets 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
-