Class: TencentCloud::Waf::V20180125::CCRuleLists
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CCRuleLists
- Defined in:
- lib/v20180125/models.rb
Overview
CC规则总览
Instance Attribute Summary collapse
-
#Res ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, res = nil) ⇒ CCRuleLists
constructor
A new instance of CCRuleLists.
Constructor Details
#initialize(totalcount = nil, res = nil) ⇒ CCRuleLists
Returns a new instance of CCRuleLists.
1451 1452 1453 1454 |
# File 'lib/v20180125/models.rb', line 1451 def initialize(totalcount=nil, res=nil) @TotalCount = totalcount @Res = res end |
Instance Attribute Details
#Res ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1449 1450 1451 |
# File 'lib/v20180125/models.rb', line 1449 def Res @Res end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1449 1450 1451 |
# File 'lib/v20180125/models.rb', line 1449 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 |
# File 'lib/v20180125/models.rb', line 1456 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Res'].nil? @Res = [] params['Res'].each do |i| ccruleitems_tmp = CCRuleItems.new ccruleitems_tmp.deserialize(i) @Res << ccruleitems_tmp end end end |