Class: TencentCloud::Tdmq::V20200217::ProducerLog
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ProducerLog
- Defined in:
- lib/v20200217/models.rb
Overview
消息生产信息
Instance Attribute Summary collapse
- #MsgId ⇒ Object
- #ProducerAddr ⇒ Object
- #ProducerName ⇒ Object
- #ProduceTime ⇒ Object
- #ProduceUseTime ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(msgid = nil, producername = nil, producetime = nil, produceraddr = nil, produceusetime = nil, status = nil) ⇒ ProducerLog
constructor
A new instance of ProducerLog.
Constructor Details
#initialize(msgid = nil, producername = nil, producetime = nil, produceraddr = nil, produceusetime = nil, status = nil) ⇒ ProducerLog
Returns a new instance of ProducerLog.
9712 9713 9714 9715 9716 9717 9718 9719 |
# File 'lib/v20200217/models.rb', line 9712 def initialize(msgid=nil, producername=nil, producetime=nil, produceraddr=nil, produceusetime=nil, status=nil) @MsgId = msgid @ProducerName = producername @ProduceTime = producetime @ProducerAddr = produceraddr @ProduceUseTime = produceusetime @Status = status end |
Instance Attribute Details
#MsgId ⇒ Object
9710 9711 9712 |
# File 'lib/v20200217/models.rb', line 9710 def MsgId @MsgId end |
#ProducerAddr ⇒ Object
9710 9711 9712 |
# File 'lib/v20200217/models.rb', line 9710 def ProducerAddr @ProducerAddr end |
#ProducerName ⇒ Object
9710 9711 9712 |
# File 'lib/v20200217/models.rb', line 9710 def ProducerName @ProducerName end |
#ProduceTime ⇒ Object
9710 9711 9712 |
# File 'lib/v20200217/models.rb', line 9710 def ProduceTime @ProduceTime end |
#ProduceUseTime ⇒ Object
9710 9711 9712 |
# File 'lib/v20200217/models.rb', line 9710 def ProduceUseTime @ProduceUseTime end |
#Status ⇒ Object
9710 9711 9712 |
# File 'lib/v20200217/models.rb', line 9710 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
9721 9722 9723 9724 9725 9726 9727 9728 |
# File 'lib/v20200217/models.rb', line 9721 def deserialize(params) @MsgId = params['MsgId'] @ProducerName = params['ProducerName'] @ProduceTime = params['ProduceTime'] @ProducerAddr = params['ProducerAddr'] @ProduceUseTime = params['ProduceUseTime'] @Status = params['Status'] end |