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.
7456 7457 7458 7459 |
# File 'lib/v20190904/models.rb', line 7456 def initialize(rule=nil, ruletype=nil) @Rule = rule @RuleType = ruletype end |
Instance Attribute Details
#Rule ⇒ Object
7454 7455 7456 |
# File 'lib/v20190904/models.rb', line 7454 def Rule @Rule end |
#RuleType ⇒ Object
7454 7455 7456 |
# File 'lib/v20190904/models.rb', line 7454 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
7461 7462 7463 7464 7465 7466 7467 |
# File 'lib/v20190904/models.rb', line 7461 def deserialize(params) unless params['Rule'].nil? @Rule = BanAndAllowRule.new @Rule.deserialize(params['Rule']) end @RuleType = params['RuleType'] end |