Class: TencentCloud::Cpdp::V20190820::UploadFileResponse

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

Overview

UploadFile返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fileid = nil, requestid = nil) ⇒ UploadFileResponse

Returns a new instance of UploadFileResponse.



27367
27368
27369
27370
# File 'lib/v20190820/models.rb', line 27367

def initialize(fileid=nil, requestid=nil)
  @FileId = fileid
  @RequestId = requestid
end

Instance Attribute Details

#FileIdObject

Parameters:

  • FileId:

    文件ID

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



27365
27366
27367
# File 'lib/v20190820/models.rb', line 27365

def FileId
  @FileId
end

#RequestIdObject

Parameters:

  • FileId:

    文件ID

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



27365
27366
27367
# File 'lib/v20190820/models.rb', line 27365

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



27372
27373
27374
27375
# File 'lib/v20190820/models.rb', line 27372

def deserialize(params)
  @FileId = params['FileId']
  @RequestId = params['RequestId']
end