Class: TencentCloud::Trocket::V20230308::MQTTTopicItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::MQTTTopicItem
- Defined in:
- lib/v20230308/models.rb
Overview
MQTT 主题详情
Instance Attribute Summary collapse
-
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Remark ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Topic ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, topic = nil, remark = nil) ⇒ MQTTTopicItem
constructor
A new instance of MQTTTopicItem.
Constructor Details
#initialize(instanceid = nil, topic = nil, remark = nil) ⇒ MQTTTopicItem
Returns a new instance of MQTTTopicItem.
4658 4659 4660 4661 4662 |
# File 'lib/v20230308/models.rb', line 4658 def initialize(instanceid=nil, topic=nil, remark=nil) @InstanceId = instanceid @Topic = topic @Remark = remark end |
Instance Attribute Details
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4656 4657 4658 |
# File 'lib/v20230308/models.rb', line 4656 def InstanceId @InstanceId end |
#Remark ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4656 4657 4658 |
# File 'lib/v20230308/models.rb', line 4656 def Remark @Remark end |
#Topic ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4656 4657 4658 |
# File 'lib/v20230308/models.rb', line 4656 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
4664 4665 4666 4667 4668 |
# File 'lib/v20230308/models.rb', line 4664 def deserialize(params) @InstanceId = params['InstanceId'] @Topic = params['Topic'] @Remark = params['Remark'] end |