PutMessagesDetailsEntry¶
-
class
oci.queue.models.
PutMessagesDetailsEntry
(**kwargs)¶ Bases:
object
Object that represents a message to publish into a queue.
Methods
__init__
(**kwargs)Initializes a new PutMessagesDetailsEntry object with values from keyword arguments. Attributes
content
[Required] Gets the content of this PutMessagesDetailsEntry. metadata
Gets the metadata 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: - content (str) – The value to assign to the content property of this PutMessagesDetailsEntry.
- metadata (oci.queue.models.MessageMetadata) – The value to assign to the metadata property of this PutMessagesDetailsEntry.
-
content
¶ [Required] Gets the content of this PutMessagesDetailsEntry. The content of the message
Returns: The content of this PutMessagesDetailsEntry. Return type: str
-
metadata
¶ Gets the metadata of this PutMessagesDetailsEntry.
Returns: The metadata of this PutMessagesDetailsEntry. Return type: oci.queue.models.MessageMetadata
-