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.



9112
9113
9114
# File 'lib/v20180606/models.rb', line 9112

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

Instance Attribute Details

#SwitchObject

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

Parameters:

  • Switch:

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



9110
9111
9112
# File 'lib/v20180606/models.rb', line 9110

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



9116
9117
9118
# File 'lib/v20180606/models.rb', line 9116

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