class TencentCloud::Scf::V20180416::PublishLayerVersionRequest
PublishLayerVersion请求参数结构体
def deserialize(params)
def deserialize(params) @LayerName = params['LayerName'] @CompatibleRuntimes = params['CompatibleRuntimes'] unless params['Content'].nil? @Content = Code.new @Content.deserialize(params['Content']) end @Description = params['Description'] @LicenseInfo = params['LicenseInfo'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end
def initialize(layername=nil, compatibleruntimes=nil, content=nil, description=nil, licenseinfo=nil, tags=nil)
def initialize(layername=nil, compatibleruntimes=nil, content=nil, description=nil, licenseinfo=nil, tags=nil) @LayerName = layername @CompatibleRuntimes = compatibleruntimes @Content = content @Description = description @LicenseInfo = licenseinfo @Tags = tags end