Class: TencentCloud::Cdn::V20180606::UpdateImageConfigRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::UpdateImageConfigRequest
- Defined in:
- lib/v20180606/models.rb
Overview
UpdateImageConfig请求参数结构体
Instance Attribute Summary collapse
- #AvifAdapter ⇒ Object
- #Domain ⇒ Object
- #GuetzliAdapter ⇒ Object
- #TpgAdapter ⇒ Object
- #WebpAdapter ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, webpadapter = nil, tpgadapter = nil, guetzliadapter = nil, avifadapter = nil) ⇒ UpdateImageConfigRequest
constructor
A new instance of UpdateImageConfigRequest.
Constructor Details
#initialize(domain = nil, webpadapter = nil, tpgadapter = nil, guetzliadapter = nil, avifadapter = nil) ⇒ UpdateImageConfigRequest
Returns a new instance of UpdateImageConfigRequest.
13921 13922 13923 13924 13925 13926 13927 |
# File 'lib/v20180606/models.rb', line 13921 def initialize(domain=nil, webpadapter=nil, tpgadapter=nil, guetzliadapter=nil, avifadapter=nil) @Domain = domain @WebpAdapter = webpadapter @TpgAdapter = tpgadapter @GuetzliAdapter = guetzliadapter @AvifAdapter = avifadapter end |
Instance Attribute Details
#AvifAdapter ⇒ Object
13919 13920 13921 |
# File 'lib/v20180606/models.rb', line 13919 def AvifAdapter @AvifAdapter end |
#Domain ⇒ Object
13919 13920 13921 |
# File 'lib/v20180606/models.rb', line 13919 def Domain @Domain end |
#GuetzliAdapter ⇒ Object
13919 13920 13921 |
# File 'lib/v20180606/models.rb', line 13919 def GuetzliAdapter @GuetzliAdapter end |
#TpgAdapter ⇒ Object
13919 13920 13921 |
# File 'lib/v20180606/models.rb', line 13919 def TpgAdapter @TpgAdapter end |
#WebpAdapter ⇒ Object
13919 13920 13921 |
# File 'lib/v20180606/models.rb', line 13919 def WebpAdapter @WebpAdapter end |
Instance Method Details
#deserialize(params) ⇒ Object
13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 |
# File 'lib/v20180606/models.rb', line 13929 def deserialize(params) @Domain = params['Domain'] unless params['WebpAdapter'].nil? @WebpAdapter = WebpAdapter.new @WebpAdapter.deserialize(params['WebpAdapter']) end unless params['TpgAdapter'].nil? @TpgAdapter = TpgAdapter.new @TpgAdapter.deserialize(params['TpgAdapter']) end unless params['GuetzliAdapter'].nil? @GuetzliAdapter = GuetzliAdapter.new @GuetzliAdapter.deserialize(params['GuetzliAdapter']) end unless params['AvifAdapter'].nil? @AvifAdapter = AvifAdapter.new @AvifAdapter.deserialize(params['AvifAdapter']) end end |