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
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, res = nil, limit = nil, available = nil) ⇒ CCRuleLists
constructor
A new instance of CCRuleLists.
Constructor Details
#initialize(totalcount = nil, res = nil, limit = nil, available = nil) ⇒ CCRuleLists
Returns a new instance of CCRuleLists.
2960 2961 2962 2963 2964 2965 |
# File 'lib/v20180125/models.rb', line 2960 def initialize(totalcount=nil, res=nil, limit=nil, available=nil) @TotalCount = totalcount @Res = res @Limit = limit @Available = available end |
Instance Attribute Details
#Available ⇒ Object
2958 2959 2960 |
# File 'lib/v20180125/models.rb', line 2958 def Available @Available end |
#Limit ⇒ Object
2958 2959 2960 |
# File 'lib/v20180125/models.rb', line 2958 def Limit @Limit end |
#Res ⇒ Object
2958 2959 2960 |
# File 'lib/v20180125/models.rb', line 2958 def Res @Res end |
#TotalCount ⇒ Object
2958 2959 2960 |
# File 'lib/v20180125/models.rb', line 2958 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 |
# File 'lib/v20180125/models.rb', line 2967 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 @Limit = params['Limit'] @Available = params['Available'] end |