Class: TencentCloud::Waf::V20180125::InOutputUCBRuleEntry
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::InOutputUCBRuleEntry
- Defined in:
- lib/v20180125/models.rb
Overview
自定义规则UCB的Rule生效条件
Instance Attribute Summary collapse
- #Areas ⇒ Object
- #Key ⇒ Object
- #Lang ⇒ Object
- #Name ⇒ Object
- #Op ⇒ Object
- #OpArg ⇒ Object
- #OpOp ⇒ Object
- #OpValue ⇒ Object
- #ParamCompareList ⇒ Object
- #Value ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, op = nil, value = nil, opop = nil, oparg = nil, opvalue = nil, name = nil, areas = nil, lang = nil, paramcomparelist = nil) ⇒ InOutputUCBRuleEntry
constructor
A new instance of InOutputUCBRuleEntry.
Constructor Details
#initialize(key = nil, op = nil, value = nil, opop = nil, oparg = nil, opvalue = nil, name = nil, areas = nil, lang = nil, paramcomparelist = nil) ⇒ InOutputUCBRuleEntry
Returns a new instance of InOutputUCBRuleEntry.
12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 |
# File 'lib/v20180125/models.rb', line 12343 def initialize(key=nil, op=nil, value=nil, opop=nil, oparg=nil, opvalue=nil, name=nil, areas=nil, lang=nil, paramcomparelist=nil) @Key = key @Op = op @Value = value @OpOp = opop @OpArg = oparg @OpValue = opvalue @Name = name @Areas = areas @Lang = lang @ParamCompareList = paramcomparelist end |
Instance Attribute Details
#Areas ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def Areas @Areas end |
#Key ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def Key @Key end |
#Lang ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def Lang @Lang end |
#Name ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def Name @Name end |
#Op ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def Op @Op end |
#OpArg ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def OpArg @OpArg end |
#OpOp ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def OpOp @OpOp end |
#OpValue ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def OpValue @OpValue end |
#ParamCompareList ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def ParamCompareList @ParamCompareList end |
#Value ⇒ Object
12341 12342 12343 |
# File 'lib/v20180125/models.rb', line 12341 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 |
# File 'lib/v20180125/models.rb', line 12356 def deserialize(params) @Key = params['Key'] @Op = params['Op'] unless params['Value'].nil? @Value = UCBEntryValue.new @Value.deserialize(params['Value']) end @OpOp = params['OpOp'] @OpArg = params['OpArg'] @OpValue = params['OpValue'] @Name = params['Name'] unless params['Areas'].nil? @Areas = [] params['Areas'].each do |i| area_tmp = Area.new area_tmp.deserialize(i) @Areas << area_tmp end end @Lang = params['Lang'] unless params['ParamCompareList'].nil? @ParamCompareList = [] params['ParamCompareList'].each do |i| paramcomparelist_tmp = ParamCompareList.new paramcomparelist_tmp.deserialize(i) @ParamCompareList << paramcomparelist_tmp end end end |