Class: TencentCloud::Cdn::V20180606::CacheConfigNoCache
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::CacheConfigNoCache
- Defined in:
- lib/v20180606/models.rb
Overview
路径缓存不缓存配置
Instance Attribute Summary collapse
-
#Revalidate ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。.
-
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, revalidate = nil) ⇒ CacheConfigNoCache
constructor
A new instance of CacheConfigNoCache.
Constructor Details
#initialize(switch = nil, revalidate = nil) ⇒ CacheConfigNoCache
Returns a new instance of CacheConfigNoCache.
1580 1581 1582 1583 |
# File 'lib/v20180606/models.rb', line 1580 def initialize(switch=nil, revalidate=nil) @Switch = switch @Revalidate = revalidate end |
Instance Attribute Details
#Revalidate ⇒ Object
on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。on:开启off:关闭默认为关闭状态注意:此字段可能返回 null,表示取不到有效值。
1578 1579 1580 |
# File 'lib/v20180606/models.rb', line 1578 def Revalidate @Revalidate end |
#Switch ⇒ Object
on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。on:开启off:关闭默认为关闭状态注意:此字段可能返回 null,表示取不到有效值。
1578 1579 1580 |
# File 'lib/v20180606/models.rb', line 1578 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
1585 1586 1587 1588 |
# File 'lib/v20180606/models.rb', line 1585 def deserialize(params) @Switch = params['Switch'] @Revalidate = params['Revalidate'] end |