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