Class: TencentCloud::Iotexplorer::V20190423::GetTopicRuleListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::GetTopicRuleListResponse
- Defined in:
- lib/v20190423/models.rb
Overview
GetTopicRuleList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcnt = nil, rules = nil, requestid = nil) ⇒ GetTopicRuleListResponse
constructor
A new instance of GetTopicRuleListResponse.
Constructor Details
#initialize(totalcnt = nil, rules = nil, requestid = nil) ⇒ GetTopicRuleListResponse
Returns a new instance of GetTopicRuleListResponse.
9289 9290 9291 9292 9293 |
# File 'lib/v20190423/models.rb', line 9289 def initialize(totalcnt=nil, rules=nil, requestid=nil) @TotalCnt = totalcnt @Rules = rules @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9287 9288 9289 |
# File 'lib/v20190423/models.rb', line 9287 def RequestId @RequestId end |
#Rules ⇒ Object
9287 9288 9289 |
# File 'lib/v20190423/models.rb', line 9287 def Rules @Rules end |
#TotalCnt ⇒ Object
9287 9288 9289 |
# File 'lib/v20190423/models.rb', line 9287 def TotalCnt @TotalCnt end |
Instance Method Details
#deserialize(params) ⇒ Object
9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 |
# File 'lib/v20190423/models.rb', line 9295 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 |