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.
6815 6816 6817 6818 |
# File 'lib/v20190904/models.rb', line 6815 def initialize(rule=nil, ruletype=nil) @Rule = rule @RuleType = ruletype end |
Instance Attribute Details
#Rule ⇒ Object
6813 6814 6815 |
# File 'lib/v20190904/models.rb', line 6813 def Rule @Rule end |
#RuleType ⇒ Object
6813 6814 6815 |
# File 'lib/v20190904/models.rb', line 6813 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
6820 6821 6822 6823 6824 6825 6826 |
# File 'lib/v20190904/models.rb', line 6820 def deserialize(params) unless params['Rule'].nil? @Rule = IntrusionDefenseRule.new @Rule.deserialize(params['Rule']) end @RuleType = params['RuleType'] end |