Class: TencentCloud::Cdn::V20180606::WebpAdapter
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::WebpAdapter
- Defined in:
- lib/v20180606/models.rb
Overview
图片优化-WebpAdapter配置
Instance Attribute Summary collapse
-
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil) ⇒ WebpAdapter
constructor
A new instance of WebpAdapter.
Constructor Details
#initialize(switch = nil) ⇒ WebpAdapter
Returns a new instance of WebpAdapter.
14393 14394 14395 |
# File 'lib/v20180606/models.rb', line 14393 def initialize(switch=nil) @Switch = switch end |
Instance Attribute Details
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
14391 14392 14393 |
# File 'lib/v20180606/models.rb', line 14391 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
14397 14398 14399 |
# File 'lib/v20180606/models.rb', line 14397 def deserialize(params) @Switch = params['Switch'] end |