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.
8942 8943 8944 |
# File 'lib/v20180606/models.rb', line 8942 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启off:关闭
8940 8941 8942 |
# File 'lib/v20180606/models.rb', line 8940 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
8946 8947 8948 |
# File 'lib/v20180606/models.rb', line 8946 def deserialize(params) @Switch = params['Switch'] end |