Class: TencentCloud::Dlc::V20210125::DescribeSparkSessionBatchSQLResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DescribeSparkSessionBatchSQLResponse
- Defined in:
- lib/v20210125/models.rb
Overview
DescribeSparkSessionBatchSQL返回参数结构体
Instance Attribute Summary collapse
-
#Event ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(state = nil, tasks = nil, event = nil, requestid = nil) ⇒ DescribeSparkSessionBatchSQLResponse
constructor
A new instance of DescribeSparkSessionBatchSQLResponse.
Constructor Details
#initialize(state = nil, tasks = nil, event = nil, requestid = nil) ⇒ DescribeSparkSessionBatchSQLResponse
Returns a new instance of DescribeSparkSessionBatchSQLResponse.
8522 8523 8524 8525 8526 8527 |
# File 'lib/v20210125/models.rb', line 8522 def initialize(state=nil, tasks=nil, event=nil, requestid=nil) @State = state @Tasks = tasks @Event = event @RequestId = requestid end |
Instance Attribute Details
#Event ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8520 8521 8522 |
# File 'lib/v20210125/models.rb', line 8520 def Event @Event end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8520 8521 8522 |
# File 'lib/v20210125/models.rb', line 8520 def RequestId @RequestId end |
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8520 8521 8522 |
# File 'lib/v20210125/models.rb', line 8520 def State @State end |
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8520 8521 8522 |
# File 'lib/v20210125/models.rb', line 8520 def Tasks @Tasks end |
Instance Method Details
#deserialize(params) ⇒ Object
8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 |
# File 'lib/v20210125/models.rb', line 8529 def deserialize(params) @State = params['State'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| batchsqltask_tmp = BatchSqlTask.new batchsqltask_tmp.deserialize(i) @Tasks << batchsqltask_tmp end end @Event = params['Event'] @RequestId = params['RequestId'] end |