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.
8702 8703 8704 |
# File 'lib/v20180606/models.rb', line 8702 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启off:关闭
8700 8701 8702 |
# File 'lib/v20180606/models.rb', line 8700 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
8706 8707 8708 |
# File 'lib/v20180606/models.rb', line 8706 def deserialize(params) @Switch = params['Switch'] end |