Class: TencentCloud::Iotexplorer::V20190423::GetBatchProductionsListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::GetBatchProductionsListResponse
- Defined in:
- lib/v20190423/models.rb
Overview
GetBatchProductionsList返回参数结构体
Instance Attribute Summary collapse
-
#BatchProductions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCnt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(batchproductions = nil, totalcnt = nil, requestid = nil) ⇒ GetBatchProductionsListResponse
constructor
A new instance of GetBatchProductionsListResponse.
Constructor Details
#initialize(batchproductions = nil, totalcnt = nil, requestid = nil) ⇒ GetBatchProductionsListResponse
Returns a new instance of GetBatchProductionsListResponse.
8373 8374 8375 8376 8377 |
# File 'lib/v20190423/models.rb', line 8373 def initialize(batchproductions=nil, totalcnt=nil, requestid=nil) @BatchProductions = batchproductions @TotalCnt = totalcnt @RequestId = requestid end |
Instance Attribute Details
#BatchProductions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8371 8372 8373 |
# File 'lib/v20190423/models.rb', line 8371 def BatchProductions @BatchProductions end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8371 8372 8373 |
# File 'lib/v20190423/models.rb', line 8371 def RequestId @RequestId end |
#TotalCnt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8371 8372 8373 |
# File 'lib/v20190423/models.rb', line 8371 def TotalCnt @TotalCnt end |
Instance Method Details
#deserialize(params) ⇒ Object
8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 |
# File 'lib/v20190423/models.rb', line 8379 def deserialize(params) unless params['BatchProductions'].nil? @BatchProductions = [] params['BatchProductions'].each do |i| batchproductioninfo_tmp = BatchProductionInfo.new batchproductioninfo_tmp.deserialize(i) @BatchProductions << batchproductioninfo_tmp end end @TotalCnt = params['TotalCnt'] @RequestId = params['RequestId'] end |