Class: TencentCloud::Cdn::V20180606::CacheConfig
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::CacheConfig
- Defined in:
- lib/v20180606/models.rb
Overview
启发式自定义时间缓存配置
Instance Attribute Summary collapse
-
#HeuristicCacheTime ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HeuristicCacheTimeSwitch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(heuristiccachetimeswitch = nil, heuristiccachetime = nil) ⇒ CacheConfig
constructor
A new instance of CacheConfig.
Constructor Details
#initialize(heuristiccachetimeswitch = nil, heuristiccachetime = nil) ⇒ CacheConfig
Returns a new instance of CacheConfig.
1462 1463 1464 1465 |
# File 'lib/v20180606/models.rb', line 1462 def initialize(heuristiccachetimeswitch=nil, heuristiccachetime=nil) @HeuristicCacheTimeSwitch = heuristiccachetimeswitch @HeuristicCacheTime = heuristiccachetime end |
Instance Attribute Details
#HeuristicCacheTime ⇒ Object
on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1460 1461 1462 |
# File 'lib/v20180606/models.rb', line 1460 def HeuristicCacheTime @HeuristicCacheTime end |
#HeuristicCacheTimeSwitch ⇒ Object
on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1460 1461 1462 |
# File 'lib/v20180606/models.rb', line 1460 def HeuristicCacheTimeSwitch @HeuristicCacheTimeSwitch end |
Instance Method Details
#deserialize(params) ⇒ Object
1467 1468 1469 1470 |
# File 'lib/v20180606/models.rb', line 1467 def deserialize(params) @HeuristicCacheTimeSwitch = params['HeuristicCacheTimeSwitch'] @HeuristicCacheTime = params['HeuristicCacheTime'] end |