Class: TencentCloud::Mqtt::V20240516::MQTTTopicItem

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

Overview

MQTT 主题详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, topic = nil, remark = nil) ⇒ MQTTTopicItem

Returns a new instance of MQTTTopicItem.



3681
3682
3683
3684
3685
# File 'lib/v20240516/models.rb', line 3681

def initialize(instanceid=nil, topic=nil, remark=nil)
  @InstanceId = instanceid
  @Topic = topic
  @Remark = remark
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例 ID

  • Topic:

    主题名称

  • Remark:

    主题描述



3679
3680
3681
# File 'lib/v20240516/models.rb', line 3679

def InstanceId
  @InstanceId
end

#RemarkObject

Parameters:

  • InstanceId:

    实例 ID

  • Topic:

    主题名称

  • Remark:

    主题描述



3679
3680
3681
# File 'lib/v20240516/models.rb', line 3679

def Remark
  @Remark
end

#TopicObject

Parameters:

  • InstanceId:

    实例 ID

  • Topic:

    主题名称

  • Remark:

    主题描述



3679
3680
3681
# File 'lib/v20240516/models.rb', line 3679

def Topic
  @Topic
end

Instance Method Details

#deserialize(params) ⇒ Object



3687
3688
3689
3690
3691
# File 'lib/v20240516/models.rb', line 3687

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Topic = params['Topic']
  @Remark = params['Remark']
end