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.



12575
12576
12577
# File 'lib/v20180606/models.rb', line 12575

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

Instance Attribute Details

#SwitchObject

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

Parameters:

  • Switch:

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



12573
12574
12575
# File 'lib/v20180606/models.rb', line 12573

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



12579
12580
12581
# File 'lib/v20180606/models.rb', line 12579

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