Class: TencentCloud::Wedata::V20210820::UploadContentResponse

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

Overview

UploadContent返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scriptinfo = nil, requestid = nil) ⇒ UploadContentResponse

Returns a new instance of UploadContentResponse.



40390
40391
40392
40393
# File 'lib/v20210820/models.rb', line 40390

def initialize(scriptinfo=nil, requestid=nil)
  @ScriptInfo = scriptinfo
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ScriptInfo:

    脚本信息响应

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



40388
40389
40390
# File 'lib/v20210820/models.rb', line 40388

def RequestId
  @RequestId
end

#ScriptInfoObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ScriptInfo:

    脚本信息响应

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



40388
40389
40390
# File 'lib/v20210820/models.rb', line 40388

def ScriptInfo
  @ScriptInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



40395
40396
40397
40398
40399
40400
40401
# File 'lib/v20210820/models.rb', line 40395

def deserialize(params)
  unless params['ScriptInfo'].nil?
    @ScriptInfo = ScriptInfoResponse.new
    @ScriptInfo.deserialize(params['ScriptInfo'])
  end
  @RequestId = params['RequestId']
end