Class: TencentCloud::Cfw::V20190904::ModifyBlockIgnoreRuleNewRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::ModifyBlockIgnoreRuleNewRequest
- Defined in:
- lib/v20190904/models.rb
Overview
ModifyBlockIgnoreRuleNew请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rule = nil, ruletype = nil) ⇒ ModifyBlockIgnoreRuleNewRequest
constructor
A new instance of ModifyBlockIgnoreRuleNewRequest.
Constructor Details
#initialize(rule = nil, ruletype = nil) ⇒ ModifyBlockIgnoreRuleNewRequest
Returns a new instance of ModifyBlockIgnoreRuleNewRequest.
6569 6570 6571 6572 |
# File 'lib/v20190904/models.rb', line 6569 def initialize(rule=nil, ruletype=nil) @Rule = rule @RuleType = ruletype end |
Instance Attribute Details
#Rule ⇒ Object
6567 6568 6569 |
# File 'lib/v20190904/models.rb', line 6567 def Rule @Rule end |
#RuleType ⇒ Object
6567 6568 6569 |
# File 'lib/v20190904/models.rb', line 6567 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
6574 6575 6576 6577 6578 6579 6580 |
# File 'lib/v20190904/models.rb', line 6574 def deserialize(params) unless params['Rule'].nil? @Rule = BanAndAllowRule.new @Rule.deserialize(params['Rule']) end @RuleType = params['RuleType'] end |