Class: TencentCloud::Cdn::V20180606::SchemeKey

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

作为CacheKey的一部分

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil) ⇒ SchemeKey

Returns a new instance of SchemeKey.



12594
12595
12596
# File 'lib/v20180606/models.rb', line 12594

def initialize(switch=nil)
  @Switch = switch
end

Instance Attribute Details

#SwitchObject

on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    scheme作为cache key配置开关,取值有:



12592
12593
12594
# File 'lib/v20180606/models.rb', line 12592

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



12598
12599
12600
# File 'lib/v20180606/models.rb', line 12598

def deserialize(params)
  @Switch = params['Switch']
end