PutMessagesDetailsEntry

class oci.streaming.models.PutMessagesDetailsEntry(**kwargs)

Bases: object

Object that represents a message to emit to a stream.

Methods

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

Attributes

key Gets the key of this PutMessagesDetailsEntry.
value [Required] Gets the value of this PutMessagesDetailsEntry.
__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this PutMessagesDetailsEntry.
  • value (str) – The value to assign to the value property of this PutMessagesDetailsEntry.
key

Gets the key of this PutMessagesDetailsEntry. The key of the message, expressed as a byte array up to 256 bytes in size. Messages with the same key are stored in the same partition.

Returns:The key of this PutMessagesDetailsEntry.
Return type:str
value

[Required] Gets the value of this PutMessagesDetailsEntry. The message, expressed as a byte array up to 1 MiB in size.

Returns:The value of this PutMessagesDetailsEntry.
Return type:str