Class: TencentCloud::Dlc::V20210125::DescribeSparkSessionBatchSQLCostResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DescribeSparkSessionBatchSQLCostResponse
- Defined in:
- lib/v20210125/models.rb
Overview
DescribeSparkSessionBatchSQLCost返回参数结构体
Instance Attribute Summary collapse
-
#CostInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(costinfo = nil, requestid = nil) ⇒ DescribeSparkSessionBatchSQLCostResponse
constructor
A new instance of DescribeSparkSessionBatchSQLCostResponse.
Constructor Details
#initialize(costinfo = nil, requestid = nil) ⇒ DescribeSparkSessionBatchSQLCostResponse
Returns a new instance of DescribeSparkSessionBatchSQLCostResponse.
8470 8471 8472 8473 |
# File 'lib/v20210125/models.rb', line 8470 def initialize(costinfo=nil, requestid=nil) @CostInfo = costinfo @RequestId = requestid end |
Instance Attribute Details
#CostInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8468 8469 8470 |
# File 'lib/v20210125/models.rb', line 8468 def CostInfo @CostInfo end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8468 8469 8470 |
# File 'lib/v20210125/models.rb', line 8468 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 |
# File 'lib/v20210125/models.rb', line 8475 def deserialize(params) unless params['CostInfo'].nil? @CostInfo = [] params['CostInfo'].each do |i| batchsqlcostinfo_tmp = BatchSQLCostInfo.new batchsqlcostinfo_tmp.deserialize(i) @CostInfo << batchsqlcostinfo_tmp end end @RequestId = params['RequestId'] end |