Class: TencentCloud::Cdn::V20180606::CacheTagKey
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::CacheTagKey
- Defined in:
- lib/v20180606/models.rb
Overview
组成CacheKey的一部分
Instance Attribute Summary collapse
-
#Switch ⇒ Object
on:开启,使用CacheTag作为CacheKey的一部分 off:关闭,不使用CacheTag作为CacheKey的一部分 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
on:开启,使用CacheTag作为CacheKey的一部分 off:关闭,不使用CacheTag作为CacheKey的一部分 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, value = nil) ⇒ CacheTagKey
constructor
A new instance of CacheTagKey.
Constructor Details
#initialize(switch = nil, value = nil) ⇒ CacheTagKey
Returns a new instance of CacheTagKey.
1703 1704 1705 1706 |
# File 'lib/v20180606/models.rb', line 1703 def initialize(switch=nil, value=nil) @Switch = switch @Value = value end |
Instance Attribute Details
#Switch ⇒ Object
on:开启,使用CacheTag作为CacheKey的一部分off:关闭,不使用CacheTag作为CacheKey的一部分注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1701 1702 1703 |
# File 'lib/v20180606/models.rb', line 1701 def Switch @Switch end |
#Value ⇒ Object
on:开启,使用CacheTag作为CacheKey的一部分off:关闭,不使用CacheTag作为CacheKey的一部分注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1701 1702 1703 |
# File 'lib/v20180606/models.rb', line 1701 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
1708 1709 1710 1711 |
# File 'lib/v20180606/models.rb', line 1708 def deserialize(params) @Switch = params['Switch'] @Value = params['Value'] end |