Class: TencentCloud::Cdn::V20180606::ScdnDdosConfig
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ScdnDdosConfig
- Defined in:
- lib/v20180606/models.rb
Overview
ddos配置类型
Instance Attribute Summary collapse
-
#Switch ⇒ Object
on:开启 off:关闭.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil) ⇒ ScdnDdosConfig
constructor
A new instance of ScdnDdosConfig.
Constructor Details
#initialize(switch = nil) ⇒ ScdnDdosConfig
Returns a new instance of ScdnDdosConfig.
12059 12060 12061 |
# File 'lib/v20180606/models.rb', line 12059 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启 off:关闭
12057 12058 12059 |
# File 'lib/v20180606/models.rb', line 12057 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
12063 12064 12065 |
# File 'lib/v20180606/models.rb', line 12063 def deserialize(params) @Switch = params['Switch'] end |