Class: TencentCloud::Dlc::V20210125::NotebookSessionStatementInfo

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

Overview

NotebookSessionStatement详情。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(completed = nil, started = nil, progress = nil, statementid = nil, state = nil, output = nil, batchid = nil, code = nil, taskid = nil) ⇒ NotebookSessionStatementInfo

Returns a new instance of NotebookSessionStatementInfo.



12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
# File 'lib/v20210125/models.rb', line 12947

def initialize(completed=nil, started=nil, progress=nil, statementid=nil, state=nil, output=nil, batchid=nil, code=nil, taskid=nil)
  @Completed = completed
  @Started = started
  @Progress = progress
  @StatementId = statementid
  @State = state
  @OutPut = output
  @BatchId = batchid
  @Code = code
  @TaskId = taskid
end

Instance Attribute Details

#BatchIdObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def BatchId
  @BatchId
end

#CodeObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def Code
  @Code
end

#CompletedObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def Completed
  @Completed
end

#OutPutObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def OutPut
  @OutPut
end

#ProgressObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def Progress
  @Progress
end

#StartedObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def Started
  @Started
end

#StateObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def State
  @State
end

#StatementIdObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def StatementId
  @StatementId
end

#TaskIdObject

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

Parameters:

  • Completed:

    完成时间戳

  • Started:

    开始时间戳

  • Progress:

    完成进度,百分制

  • StatementId:

    Session Statement唯一标识

  • State:

    Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)

  • OutPut:

    Statement输出信息

  • BatchId:

    批任务id

  • Code:

    运行语句

  • TaskId:

    任务ID



12945
12946
12947
# File 'lib/v20210125/models.rb', line 12945

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
# File 'lib/v20210125/models.rb', line 12959

def deserialize(params)
  @Completed = params['Completed']
  @Started = params['Started']
  @Progress = params['Progress']
  @StatementId = params['StatementId']
  @State = params['State']
  unless params['OutPut'].nil?
    @OutPut = StatementOutput.new
    @OutPut.deserialize(params['OutPut'])
  end
  @BatchId = params['BatchId']
  @Code = params['Code']
  @TaskId = params['TaskId']
end