Class: TencentCloud::Cdn::V20180606::GuetzliAdapter

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

Overview

图片优化-GuetzliAdapter配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil) ⇒ GuetzliAdapter

Returns a new instance of GuetzliAdapter.



7760
7761
7762
# File 'lib/v20180606/models.rb', line 7760

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

Instance Attribute Details

#SwitchObject

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

Parameters:

  • Switch:

    图片优化-GuetzliAdapter配置开关,取值有:



7758
7759
7760
# File 'lib/v20180606/models.rb', line 7758

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



7764
7765
7766
# File 'lib/v20180606/models.rb', line 7764

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