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.
9922 9923 9924 |
# File 'lib/v20180606/models.rb', line 9922 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启off:关闭
9920 9921 9922 |
# File 'lib/v20180606/models.rb', line 9920 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
9926 9927 9928 |
# File 'lib/v20180606/models.rb', line 9926 def deserialize(params) @Switch = params['Switch'] end |