Class: TencentCloud::Cdn::V20180606::ResponseHeaderCache

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

源站头部缓存配置,默认为开启状态,缓存所有头部信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#SwitchObject

on:开启 off:关闭

Parameters:

  • Switch:

    源站头部缓存配置开关,取值有:



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