Class: TencentCloud::Cdn::V20180606::RuleEngine

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

Overview

规则引擎配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil, content = nil) ⇒ RuleEngine

Returns a new instance of RuleEngine.



9235
9236
9237
9238
# File 'lib/v20180606/models.rb', line 9235

def initialize(switch=nil, content=nil)
  @Switch = switch
  @Content = content
end

Instance Attribute Details

#ContentObject

on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    规则引擎配置开关,取值有:

  • Content:

    规则



9233
9234
9235
# File 'lib/v20180606/models.rb', line 9233

def Content
  @Content
end

#SwitchObject

on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    规则引擎配置开关,取值有:

  • Content:

    规则



9233
9234
9235
# File 'lib/v20180606/models.rb', line 9233

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



9240
9241
9242
9243
# File 'lib/v20180606/models.rb', line 9240

def deserialize(params)
  @Switch = params['Switch']
  @Content = params['Content']
end