Class: TencentCloud::Dlc::V20210125::NotebookSessionStatementBatchInformation

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

Overview

按批提交Statement运行SQL任务。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notebooksessionstatementbatch = nil, isavailable = nil, sessionid = nil, batchid = nil) ⇒ NotebookSessionStatementBatchInformation

Returns a new instance of NotebookSessionStatementBatchInformation.



12901
12902
12903
12904
12905
12906
# File 'lib/v20210125/models.rb', line 12901

def initialize(notebooksessionstatementbatch=nil, isavailable=nil, sessionid=nil, batchid=nil)
  @NotebookSessionStatementBatch = notebooksessionstatementbatch
  @IsAvailable = isavailable
  @SessionId = sessionid
  @BatchId = batchid
end

Instance Attribute Details

#BatchIdObject

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

Parameters:

  • NotebookSessionStatementBatch:

    任务详情列表

  • IsAvailable:

    当前批任务是否运行完成

  • SessionId:

    Session唯一标识

  • BatchId:

    Batch唯一标识



12899
12900
12901
# File 'lib/v20210125/models.rb', line 12899

def BatchId
  @BatchId
end

#IsAvailableObject

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

Parameters:

  • NotebookSessionStatementBatch:

    任务详情列表

  • IsAvailable:

    当前批任务是否运行完成

  • SessionId:

    Session唯一标识

  • BatchId:

    Batch唯一标识



12899
12900
12901
# File 'lib/v20210125/models.rb', line 12899

def IsAvailable
  @IsAvailable
end

#NotebookSessionStatementBatchObject

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

Parameters:

  • NotebookSessionStatementBatch:

    任务详情列表

  • IsAvailable:

    当前批任务是否运行完成

  • SessionId:

    Session唯一标识

  • BatchId:

    Batch唯一标识



12899
12900
12901
# File 'lib/v20210125/models.rb', line 12899

def NotebookSessionStatementBatch
  @NotebookSessionStatementBatch
end

#SessionIdObject

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

Parameters:

  • NotebookSessionStatementBatch:

    任务详情列表

  • IsAvailable:

    当前批任务是否运行完成

  • SessionId:

    Session唯一标识

  • BatchId:

    Batch唯一标识



12899
12900
12901
# File 'lib/v20210125/models.rb', line 12899

def SessionId
  @SessionId
end

Instance Method Details

#deserialize(params) ⇒ Object



12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
# File 'lib/v20210125/models.rb', line 12908

def deserialize(params)
  unless params['NotebookSessionStatementBatch'].nil?
    @NotebookSessionStatementBatch = []
    params['NotebookSessionStatementBatch'].each do |i|
      notebooksessionstatementinfo_tmp = NotebookSessionStatementInfo.new
      notebooksessionstatementinfo_tmp.deserialize(i)
      @NotebookSessionStatementBatch << notebooksessionstatementinfo_tmp
    end
  end
  @IsAvailable = params['IsAvailable']
  @SessionId = params['SessionId']
  @BatchId = params['BatchId']
end