Class: TencentCloud::Cdn::V20180606::ResponseHeaderCache
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ResponseHeaderCache
- Defined in:
- lib/v20180606/models.rb
Overview
源站头部缓存配置,默认为开启状态,缓存所有头部信息
Instance Attribute Summary collapse
-
#Switch ⇒ Object
on:开启 off:关闭.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil) ⇒ ResponseHeaderCache
constructor
A new instance of ResponseHeaderCache.
Constructor Details
#initialize(switch = nil) ⇒ ResponseHeaderCache
Returns a new instance of ResponseHeaderCache.
11611 11612 11613 |
# File 'lib/v20180606/models.rb', line 11611 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启 off:关闭
11609 11610 11611 |
# File 'lib/v20180606/models.rb', line 11609 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
11615 11616 11617 |
# File 'lib/v20180606/models.rb', line 11615 def deserialize(params) @Switch = params['Switch'] end |