Class: TencentCloud::Cdn::V20180606::UpdateImageConfigRequest

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

Overview

UpdateImageConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AvifAdapterObject

Parameters:

  • Domain:

    域名

  • WebpAdapter:

    WebpAdapter配置项

  • TpgAdapter:

    TpgAdapter配置项

  • GuetzliAdapter:

    GuetzliAdapter配置项

  • AvifAdapter:

    AvifAdapter配置项



13919
13920
13921
# File 'lib/v20180606/models.rb', line 13919

def AvifAdapter
  @AvifAdapter
end

#DomainObject

Parameters:

  • Domain:

    域名

  • WebpAdapter:

    WebpAdapter配置项

  • TpgAdapter:

    TpgAdapter配置项

  • GuetzliAdapter:

    GuetzliAdapter配置项

  • AvifAdapter:

    AvifAdapter配置项



13919
13920
13921
# File 'lib/v20180606/models.rb', line 13919

def Domain
  @Domain
end

#GuetzliAdapterObject

Parameters:

  • Domain:

    域名

  • WebpAdapter:

    WebpAdapter配置项

  • TpgAdapter:

    TpgAdapter配置项

  • GuetzliAdapter:

    GuetzliAdapter配置项

  • AvifAdapter:

    AvifAdapter配置项



13919
13920
13921
# File 'lib/v20180606/models.rb', line 13919

def GuetzliAdapter
  @GuetzliAdapter
end

#TpgAdapterObject

Parameters:

  • Domain:

    域名

  • WebpAdapter:

    WebpAdapter配置项

  • TpgAdapter:

    TpgAdapter配置项

  • GuetzliAdapter:

    GuetzliAdapter配置项

  • AvifAdapter:

    AvifAdapter配置项



13919
13920
13921
# File 'lib/v20180606/models.rb', line 13919

def TpgAdapter
  @TpgAdapter
end

#WebpAdapterObject

Parameters:

  • Domain:

    域名

  • WebpAdapter:

    WebpAdapter配置项

  • TpgAdapter:

    TpgAdapter配置项

  • GuetzliAdapter:

    GuetzliAdapter配置项

  • AvifAdapter:

    AvifAdapter配置项



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