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.
2042 2043 2044 2045 |
# File 'lib/v20190904/models.rb', line 2042 def initialize(rules=nil, ruletype=nil) @Rules = rules @RuleType = ruletype end |
Instance Attribute Details
#Rules ⇒ Object
2040 2041 2042 |
# File 'lib/v20190904/models.rb', line 2040 def Rules @Rules end |
#RuleType ⇒ Object
2040 2041 2042 |
# File 'lib/v20190904/models.rb', line 2040 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 |
# File 'lib/v20190904/models.rb', line 2047 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 |