Class: TencentCloud::Iotexplorer::V20190423::GetBatchProductionsListResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190423/models.rb

Overview

GetBatchProductionsList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BatchProductionsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • BatchProductions:

    返回详情信息。

  • TotalCnt:

    返回数量。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



8371
8372
8373
# File 'lib/v20190423/models.rb', line 8371

def BatchProductions
  @BatchProductions
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • BatchProductions:

    返回详情信息。

  • TotalCnt:

    返回数量。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



8371
8372
8373
# File 'lib/v20190423/models.rb', line 8371

def RequestId
  @RequestId
end

#TotalCntObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • BatchProductions:

    返回详情信息。

  • TotalCnt:

    返回数量。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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