class TencentCloud::Ess::V20201111::UploadFilesRequest
UploadFiles请求参数结构体
def deserialize(params)
def deserialize(params) @BusinessType = params['BusinessType'] unless params['Caller'].nil? @Caller = Caller.new @Caller.deserialize(params['Caller']) end unless params['FileInfos'].nil? @FileInfos = [] params['FileInfos'].each do |i| uploadfile_tmp = UploadFile.new uploadfile_tmp.deserialize(i) @FileInfos << uploadfile_tmp end end @FileType = params['FileType'] @CoverRect = params['CoverRect'] @CustomIds = params['CustomIds'] @FileUrls = params['FileUrls'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end end
def initialize(businesstype=nil, caller=nil, fileinfos=nil, filetype=nil, coverrect=nil, customids=nil, fileurls=nil, agent=nil)
def initialize(businesstype=nil, caller=nil, fileinfos=nil, filetype=nil, coverrect=nil, customids=nil, fileurls=nil, agent=nil) @BusinessType = businesstype @Caller = caller @FileInfos = fileinfos @FileType = filetype @CoverRect = coverrect @CustomIds = customids @FileUrls = fileurls @Agent = agent end