Class: TencentCloud::Dlc::V20210125::CreateSparkSessionBatchSQLResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::CreateSparkSessionBatchSQLResponse
- Defined in:
- lib/v20210125/models.rb
Overview
CreateSparkSessionBatchSQL返回参数结构体
Instance Attribute Summary collapse
-
#BatchId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Statements ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(batchid = nil, statements = nil, requestid = nil) ⇒ CreateSparkSessionBatchSQLResponse
constructor
A new instance of CreateSparkSessionBatchSQLResponse.
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
#BatchId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2901 2902 2903 |
# File 'lib/v20210125/models.rb', line 2901 def BatchId @BatchId end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2901 2902 2903 |
# File 'lib/v20210125/models.rb', line 2901 def RequestId @RequestId end |
#Statements ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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 |