Class: TencentCloud::Cdn::V20180606::RuleEngine
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::RuleEngine
- Defined in:
- lib/v20180606/models.rb
Overview
规则引擎配置
Instance Attribute Summary collapse
-
#Content ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。.
-
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, content = nil) ⇒ RuleEngine
constructor
A new instance of RuleEngine.
Constructor Details
#initialize(switch = nil, content = nil) ⇒ RuleEngine
Returns a new instance of RuleEngine.
11735 11736 11737 11738 |
# File 'lib/v20180606/models.rb', line 11735 def initialize(switch=nil, content=nil) @Switch = switch @Content = content end |
Instance Attribute Details
#Content ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
11733 11734 11735 |
# File 'lib/v20180606/models.rb', line 11733 def Content @Content end |
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
11733 11734 11735 |
# File 'lib/v20180606/models.rb', line 11733 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
11740 11741 11742 11743 |
# File 'lib/v20180606/models.rb', line 11740 def deserialize(params) @Switch = params['Switch'] @Content = params['Content'] end |