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.
7418 7419 7420 |
# File 'lib/v20180606/models.rb', line 7418 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启off:关闭
7416 7417 7418 |
# File 'lib/v20180606/models.rb', line 7416 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
7422 7423 7424 |
# File 'lib/v20180606/models.rb', line 7422 def deserialize(params) @Switch = params['Switch'] end |