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.
9273 9274 9275 9276 9277 |
# File 'lib/v20190423/models.rb', line 9273 def initialize(totalcnt=nil, rules=nil, requestid=nil) @TotalCnt = totalcnt @Rules = rules @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9271 9272 9273 |
# File 'lib/v20190423/models.rb', line 9271 def RequestId @RequestId end |
#Rules ⇒ Object
9271 9272 9273 |
# File 'lib/v20190423/models.rb', line 9271 def Rules @Rules end |
#TotalCnt ⇒ Object
9271 9272 9273 |
# File 'lib/v20190423/models.rb', line 9271 def TotalCnt @TotalCnt end |
Instance Method Details
#deserialize(params) ⇒ Object
9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 |
# File 'lib/v20190423/models.rb', line 9279 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 |