Class: TencentCloud::Trocket::V20230308::DescribeMQTTMessageResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::DescribeMQTTMessageResponse
- Defined in:
- lib/v20230308/models.rb
Overview
DescribeMQTTMessage返回参数结构体
Instance Attribute Summary collapse
-
#Body ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MessageId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProducerAddr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProduceTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Properties ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ShowTopicName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(body = nil, properties = nil, producetime = nil, messageid = nil, produceraddr = nil, showtopicname = nil, requestid = nil) ⇒ DescribeMQTTMessageResponse
constructor
A new instance of DescribeMQTTMessageResponse.
Constructor Details
#initialize(body = nil, properties = nil, producetime = nil, messageid = nil, produceraddr = nil, showtopicname = nil, requestid = nil) ⇒ DescribeMQTTMessageResponse
Returns a new instance of DescribeMQTTMessageResponse.
2409 2410 2411 2412 2413 2414 2415 2416 2417 |
# File 'lib/v20230308/models.rb', line 2409 def initialize(body=nil, properties=nil, producetime=nil, =nil, produceraddr=nil, showtopicname=nil, requestid=nil) @Body = body @Properties = properties @ProduceTime = producetime @MessageId = @ProducerAddr = produceraddr @ShowTopicName = showtopicname @RequestId = requestid end |
Instance Attribute Details
#Body ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2407 2408 2409 |
# File 'lib/v20230308/models.rb', line 2407 def Body @Body end |
#MessageId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2407 2408 2409 |
# File 'lib/v20230308/models.rb', line 2407 def MessageId @MessageId end |
#ProducerAddr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2407 2408 2409 |
# File 'lib/v20230308/models.rb', line 2407 def ProducerAddr @ProducerAddr end |
#ProduceTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2407 2408 2409 |
# File 'lib/v20230308/models.rb', line 2407 def ProduceTime @ProduceTime end |
#Properties ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2407 2408 2409 |
# File 'lib/v20230308/models.rb', line 2407 def Properties @Properties end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2407 2408 2409 |
# File 'lib/v20230308/models.rb', line 2407 def RequestId @RequestId end |
#ShowTopicName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2407 2408 2409 |
# File 'lib/v20230308/models.rb', line 2407 def ShowTopicName @ShowTopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/v20230308/models.rb', line 2419 def deserialize(params) @Body = params['Body'] unless params['Properties'].nil? @Properties = [] params['Properties'].each do |i| custommapentry_tmp = CustomMapEntry.new custommapentry_tmp.deserialize(i) @Properties << custommapentry_tmp end end @ProduceTime = params['ProduceTime'] @MessageId = params['MessageId'] @ProducerAddr = params['ProducerAddr'] @ShowTopicName = params['ShowTopicName'] @RequestId = params['RequestId'] end |