Class: TencentCloud::Cdn::V20180606::WafSubRuleStatus

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

Waf子规则开关状态

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#SubIdsObject

on:开启 off:关闭

Parameters:

  • Switch:

    Waf子规则开关状态配置开关,取值有:

  • SubIds:

    规则id列表



14346
14347
14348
# File 'lib/v20180606/models.rb', line 14346

def SubIds
  @SubIds
end

#SwitchObject

on:开启 off:关闭

Parameters:

  • Switch:

    Waf子规则开关状态配置开关,取值有:

  • SubIds:

    规则id列表



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