Class: TencentCloud::Waf::V20180125::DescribeBotUCBRuleRsp
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeBotUCBRuleRsp
- Defined in:
- lib/v20180125/models.rb
Overview
获取自定义规则列表时的出参
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(res = nil, totalcount = nil) ⇒ DescribeBotUCBRuleRsp
constructor
A new instance of DescribeBotUCBRuleRsp.
Constructor Details
#initialize(res = nil, totalcount = nil) ⇒ DescribeBotUCBRuleRsp
Returns a new instance of DescribeBotUCBRuleRsp.
6601 6602 6603 6604 |
# File 'lib/v20180125/models.rb', line 6601 def initialize(res=nil, totalcount=nil) @Res = res @TotalCount = totalcount end |
Instance Attribute Details
#Res ⇒ Object
6599 6600 6601 |
# File 'lib/v20180125/models.rb', line 6599 def Res @Res end |
#TotalCount ⇒ Object
6599 6600 6601 |
# File 'lib/v20180125/models.rb', line 6599 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 |
# File 'lib/v20180125/models.rb', line 6606 def deserialize(params) unless params['Res'].nil? @Res = [] params['Res'].each do |i| inoutputbotucbrule_tmp = InOutputBotUCBRule.new inoutputbotucbrule_tmp.deserialize(i) @Res << inoutputbotucbrule_tmp end end @TotalCount = params['TotalCount'] end |