Class: TencentCloud::Waf::V20180125::BotIdConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::BotIdConfig
- Defined in:
- lib/v20180125/models.rb
Overview
BOT-ID规则信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleid = nil, status = nil, action = nil, botid = nil, redirect = nil) ⇒ BotIdConfig
constructor
A new instance of BotIdConfig.
Constructor Details
#initialize(ruleid = nil, status = nil, action = nil, botid = nil, redirect = nil) ⇒ BotIdConfig
Returns a new instance of BotIdConfig.
2118 2119 2120 2121 2122 2123 2124 |
# File 'lib/v20180125/models.rb', line 2118 def initialize(ruleid=nil, status=nil, action=nil, botid=nil, redirect=nil) @RuleId = ruleid @Status = status @Action = action @BotId = botid @Redirect = redirect end |
Instance Attribute Details
#Action ⇒ Object
2116 2117 2118 |
# File 'lib/v20180125/models.rb', line 2116 def Action @Action end |
#BotId ⇒ Object
2116 2117 2118 |
# File 'lib/v20180125/models.rb', line 2116 def BotId @BotId end |
#Redirect ⇒ Object
2116 2117 2118 |
# File 'lib/v20180125/models.rb', line 2116 def Redirect @Redirect end |
#RuleId ⇒ Object
2116 2117 2118 |
# File 'lib/v20180125/models.rb', line 2116 def RuleId @RuleId end |
#Status ⇒ Object
2116 2117 2118 |
# File 'lib/v20180125/models.rb', line 2116 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
2126 2127 2128 2129 2130 2131 2132 |
# File 'lib/v20180125/models.rb', line 2126 def deserialize(params) @RuleId = params['RuleId'] @Status = params['Status'] @Action = params['Action'] @BotId = params['BotId'] @Redirect = params['Redirect'] end |