Class: TencentCloud::Waf::V20180125::BotScoreRuleEntry
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::BotScoreRuleEntry
- Defined in:
- lib/v20180125/models.rb
Overview
动作策略的一条分数段实体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(upper = nil, lower = nil, action = nil, label = nil, redirect = nil) ⇒ BotScoreRuleEntry
constructor
A new instance of BotScoreRuleEntry.
Constructor Details
#initialize(upper = nil, lower = nil, action = nil, label = nil, redirect = nil) ⇒ BotScoreRuleEntry
Returns a new instance of BotScoreRuleEntry.
2557 2558 2559 2560 2561 2562 2563 |
# File 'lib/v20180125/models.rb', line 2557 def initialize(upper=nil, lower=nil, action=nil, label=nil, redirect=nil) @Upper = upper @Lower = lower @Action = action @Label = label @Redirect = redirect end |
Instance Attribute Details
#Action ⇒ Object
2555 2556 2557 |
# File 'lib/v20180125/models.rb', line 2555 def Action @Action end |
#Label ⇒ Object
2555 2556 2557 |
# File 'lib/v20180125/models.rb', line 2555 def Label @Label end |
#Lower ⇒ Object
2555 2556 2557 |
# File 'lib/v20180125/models.rb', line 2555 def Lower @Lower end |
#Redirect ⇒ Object
2555 2556 2557 |
# File 'lib/v20180125/models.rb', line 2555 def Redirect @Redirect end |
#Upper ⇒ Object
2555 2556 2557 |
# File 'lib/v20180125/models.rb', line 2555 def Upper @Upper end |
Instance Method Details
#deserialize(params) ⇒ Object
2565 2566 2567 2568 2569 2570 2571 |
# File 'lib/v20180125/models.rb', line 2565 def deserialize(params) @Upper = params['Upper'] @Lower = params['Lower'] @Action = params['Action'] @Label = params['Label'] @Redirect = params['Redirect'] end |