Class: TencentCloud::Iotexplorer::V20190423::TopicItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TopicItem
- Defined in:
- lib/v20190423/models.rb
Overview
Topic信息, 包括Topic名字和权限
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, privilege = nil) ⇒ TopicItem
constructor
A new instance of TopicItem.
Constructor Details
#initialize(topicname = nil, privilege = nil) ⇒ TopicItem
Returns a new instance of TopicItem.
13894 13895 13896 13897 |
# File 'lib/v20190423/models.rb', line 13894 def initialize(topicname=nil, privilege=nil) @TopicName = topicname @Privilege = privilege end |
Instance Attribute Details
#Privilege ⇒ Object
13892 13893 13894 |
# File 'lib/v20190423/models.rb', line 13892 def Privilege @Privilege end |
#TopicName ⇒ Object
13892 13893 13894 |
# File 'lib/v20190423/models.rb', line 13892 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
13899 13900 13901 13902 |
# File 'lib/v20190423/models.rb', line 13899 def deserialize(params) @TopicName = params['TopicName'] @Privilege = params['Privilege'] end |