Class: TencentCloud::Cdn::V20180606::OfflineCache
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::OfflineCache
- 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) ⇒ OfflineCache
constructor
A new instance of OfflineCache.
Constructor Details
#initialize(switch = nil) ⇒ OfflineCache
Returns a new instance of OfflineCache.
7033 7034 7035 |
# File 'lib/v20180606/models.rb', line 7033 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启 off:关闭
7031 7032 7033 |
# File 'lib/v20180606/models.rb', line 7031 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
7037 7038 7039 |
# File 'lib/v20180606/models.rb', line 7037 def deserialize(params) @Switch = params['Switch'] end |