Class: TencentCloud::Cfw::V20190904::DeleteBlockIgnoreRuleListRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DeleteBlockIgnoreRuleListRequest
- Defined in:
- lib/v20190904/models.rb
Overview
DeleteBlockIgnoreRuleList请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rules = nil, ruletype = nil) ⇒ DeleteBlockIgnoreRuleListRequest
constructor
A new instance of DeleteBlockIgnoreRuleListRequest.
Constructor Details
#initialize(rules = nil, ruletype = nil) ⇒ DeleteBlockIgnoreRuleListRequest
Returns a new instance of DeleteBlockIgnoreRuleListRequest.
2241 2242 2243 2244 |
# File 'lib/v20190904/models.rb', line 2241 def initialize(rules=nil, ruletype=nil) @Rules = rules @RuleType = ruletype end |
Instance Attribute Details
#Rules ⇒ Object
2239 2240 2241 |
# File 'lib/v20190904/models.rb', line 2239 def Rules @Rules end |
#RuleType ⇒ Object
2239 2240 2241 |
# File 'lib/v20190904/models.rb', line 2239 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 |
# File 'lib/v20190904/models.rb', line 2246 def deserialize(params) unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| ioclistdata_tmp = IocListData.new ioclistdata_tmp.deserialize(i) @Rules << ioclistdata_tmp end end @RuleType = params['RuleType'] end |