Class: TencentCloud::Cdn::V20180606::TpgAdapter

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

Overview

图片优化-TpgAdapter配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil) ⇒ TpgAdapter

Returns a new instance of TpgAdapter.



13417
13418
13419
# File 'lib/v20180606/models.rb', line 13417

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

Instance Attribute Details

#SwitchObject

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

Parameters:

  • Switch:

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



13415
13416
13417
# File 'lib/v20180606/models.rb', line 13415

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



13421
13422
13423
# File 'lib/v20180606/models.rb', line 13421

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