Class: TencentCloud::Trocket::V20230308::MQTTMessageItem

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, subtopic = nil, qos = nil) ⇒ MQTTMessageItem

Returns a new instance of MQTTMessageItem.



4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
# File 'lib/v20230308/models.rb', line 4559

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

Instance Attribute Details

#DeadLetterResendSuccessTimesObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def DeadLetterResendSuccessTimes
  @DeadLetterResendSuccessTimes
end

#DeadLetterResendTimesObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def DeadLetterResendTimes
  @DeadLetterResendTimes
end

#KeysObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def Keys
  @Keys
end

#MsgIdObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def MsgId
  @MsgId
end

#ProducerAddrObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def ProducerAddr
  @ProducerAddr
end

#ProduceTimeObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def ProduceTime
  @ProduceTime
end

#QosObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def Qos
  @Qos
end

#SubTopicObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def SubTopic
  @SubTopic
end

#TagsObject

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

Parameters:

  • MsgId:

    消息ID

  • Tags:

    消息tag

  • Keys:

    消息key

  • ProducerAddr:

    客户端地址

  • ProduceTime:

    消息发送时间

  • DeadLetterResendTimes:

    死信重发次数

  • DeadLetterResendSuccessTimes:

    死信重发成功次数

  • SubTopic:

    子topic

  • Qos:

    消息质量等级



4557
4558
4559
# File 'lib/v20230308/models.rb', line 4557

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
# File 'lib/v20230308/models.rb', line 4571

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