Class: TencentCloud::Cdn::V20180606::CacheKey
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::CacheKey
- Defined in:
- lib/v20180606/models.rb
Overview
缓存键配置(忽略参数配置)
Instance Attribute Summary collapse
-
#CacheTag ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Cookie ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FullUrlCache ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Header ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IgnoreCase ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#KeyRules ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#QueryString ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Scheme ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fullurlcache = nil, ignorecase = nil, querystring = nil, cookie = nil, header = nil, cachetag = nil, scheme = nil, keyrules = nil) ⇒ CacheKey
constructor
A new instance of CacheKey.
Constructor Details
#initialize(fullurlcache = nil, ignorecase = nil, querystring = nil, cookie = nil, header = nil, cachetag = nil, scheme = nil, keyrules = nil) ⇒ CacheKey
Returns a new instance of CacheKey.
1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
# File 'lib/v20180606/models.rb', line 1656 def initialize(fullurlcache=nil, ignorecase=nil, querystring=nil, =nil, header=nil, cachetag=nil, scheme=nil, keyrules=nil) @FullUrlCache = fullurlcache @IgnoreCase = ignorecase @QueryString = querystring @Cookie = @Header = header @CacheTag = cachetag @Scheme = scheme @KeyRules = keyrules end |
Instance Attribute Details
#CacheTag ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def CacheTag @CacheTag end |
#Cookie ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def Cookie @Cookie end |
#FullUrlCache ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def FullUrlCache @FullUrlCache end |
#Header ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def Header @Header end |
#IgnoreCase ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def IgnoreCase @IgnoreCase end |
#KeyRules ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def KeyRules @KeyRules end |
#QueryString ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def QueryString @QueryString end |
#Scheme ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1654 1655 1656 |
# File 'lib/v20180606/models.rb', line 1654 def Scheme @Scheme end |
Instance Method Details
#deserialize(params) ⇒ Object
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 |
# File 'lib/v20180606/models.rb', line 1667 def deserialize(params) @FullUrlCache = params['FullUrlCache'] @IgnoreCase = params['IgnoreCase'] unless params['QueryString'].nil? @QueryString = QueryStringKey.new @QueryString.deserialize(params['QueryString']) end unless params['Cookie'].nil? @Cookie = CookieKey.new @Cookie.deserialize(params['Cookie']) end unless params['Header'].nil? @Header = HeaderKey.new @Header.deserialize(params['Header']) end unless params['CacheTag'].nil? @CacheTag = CacheTagKey.new @CacheTag.deserialize(params['CacheTag']) end unless params['Scheme'].nil? @Scheme = SchemeKey.new @Scheme.deserialize(params['Scheme']) end unless params['KeyRules'].nil? @KeyRules = [] params['KeyRules'].each do |i| keyrule_tmp = KeyRule.new keyrule_tmp.deserialize(i) @KeyRules << keyrule_tmp end end end |