Class: TencentCloud::Dlc::V20210125::NotebookSessionStatementInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::NotebookSessionStatementInfo
- Defined in:
- lib/v20210125/models.rb
Overview
NotebookSessionStatement详情。
Instance Attribute Summary collapse
-
#BatchId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Code ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Completed ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OutPut ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Progress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Started ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StatementId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(completed = nil, started = nil, progress = nil, statementid = nil, state = nil, output = nil, batchid = nil, code = nil, taskid = nil) ⇒ NotebookSessionStatementInfo
constructor
A new instance of NotebookSessionStatementInfo.
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
#BatchId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def BatchId @BatchId end |
#Code ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def Code @Code end |
#Completed ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def Completed @Completed end |
#OutPut ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def OutPut @OutPut end |
#Progress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def Progress @Progress end |
#Started ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def Started @Started end |
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def State @State end |
#StatementId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12945 12946 12947 |
# File 'lib/v20210125/models.rb', line 12945 def StatementId @StatementId end |
#TaskId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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 |