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