Class: TencentCloud::Cdn::V20180606::OfflineCache

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) ⇒ OfflineCache

Returns a new instance of OfflineCache.



9941
9942
9943
# File 'lib/v20180606/models.rb', line 9941

def initialize(switch=nil)
  @Switch = switch
end

Instance Attribute Details

#SwitchObject

on:开启 off:关闭

Parameters:

  • Switch:

    离线缓存配置开关,取值有:



9939
9940
9941
# File 'lib/v20180606/models.rb', line 9939

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



9945
9946
9947
# File 'lib/v20180606/models.rb', line 9945

def deserialize(params)
  @Switch = params['Switch']
end