Class: TencentCloud::Wedata::V20210820::UploadResourceRequestInfo

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

Overview

资源管理-上传资源请求

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, filepath = nil, bucketname = nil, region = nil, newfile = nil, filelist = nil, filesizelist = nil, filemd5 = nil, remotepath = nil) ⇒ UploadResourceRequestInfo

Returns a new instance of UploadResourceRequestInfo.



40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
# File 'lib/v20210820/models.rb', line 40450

def initialize(projectid=nil, filepath=nil, bucketname=nil, region=nil, newfile=nil, filelist=nil, filesizelist=nil, filemd5=nil, remotepath=nil)
  @ProjectId = projectid
  @FilePath = filepath
  @BucketName = bucketname
  @Region = region
  @NewFile = newfile
  @FileList = filelist
  @FileSizeList = filesizelist
  @FileMd5 = filemd5
  @RemotePath = remotepath
end

Instance Attribute Details

#BucketNameObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def BucketName
  @BucketName
end

#FileListObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def FileList
  @FileList
end

#FileMd5Object

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def FileMd5
  @FileMd5
end

#FilePathObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def FilePath
  @FilePath
end

#FileSizeListObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def FileSizeList
  @FileSizeList
end

#NewFileObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def NewFile
  @NewFile
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def ProjectId
  @ProjectId
end

#RegionObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def Region
  @Region
end

#RemotePathObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

    File Md5(适配私有化,公有云可以不传)

  • RemotePath:

    资源在对象存储上的实际路径



40448
40449
40450
# File 'lib/v20210820/models.rb', line 40448

def RemotePath
  @RemotePath
end

Instance Method Details

#deserialize(params) ⇒ Object



40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
# File 'lib/v20210820/models.rb', line 40462

def deserialize(params)
  @ProjectId = params['ProjectId']
  @FilePath = params['FilePath']
  @BucketName = params['BucketName']
  @Region = params['Region']
  @NewFile = params['NewFile']
  @FileList = params['FileList']
  @FileSizeList = params['FileSizeList']
  @FileMd5 = params['FileMd5']
  @RemotePath = params['RemotePath']
end