Class: TencentCloud::Tdmq::V20200217::MsgLog

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

消息日志

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msgid = nil, producername = nil, producetime = nil, produceraddr = nil) ⇒ MsgLog

Returns a new instance of MsgLog.



9603
9604
9605
9606
9607
9608
# File 'lib/v20200217/models.rb', line 9603

def initialize(msgid=nil, producername=nil, producetime=nil, produceraddr=nil)
  @MsgId = msgid
  @ProducerName = producername
  @ProduceTime = producetime
  @ProducerAddr = produceraddr
end

Instance Attribute Details

#MsgIdObject

Parameters:

  • MsgId:

    消息ID。

  • ProducerName:

    生产者名称。

  • ProduceTime:

    生产时间。

  • ProducerAddr:

    生产客户端地址。



9601
9602
9603
# File 'lib/v20200217/models.rb', line 9601

def MsgId
  @MsgId
end

#ProducerAddrObject

Parameters:

  • MsgId:

    消息ID。

  • ProducerName:

    生产者名称。

  • ProduceTime:

    生产时间。

  • ProducerAddr:

    生产客户端地址。



9601
9602
9603
# File 'lib/v20200217/models.rb', line 9601

def ProducerAddr
  @ProducerAddr
end

#ProducerNameObject

Parameters:

  • MsgId:

    消息ID。

  • ProducerName:

    生产者名称。

  • ProduceTime:

    生产时间。

  • ProducerAddr:

    生产客户端地址。



9601
9602
9603
# File 'lib/v20200217/models.rb', line 9601

def ProducerName
  @ProducerName
end

#ProduceTimeObject

Parameters:

  • MsgId:

    消息ID。

  • ProducerName:

    生产者名称。

  • ProduceTime:

    生产时间。

  • ProducerAddr:

    生产客户端地址。



9601
9602
9603
# File 'lib/v20200217/models.rb', line 9601

def ProduceTime
  @ProduceTime
end

Instance Method Details

#deserialize(params) ⇒ Object



9610
9611
9612
9613
9614
9615
# File 'lib/v20200217/models.rb', line 9610

def deserialize(params)
  @MsgId = params['MsgId']
  @ProducerName = params['ProducerName']
  @ProduceTime = params['ProduceTime']
  @ProducerAddr = params['ProducerAddr']
end