Class: TencentCloud::Wedata::V20210820::SubmitSqlTaskResponse

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

Overview

SubmitSqlTask返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record = nil, details = nil, requestid = nil) ⇒ SubmitSqlTaskResponse

Returns a new instance of SubmitSqlTaskResponse.



34331
34332
34333
34334
34335
# File 'lib/v20210820/models.rb', line 34331

def initialize(record=nil, details=nil, requestid=nil)
  @Record = record
  @Details = details
  @RequestId = requestid
end

Instance Attribute Details

#DetailsObject

Parameters:

  • Record:

    任务提交记录

  • Details:

    子任务记录列表

  • RequestId:

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



34329
34330
34331
# File 'lib/v20210820/models.rb', line 34329

def Details
  @Details
end

#RecordObject

Parameters:

  • Record:

    任务提交记录

  • Details:

    子任务记录列表

  • RequestId:

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



34329
34330
34331
# File 'lib/v20210820/models.rb', line 34329

def Record
  @Record
end

#RequestIdObject

Parameters:

  • Record:

    任务提交记录

  • Details:

    子任务记录列表

  • RequestId:

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



34329
34330
34331
# File 'lib/v20210820/models.rb', line 34329

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
# File 'lib/v20210820/models.rb', line 34337

def deserialize(params)
  unless params['Record'].nil?
    @Record = AdhocRecord.new
    @Record.deserialize(params['Record'])
  end
  unless params['Details'].nil?
    @Details = []
    params['Details'].each do |i|
      adhocdetail_tmp = AdhocDetail.new
      adhocdetail_tmp.deserialize(i)
      @Details << adhocdetail_tmp
    end
  end
  @RequestId = params['RequestId']
end