Class: TencentCloud::Waf::V20180125::BotSceneInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::BotSceneInfo
- Defined in:
- lib/v20180125/models.rb
Overview
场景的详细配置信息
Instance Attribute Summary collapse
- #ActionMatchType ⇒ Object
- #ActionRuleCount ⇒ Object
- #ActionRuleList ⇒ Object
- #AIStatus ⇒ Object
- #BotIdCaptchaCount ⇒ Object
- #BotIdCount ⇒ Object
- #BotIdGlobalRedirect ⇒ Object
- #BotIdInterceptCount ⇒ Object
- #BotIdJsChallengeCount ⇒ Object
- #BotIdMonitorCount ⇒ Object
- #BotIdPattern ⇒ Object
- #BotIdProtectLevel ⇒ Object
- #BotIdRedirectCount ⇒ Object
- #BusinessType ⇒ Object
- #ClientType ⇒ Object
- #JsInjectAction ⇒ Object
- #JsInjectRedirect ⇒ Object
- #JsInjectRuleId ⇒ Object
- #JsInjectStatus ⇒ Object
- #MatchCondition ⇒ Object
- #MatchType ⇒ Object
- #Priority ⇒ Object
- #RuleSetSelection ⇒ Object
- #SceneId ⇒ Object
- #SceneName ⇒ Object
- #SceneStatus ⇒ Object
- #StatisticStatus ⇒ Object
- #TIStatus ⇒ Object
- #TokenList ⇒ Object
- #Type ⇒ Object
- #UAStatus ⇒ Object
- #UCBCount ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sceneid = nil, type = nil, scenename = nil, updatetime = nil, businesstype = nil, clienttype = nil, priority = nil, matchcondition = nil, scenestatus = nil, jsinjectstatus = nil, aistatus = nil, tistatus = nil, statisticstatus = nil, actionrulecount = nil, ucbcount = nil, matchtype = nil, actionmatchtype = nil, uastatus = nil, jsinjectruleid = nil, jsinjectaction = nil, jsinjectredirect = nil, actionrulelist = nil, botidpattern = nil, botidcount = nil, botidmonitorcount = nil, botidinterceptcount = nil, rulesetselection = nil, tokenlist = nil, botidredirectcount = nil, botidcaptchacount = nil, botidprotectlevel = nil, botidglobalredirect = nil, botidjschallengecount = nil) ⇒ BotSceneInfo
constructor
A new instance of BotSceneInfo.
Constructor Details
#initialize(sceneid = nil, type = nil, scenename = nil, updatetime = nil, businesstype = nil, clienttype = nil, priority = nil, matchcondition = nil, scenestatus = nil, jsinjectstatus = nil, aistatus = nil, tistatus = nil, statisticstatus = nil, actionrulecount = nil, ucbcount = nil, matchtype = nil, actionmatchtype = nil, uastatus = nil, jsinjectruleid = nil, jsinjectaction = nil, jsinjectredirect = nil, actionrulelist = nil, botidpattern = nil, botidcount = nil, botidmonitorcount = nil, botidinterceptcount = nil, rulesetselection = nil, tokenlist = nil, botidredirectcount = nil, botidcaptchacount = nil, botidprotectlevel = nil, botidglobalredirect = nil, botidjschallengecount = nil) ⇒ BotSceneInfo
2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 |
# File 'lib/v20180125/models.rb', line 2416 def initialize(sceneid=nil, type=nil, scenename=nil, updatetime=nil, businesstype=nil, clienttype=nil, priority=nil, matchcondition=nil, scenestatus=nil, jsinjectstatus=nil, aistatus=nil, tistatus=nil, statisticstatus=nil, actionrulecount=nil, ucbcount=nil, matchtype=nil, actionmatchtype=nil, uastatus=nil, jsinjectruleid=nil, jsinjectaction=nil, jsinjectredirect=nil, actionrulelist=nil, botidpattern=nil, botidcount=nil, botidmonitorcount=nil, botidinterceptcount=nil, rulesetselection=nil, tokenlist=nil, botidredirectcount=nil, botidcaptchacount=nil, botidprotectlevel=nil, botidglobalredirect=nil, botidjschallengecount=nil) @SceneId = sceneid @Type = type @SceneName = scenename @UpdateTime = updatetime @BusinessType = businesstype @ClientType = clienttype @Priority = priority @MatchCondition = matchcondition @SceneStatus = scenestatus @JsInjectStatus = jsinjectstatus @AIStatus = aistatus @TIStatus = tistatus @StatisticStatus = statisticstatus @ActionRuleCount = actionrulecount @UCBCount = ucbcount @MatchType = matchtype @ActionMatchType = actionmatchtype @UAStatus = uastatus @JsInjectRuleId = jsinjectruleid @JsInjectAction = jsinjectaction @JsInjectRedirect = jsinjectredirect @ActionRuleList = actionrulelist @BotIdPattern = botidpattern @BotIdCount = botidcount @BotIdMonitorCount = botidmonitorcount @BotIdInterceptCount = botidinterceptcount @RuleSetSelection = rulesetselection @TokenList = tokenlist @BotIdRedirectCount = botidredirectcount @BotIdCaptchaCount = botidcaptchacount @BotIdProtectLevel = botidprotectlevel @BotIdGlobalRedirect = botidglobalredirect @BotIdJsChallengeCount = botidjschallengecount end |
Instance Attribute Details
#ActionMatchType ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def ActionMatchType @ActionMatchType end |
#ActionRuleCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def ActionRuleCount @ActionRuleCount end |
#ActionRuleList ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def ActionRuleList @ActionRuleList end |
#AIStatus ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def AIStatus @AIStatus end |
#BotIdCaptchaCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdCaptchaCount @BotIdCaptchaCount end |
#BotIdCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdCount @BotIdCount end |
#BotIdGlobalRedirect ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdGlobalRedirect @BotIdGlobalRedirect end |
#BotIdInterceptCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdInterceptCount @BotIdInterceptCount end |
#BotIdJsChallengeCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdJsChallengeCount @BotIdJsChallengeCount end |
#BotIdMonitorCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdMonitorCount @BotIdMonitorCount end |
#BotIdPattern ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdPattern @BotIdPattern end |
#BotIdProtectLevel ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdProtectLevel @BotIdProtectLevel end |
#BotIdRedirectCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BotIdRedirectCount @BotIdRedirectCount end |
#BusinessType ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def BusinessType @BusinessType end |
#ClientType ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def ClientType @ClientType end |
#JsInjectAction ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def JsInjectAction @JsInjectAction end |
#JsInjectRedirect ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def JsInjectRedirect @JsInjectRedirect end |
#JsInjectRuleId ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def JsInjectRuleId @JsInjectRuleId end |
#JsInjectStatus ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def JsInjectStatus @JsInjectStatus end |
#MatchCondition ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def MatchCondition @MatchCondition end |
#MatchType ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def MatchType @MatchType end |
#Priority ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def Priority @Priority end |
#RuleSetSelection ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def RuleSetSelection @RuleSetSelection end |
#SceneId ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def SceneId @SceneId end |
#SceneName ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def SceneName @SceneName end |
#SceneStatus ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def SceneStatus @SceneStatus end |
#StatisticStatus ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def StatisticStatus @StatisticStatus end |
#TIStatus ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def TIStatus @TIStatus end |
#TokenList ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def TokenList @TokenList end |
#Type ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def Type @Type end |
#UAStatus ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def UAStatus @UAStatus end |
#UCBCount ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def UCBCount @UCBCount end |
#UpdateTime ⇒ Object
2414 2415 2416 |
# File 'lib/v20180125/models.rb', line 2414 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 |
# File 'lib/v20180125/models.rb', line 2452 def deserialize(params) @SceneId = params['SceneId'] @Type = params['Type'] @SceneName = params['SceneName'] @UpdateTime = params['UpdateTime'] @BusinessType = params['BusinessType'] @ClientType = params['ClientType'] @Priority = params['Priority'] unless params['MatchCondition'].nil? @MatchCondition = [] params['MatchCondition'].each do |i| botscenematchcondition_tmp = BotSceneMatchCondition.new botscenematchcondition_tmp.deserialize(i) @MatchCondition << botscenematchcondition_tmp end end @SceneStatus = params['SceneStatus'] @JsInjectStatus = params['JsInjectStatus'] @AIStatus = params['AIStatus'] @TIStatus = params['TIStatus'] @StatisticStatus = params['StatisticStatus'] @ActionRuleCount = params['ActionRuleCount'] @UCBCount = params['UCBCount'] @MatchType = params['MatchType'] @ActionMatchType = params['ActionMatchType'] @UAStatus = params['UAStatus'] @JsInjectRuleId = params['JsInjectRuleId'] @JsInjectAction = params['JsInjectAction'] @JsInjectRedirect = params['JsInjectRedirect'] unless params['ActionRuleList'].nil? @ActionRuleList = [] params['ActionRuleList'].each do |i| botsceneactionrule_tmp = BotSceneActionRule.new botsceneactionrule_tmp.deserialize(i) @ActionRuleList << botsceneactionrule_tmp end end @BotIdPattern = params['BotIdPattern'] @BotIdCount = params['BotIdCount'] @BotIdMonitorCount = params['BotIdMonitorCount'] @BotIdInterceptCount = params['BotIdInterceptCount'] @RuleSetSelection = params['RuleSetSelection'] unless params['TokenList'].nil? @TokenList = [] params['TokenList'].each do |i| bottoken_tmp = BotToken.new bottoken_tmp.deserialize(i) @TokenList << bottoken_tmp end end @BotIdRedirectCount = params['BotIdRedirectCount'] @BotIdCaptchaCount = params['BotIdCaptchaCount'] @BotIdProtectLevel = params['BotIdProtectLevel'] @BotIdGlobalRedirect = params['BotIdGlobalRedirect'] @BotIdJsChallengeCount = params['BotIdJsChallengeCount'] end |