Class: TencentCloud::Waf::V20180125::AddAntiInfoLeakRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::AddAntiInfoLeakRulesRequest
- Defined in:
- lib/v20180125/models.rb
Overview
AddAntiInfoLeakRules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, name = nil, actiontype = nil, strategies = nil, uri = nil) ⇒ AddAntiInfoLeakRulesRequest
constructor
A new instance of AddAntiInfoLeakRulesRequest.
Constructor Details
#initialize(domain = nil, name = nil, actiontype = nil, strategies = nil, uri = nil) ⇒ AddAntiInfoLeakRulesRequest
389 390 391 392 393 394 395 |
# File 'lib/v20180125/models.rb', line 389 def initialize(domain=nil, name=nil, actiontype=nil, strategies=nil, uri=nil) @Domain = domain @Name = name @ActionType = actiontype @Strategies = strategies @Uri = uri end |
Instance Attribute Details
#ActionType ⇒ Object
387 388 389 |
# File 'lib/v20180125/models.rb', line 387 def ActionType @ActionType end |
#Domain ⇒ Object
387 388 389 |
# File 'lib/v20180125/models.rb', line 387 def Domain @Domain end |
#Name ⇒ Object
387 388 389 |
# File 'lib/v20180125/models.rb', line 387 def Name @Name end |
#Strategies ⇒ Object
387 388 389 |
# File 'lib/v20180125/models.rb', line 387 def Strategies @Strategies end |
#Uri ⇒ Object
387 388 389 |
# File 'lib/v20180125/models.rb', line 387 def Uri @Uri end |
Instance Method Details
#deserialize(params) ⇒ Object
397 398 399 400 401 402 403 404 405 406 407 408 409 410 |
# File 'lib/v20180125/models.rb', line 397 def deserialize(params) @Domain = params['Domain'] @Name = params['Name'] @ActionType = params['ActionType'] unless params['Strategies'].nil? @Strategies = [] params['Strategies'].each do |i| strategyforantiinfoleak_tmp = StrategyForAntiInfoLeak.new strategyforantiinfoleak_tmp.deserialize(i) @Strategies << strategyforantiinfoleak_tmp end end @Uri = params['Uri'] end |