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.
13062 13063 13064 13065 13066 |
# File 'lib/v20190423/models.rb', line 13062 def initialize(totalcnt=nil, rules=nil, requestid=nil) @TotalCnt = totalcnt @Rules = rules @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
13060 13061 13062 |
# File 'lib/v20190423/models.rb', line 13060 def RequestId @RequestId end |
#Rules ⇒ Object
13060 13061 13062 |
# File 'lib/v20190423/models.rb', line 13060 def Rules @Rules end |
#TotalCnt ⇒ Object
13060 13061 13062 |
# File 'lib/v20190423/models.rb', line 13060 def TotalCnt @TotalCnt end |
Instance Method Details
#deserialize(params) ⇒ Object
13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 |
# File 'lib/v20190423/models.rb', line 13068 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 |