Class: TencentCloud::Teo::V20220901::BrowserImpersonationDetectionRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::BrowserImpersonationDetectionRule
- Defined in:
- lib/v20220901/models.rb
Overview
浏览器伪造识别规则(原主动特征识别规则)。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, enabled = nil, condition = nil, action = nil) ⇒ BrowserImpersonationDetectionRule
constructor
A new instance of BrowserImpersonationDetectionRule.
Constructor Details
#initialize(id = nil, name = nil, enabled = nil, condition = nil, action = nil) ⇒ BrowserImpersonationDetectionRule
Returns a new instance of BrowserImpersonationDetectionRule.
2218 2219 2220 2221 2222 2223 2224 |
# File 'lib/v20220901/models.rb', line 2218 def initialize(id=nil, name=nil, enabled=nil, condition=nil, action=nil) @Id = id @Name = name @Enabled = enabled @Condition = condition @Action = action end |
Instance Attribute Details
#Action ⇒ Object
2216 2217 2218 |
# File 'lib/v20220901/models.rb', line 2216 def Action @Action end |
#Condition ⇒ Object
2216 2217 2218 |
# File 'lib/v20220901/models.rb', line 2216 def Condition @Condition end |
#Enabled ⇒ Object
2216 2217 2218 |
# File 'lib/v20220901/models.rb', line 2216 def Enabled @Enabled end |
#Id ⇒ Object
2216 2217 2218 |
# File 'lib/v20220901/models.rb', line 2216 def Id @Id end |
#Name ⇒ Object
2216 2217 2218 |
# File 'lib/v20220901/models.rb', line 2216 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 |
# File 'lib/v20220901/models.rb', line 2226 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @Enabled = params['Enabled'] @Condition = params['Condition'] unless params['Action'].nil? @Action = BrowserImpersonationDetectionAction.new @Action.deserialize(params['Action']) end end |