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.
13924 13925 13926 13927 |
# File 'lib/v20190423/models.rb', line 13924 def initialize(topicname=nil, privilege=nil) @TopicName = topicname @Privilege = privilege end |
Instance Attribute Details
#Privilege ⇒ Object
13922 13923 13924 |
# File 'lib/v20190423/models.rb', line 13922 def Privilege @Privilege end |
#TopicName ⇒ Object
13922 13923 13924 |
# File 'lib/v20190423/models.rb', line 13922 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
13929 13930 13931 13932 |
# File 'lib/v20190423/models.rb', line 13929 def deserialize(params) @TopicName = params['TopicName'] @Privilege = params['Privilege'] end |