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.
6776 6777 6778 6779 |
# File 'lib/v20190904/models.rb', line 6776 def initialize(rule=nil, ruletype=nil) @Rule = rule @RuleType = ruletype end |
Instance Attribute Details
#Rule ⇒ Object
6774 6775 6776 |
# File 'lib/v20190904/models.rb', line 6774 def Rule @Rule end |
#RuleType ⇒ Object
6774 6775 6776 |
# File 'lib/v20190904/models.rb', line 6774 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
6781 6782 6783 6784 6785 6786 6787 |
# File 'lib/v20190904/models.rb', line 6781 def deserialize(params) unless params['Rule'].nil? @Rule = BanAndAllowRule.new @Rule.deserialize(params['Rule']) end @RuleType = params['RuleType'] end |