Class: TencentCloud::Trocket::V20230308::CreateMQTTTopicRequest

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

Overview

CreateMQTTTopic请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateMQTTTopicRequest.



586
587
588
589
590
# File 'lib/v20230308/models.rb', line 586

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

Instance Attribute Details

#InstanceIdObject

Parameters:

  • 集群ID

  • 主题名称

  • 备注



584
585
586
# File 'lib/v20230308/models.rb', line 584

def InstanceId
  @InstanceId
end

#RemarkObject

Parameters:

  • 集群ID

  • 主题名称

  • 备注



584
585
586
# File 'lib/v20230308/models.rb', line 584

def Remark
  @Remark
end

#TopicObject

Parameters:

  • 集群ID

  • 主题名称

  • 备注



584
585
586
# File 'lib/v20230308/models.rb', line 584

def Topic
  @Topic
end

Instance Method Details

#deserialize(params) ⇒ Object



592
593
594
595
596
# File 'lib/v20230308/models.rb', line 592

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