MessageMetadata¶
-
class
oci.queue.models.
MessageMetadata
(**kwargs)¶ Bases:
object
Object that represents metadata for message.
Methods
__init__
(**kwargs)Initializes a new MessageMetadata object with values from keyword arguments. Attributes
channel_id
[Required] Gets the channel_id of this MessageMetadata. custom_properties
Gets the custom_properties of this MessageMetadata. -
__init__
(**kwargs)¶ Initializes a new MessageMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - channel_id (str) – The value to assign to the channel_id property of this MessageMetadata.
- custom_properties (dict(str, str)) – The value to assign to the custom_properties property of this MessageMetadata.
-
channel_id
¶ [Required] Gets the channel_id of this MessageMetadata. The channel ID which specifies the channel to publish or retrieve messages.
Returns: The channel_id of this MessageMetadata. Return type: str
-
custom_properties
¶ Gets the custom_properties of this MessageMetadata. Additional message properties
Returns: The custom_properties of this MessageMetadata. Return type: dict(str, str)
-