Class: TencentCloud::Waf::V20180125::ModifySpartaProtectionModeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifySpartaProtectionModeRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifySpartaProtectionMode请求参数结构体
Instance Attribute Summary collapse
-
#Domain ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式.
-
#Edition ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式.
-
#Mode ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式.
-
#Type ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, mode = nil, edition = nil, type = nil) ⇒ ModifySpartaProtectionModeRequest
constructor
A new instance of ModifySpartaProtectionModeRequest.
Constructor Details
#initialize(domain = nil, mode = nil, edition = nil, type = nil) ⇒ ModifySpartaProtectionModeRequest
Returns a new instance of ModifySpartaProtectionModeRequest.
11154 11155 11156 11157 11158 11159 |
# File 'lib/v20180125/models.rb', line 11154 def initialize(domain=nil, mode=nil, edition=nil, type=nil) @Domain = domain @Mode = mode @Edition = edition @Type = type end |
Instance Attribute Details
#Domain ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式
11152 11153 11154 |
# File 'lib/v20180125/models.rb', line 11152 def Domain @Domain end |
#Edition ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式
11152 11153 11154 |
# File 'lib/v20180125/models.rb', line 11152 def Edition @Edition end |
#Mode ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式
11152 11153 11154 |
# File 'lib/v20180125/models.rb', line 11152 def Mode @Mode end |
#Type ⇒ Object
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式 20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式
11152 11153 11154 |
# File 'lib/v20180125/models.rb', line 11152 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
11161 11162 11163 11164 11165 11166 |
# File 'lib/v20180125/models.rb', line 11161 def deserialize(params) @Domain = params['Domain'] @Mode = params['Mode'] @Edition = params['Edition'] @Type = params['Type'] end |