Class: TencentCloud::Cdn::V20180606::WafSubRuleStatus
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::WafSubRuleStatus
- Defined in:
- lib/v20180606/models.rb
Overview
Waf子规则开关状态
Instance Attribute Summary collapse
-
#SubIds ⇒ Object
on:开启 off:关闭.
-
#Switch ⇒ Object
on:开启 off:关闭.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, subids = nil) ⇒ WafSubRuleStatus
constructor
A new instance of WafSubRuleStatus.
Constructor Details
#initialize(switch = nil, subids = nil) ⇒ WafSubRuleStatus
Returns a new instance of WafSubRuleStatus.
14348 14349 14350 14351 |
# File 'lib/v20180606/models.rb', line 14348 def initialize(switch=nil, subids=nil) @Switch = switch @SubIds = subids end |
Instance Attribute Details
#SubIds ⇒ Object
on:开启 off:关闭
14346 14347 14348 |
# File 'lib/v20180606/models.rb', line 14346 def SubIds @SubIds end |
#Switch ⇒ Object
on:开启 off:关闭
14346 14347 14348 |
# File 'lib/v20180606/models.rb', line 14346 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
14353 14354 14355 14356 |
# File 'lib/v20180606/models.rb', line 14353 def deserialize(params) @Switch = params['Switch'] @SubIds = params['SubIds'] end |