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.



40078
40079
40080
40081
40082
40083
40084
40085
40086
40087
40088
# File 'lib/v20210820/models.rb', line 40078

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:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def BucketName
  @BucketName
end

#FileListObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def FileList
  @FileList
end

#FileMd5Object

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def FileMd5
  @FileMd5
end

#FilePathObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def FilePath
  @FilePath
end

#FileSizeListObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def FileSizeList
  @FileSizeList
end

#NewFileObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def NewFile
  @NewFile
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def ProjectId
  @ProjectId
end

#RegionObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def Region
  @Region
end

#RemotePathObject

Parameters:

  • ProjectId:

    项目id

  • FilePath:

    资源路径

  • BucketName:

    桶名称

  • Region:

    所属地区

  • NewFile:

    是否为新资源

  • FileList:

    资源列表

  • FileSizeList:

    资源大小列表

  • FileMd5:

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

  • RemotePath:

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



40076
40077
40078
# File 'lib/v20210820/models.rb', line 40076

def RemotePath
  @RemotePath
end

Instance Method Details

#deserialize(params) ⇒ Object



40090
40091
40092
40093
40094
40095
40096
40097
40098
40099
40100
# File 'lib/v20210820/models.rb', line 40090

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