PublishResult¶
-
class
oci.ons.models.
PublishResult
(**kwargs)¶ Bases:
object
The response to a PublishMessage call.
Methods
__init__
(**kwargs)Initializes a new PublishResult object with values from keyword arguments. Attributes
message_id
[Required] Gets the message_id of this PublishResult. time_stamp
Gets the time_stamp of this PublishResult. -
__init__
(**kwargs)¶ Initializes a new PublishResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - message_id (str) – The value to assign to the message_id property of this PublishResult.
- time_stamp (datetime) – The value to assign to the time_stamp property of this PublishResult.
-
message_id
¶ [Required] Gets the message_id of this PublishResult. The UUID of the message.
Returns: The message_id of this PublishResult. Return type: str
-
time_stamp
¶ Gets the time_stamp of this PublishResult. The time that the service received the message.
Returns: The time_stamp of this PublishResult. Return type: datetime
-