Class: TencentCloud::Cfw::V20190904::DeleteBlockIgnoreRuleNewRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DeleteBlockIgnoreRuleNewRequest
- Defined in:
- lib/v20190904/models.rb
Overview
DeleteBlockIgnoreRuleNew请求参数结构体
Instance Attribute Summary collapse
-
#DeleteAll ⇒ Object
主要用于全部删除时区分列表类型.
-
#Rules ⇒ Object
主要用于全部删除时区分列表类型.
-
#RuleType ⇒ Object
主要用于全部删除时区分列表类型.
-
#ShowType ⇒ Object
主要用于全部删除时区分列表类型.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deleteall = nil, rules = nil, ruletype = nil, showtype = nil) ⇒ DeleteBlockIgnoreRuleNewRequest
constructor
A new instance of DeleteBlockIgnoreRuleNewRequest.
Constructor Details
#initialize(deleteall = nil, rules = nil, ruletype = nil, showtype = nil) ⇒ DeleteBlockIgnoreRuleNewRequest
Returns a new instance of DeleteBlockIgnoreRuleNewRequest.
2090 2091 2092 2093 2094 2095 |
# File 'lib/v20190904/models.rb', line 2090 def initialize(deleteall=nil, rules=nil, ruletype=nil, showtype=nil) @DeleteAll = deleteall @Rules = rules @RuleType = ruletype @ShowType = showtype end |
Instance Attribute Details
#DeleteAll ⇒ Object
主要用于全部删除时区分列表类型
2088 2089 2090 |
# File 'lib/v20190904/models.rb', line 2088 def DeleteAll @DeleteAll end |
#Rules ⇒ Object
主要用于全部删除时区分列表类型
2088 2089 2090 |
# File 'lib/v20190904/models.rb', line 2088 def Rules @Rules end |
#RuleType ⇒ Object
主要用于全部删除时区分列表类型
2088 2089 2090 |
# File 'lib/v20190904/models.rb', line 2088 def RuleType @RuleType end |
#ShowType ⇒ Object
主要用于全部删除时区分列表类型
2088 2089 2090 |
# File 'lib/v20190904/models.rb', line 2088 def ShowType @ShowType end |
Instance Method Details
#deserialize(params) ⇒ Object
2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 |
# File 'lib/v20190904/models.rb', line 2097 def deserialize(params) @DeleteAll = params['DeleteAll'] unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| banandallowruledel_tmp = BanAndAllowRuleDel.new banandallowruledel_tmp.deserialize(i) @Rules << banandallowruledel_tmp end end @RuleType = params['RuleType'] @ShowType = params['ShowType'] end |