Class: TencentCloud::Cdn::V20180606::SecurityConfig
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::SecurityConfig
- Defined in:
- lib/v20180606/models.rb
Overview
scdn相关的配置
Instance Attribute Summary collapse
-
#Switch ⇒ Object
on:开启 off:关闭.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil) ⇒ SecurityConfig
constructor
A new instance of SecurityConfig.
Constructor Details
#initialize(switch = nil) ⇒ SecurityConfig
Returns a new instance of SecurityConfig.
12683 12684 12685 |
# File 'lib/v20180606/models.rb', line 12683 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启 off:关闭
12681 12682 12683 |
# File 'lib/v20180606/models.rb', line 12681 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
12687 12688 12689 |
# File 'lib/v20180606/models.rb', line 12687 def deserialize(params) @Switch = params['Switch'] end |