Class: TencentCloud::Cfw::V20190904::ModifyBlockIgnoreRuleRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::ModifyBlockIgnoreRuleRequest
- Defined in:
- lib/v20190904/models.rb
Overview
ModifyBlockIgnoreRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rule = nil, ruletype = nil) ⇒ ModifyBlockIgnoreRuleRequest
constructor
A new instance of ModifyBlockIgnoreRuleRequest.
Constructor Details
#initialize(rule = nil, ruletype = nil) ⇒ ModifyBlockIgnoreRuleRequest
Returns a new instance of ModifyBlockIgnoreRuleRequest.
6608 6609 6610 6611 |
# File 'lib/v20190904/models.rb', line 6608 def initialize(rule=nil, ruletype=nil) @Rule = rule @RuleType = ruletype end |
Instance Attribute Details
#Rule ⇒ Object
6606 6607 6608 |
# File 'lib/v20190904/models.rb', line 6606 def Rule @Rule end |
#RuleType ⇒ Object
6606 6607 6608 |
# File 'lib/v20190904/models.rb', line 6606 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
6613 6614 6615 6616 6617 6618 6619 |
# File 'lib/v20190904/models.rb', line 6613 def deserialize(params) unless params['Rule'].nil? @Rule = IntrusionDefenseRule.new @Rule.deserialize(params['Rule']) end @RuleType = params['RuleType'] end |