Class: TencentCloud::Trocket::V20230308::CreateMQTTTopicRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::CreateMQTTTopicRequest
- Defined in:
- lib/v20230308/models.rb
Overview
CreateMQTTTopic请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, topic = nil, remark = nil) ⇒ CreateMQTTTopicRequest
constructor
A new instance of CreateMQTTTopicRequest.
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
#InstanceId ⇒ Object
584 585 586 |
# File 'lib/v20230308/models.rb', line 584 def InstanceId @InstanceId end |
#Remark ⇒ Object
584 585 586 |
# File 'lib/v20230308/models.rb', line 584 def Remark @Remark end |
#Topic ⇒ Object
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 |