Class: TencentCloud::Trocket::V20230308::MessageItem

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

Overview

消息记录

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msgid = nil, tags = nil, keys = nil, produceraddr = nil, producetime = nil, deadletterresendtimes = nil, deadletterresendsuccesstimes = nil) ⇒ MessageItem

Returns a new instance of MessageItem.



4737
4738
4739
4740
4741
4742
4743
4744
4745
# File 'lib/v20230308/models.rb', line 4737

def initialize(msgid=nil, tags=nil, keys=nil, produceraddr=nil, producetime=nil, deadletterresendtimes=nil, deadletterresendsuccesstimes=nil)
  @MsgId = msgid
  @Tags = tags
  @Keys = keys
  @ProducerAddr = produceraddr
  @ProduceTime = producetime
  @DeadLetterResendTimes = deadletterresendtimes
  @DeadLetterResendSuccessTimes = deadletterresendsuccesstimes
end

Instance Attribute Details

#DeadLetterResendSuccessTimesObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数



4735
4736
4737
# File 'lib/v20230308/models.rb', line 4735

def DeadLetterResendSuccessTimes
  @DeadLetterResendSuccessTimes
end

#DeadLetterResendTimesObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数



4735
4736
4737
# File 'lib/v20230308/models.rb', line 4735

def DeadLetterResendTimes
  @DeadLetterResendTimes
end

#KeysObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数



4735
4736
4737
# File 'lib/v20230308/models.rb', line 4735

def Keys
  @Keys
end

#MsgIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数



4735
4736
4737
# File 'lib/v20230308/models.rb', line 4735

def MsgId
  @MsgId
end

#ProducerAddrObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数



4735
4736
4737
# File 'lib/v20230308/models.rb', line 4735

def ProducerAddr
  @ProducerAddr
end

#ProduceTimeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数



4735
4736
4737
# File 'lib/v20230308/models.rb', line 4735

def ProduceTime
  @ProduceTime
end

#TagsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数



4735
4736
4737
# File 'lib/v20230308/models.rb', line 4735

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/v20230308/models.rb', line 4747

def deserialize(params)
  @MsgId = params['MsgId']
  @Tags = params['Tags']
  @Keys = params['Keys']
  @ProducerAddr = params['ProducerAddr']
  @ProduceTime = params['ProduceTime']
  @DeadLetterResendTimes = params['DeadLetterResendTimes']
  @DeadLetterResendSuccessTimes = params['DeadLetterResendSuccessTimes']
end