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.
1662 1663 1664 1665 |
# File 'lib/v20180125/models.rb', line 1662 def initialize(totalcount=nil, res=nil) @TotalCount = totalcount @Res = res end |
Instance Attribute Details
#Res ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1660 1661 1662 |
# File 'lib/v20180125/models.rb', line 1660 def Res @Res end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1660 1661 1662 |
# File 'lib/v20180125/models.rb', line 1660 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 |
# File 'lib/v20180125/models.rb', line 1667 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 |