PutMessagesResult¶
-
class
oci.streaming.models.
PutMessagesResult
(**kwargs)¶ Bases:
object
The response to a
put_messages()
request. It indicates the number of failed messages as well as an array of results for successful and failed messages.Methods
__init__
(**kwargs)Initializes a new PutMessagesResult object with values from keyword arguments. Attributes
entries
[Required] Gets the entries of this PutMessagesResult. failures
[Required] Gets the failures of this PutMessagesResult. -
__init__
(**kwargs)¶ Initializes a new PutMessagesResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - failures (int) – The value to assign to the failures property of this PutMessagesResult.
- entries (list[oci.streaming.models.PutMessagesResultEntry]) – The value to assign to the entries property of this PutMessagesResult.
-
entries
¶ [Required] Gets the entries of this PutMessagesResult. An array of items representing the result of each message. The order is guaranteed to be the same as in the PutMessagesDetails object. If a message was successfully appended to the stream, the entry includes the offset, partition, and timestamp. If a message failed to be appended to the stream, the entry includes the error and errorMessage.
Returns: The entries of this PutMessagesResult. Return type: list[oci.streaming.models.PutMessagesResultEntry]
-
failures
¶ [Required] Gets the failures of this PutMessagesResult. The number of messages that failed to be added to the stream.
Returns: The failures of this PutMessagesResult. Return type: int
-