Class: TencentCloud::Dlc::V20210125::CreateSparkSessionBatchSQLResponse

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

Overview

CreateSparkSessionBatchSQL返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batchid = nil, statements = nil, requestid = nil) ⇒ CreateSparkSessionBatchSQLResponse

Returns a new instance of CreateSparkSessionBatchSQLResponse.



2903
2904
2905
2906
2907
# File 'lib/v20210125/models.rb', line 2903

def initialize(batchid=nil, statements=nil, requestid=nil)
  @BatchId = batchid
  @Statements = statements
  @RequestId = requestid
end

Instance Attribute Details

#BatchIdObject

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

Parameters:

  • BatchId:

    批任务唯一标识

  • Statements:

    Statement任务列表信息

  • RequestId:

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



2901
2902
2903
# File 'lib/v20210125/models.rb', line 2901

def BatchId
  @BatchId
end

#RequestIdObject

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

Parameters:

  • BatchId:

    批任务唯一标识

  • Statements:

    Statement任务列表信息

  • RequestId:

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



2901
2902
2903
# File 'lib/v20210125/models.rb', line 2901

def RequestId
  @RequestId
end

#StatementsObject

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

Parameters:

  • BatchId:

    批任务唯一标识

  • Statements:

    Statement任务列表信息

  • RequestId:

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



2901
2902
2903
# File 'lib/v20210125/models.rb', line 2901

def Statements
  @Statements
end

Instance Method Details

#deserialize(params) ⇒ Object



2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
# File 'lib/v20210125/models.rb', line 2909

def deserialize(params)
  @BatchId = params['BatchId']
  unless params['Statements'].nil?
    @Statements = []
    params['Statements'].each do |i|
      statementinformation_tmp = StatementInformation.new
      statementinformation_tmp.deserialize(i)
      @Statements << statementinformation_tmp
    end
  end
  @RequestId = params['RequestId']
end