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.



8877
8878
8879
# File 'lib/v20180606/models.rb', line 8877

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

Instance Attribute Details

#SwitchObject

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

Parameters:

  • Switch:

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



8875
8876
8877
# File 'lib/v20180606/models.rb', line 8875

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



8881
8882
8883
# File 'lib/v20180606/models.rb', line 8881

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