Class: TencentCloud::Iotexplorer::V20190423::SearchTopicRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::SearchTopicRuleResponse
- Defined in:
- lib/v20190423/models.rb
Overview
SearchTopicRule返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcnt = nil, rules = nil, requestid = nil) ⇒ SearchTopicRuleResponse
constructor
A new instance of SearchTopicRuleResponse.
Constructor Details
#initialize(totalcnt = nil, rules = nil, requestid = nil) ⇒ SearchTopicRuleResponse
Returns a new instance of SearchTopicRuleResponse.
13046 13047 13048 13049 13050 |
# File 'lib/v20190423/models.rb', line 13046 def initialize(totalcnt=nil, rules=nil, requestid=nil) @TotalCnt = totalcnt @Rules = rules @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
13044 13045 13046 |
# File 'lib/v20190423/models.rb', line 13044 def RequestId @RequestId end |
#Rules ⇒ Object
13044 13045 13046 |
# File 'lib/v20190423/models.rb', line 13044 def Rules @Rules end |
#TotalCnt ⇒ Object
13044 13045 13046 |
# File 'lib/v20190423/models.rb', line 13044 def TotalCnt @TotalCnt end |
Instance Method Details
#deserialize(params) ⇒ Object
13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 |
# File 'lib/v20190423/models.rb', line 13052 def deserialize(params) @TotalCnt = params['TotalCnt'] unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| topicruleinfo_tmp = TopicRuleInfo.new topicruleinfo_tmp.deserialize(i) @Rules << topicruleinfo_tmp end end @RequestId = params['RequestId'] end |