Class: TencentCloud::Cdn::V20180606::HeaderKey
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::HeaderKey
- Defined in:
- lib/v20180606/models.rb
Overview
组成CacheKey
Instance Attribute Summary collapse
-
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, value = nil) ⇒ HeaderKey
constructor
A new instance of HeaderKey.
Constructor Details
#initialize(switch = nil, value = nil) ⇒ HeaderKey
Returns a new instance of HeaderKey.
7780 7781 7782 7783 |
# File 'lib/v20180606/models.rb', line 7780 def initialize(switch=nil, value=nil) @Switch = switch @Value = value end |
Instance Attribute Details
#Switch ⇒ Object
on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7778 7779 7780 |
# File 'lib/v20180606/models.rb', line 7778 def Switch @Switch end |
#Value ⇒ Object
on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7778 7779 7780 |
# File 'lib/v20180606/models.rb', line 7778 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
7785 7786 7787 7788 |
# File 'lib/v20180606/models.rb', line 7785 def deserialize(params) @Switch = params['Switch'] @Value = params['Value'] end |