Class: TencentCloud::Cdn::V20180606::TpgAdapter
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::TpgAdapter
- Defined in:
- lib/v20180606/models.rb
Overview
图片优化-TpgAdapter配置
Instance Attribute Summary collapse
-
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil) ⇒ TpgAdapter
constructor
A new instance of TpgAdapter.
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
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
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 |