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.
9941 9942 9943 |
# File 'lib/v20180606/models.rb', line 9941 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启 off:关闭
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 |