lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.693 vs lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.694
- old
+ new
@@ -4927,11 +4927,11 @@
# @param PodNames: pod名称列表
# @type PodNames: Array
# @param TotalCount: 数量
# @type TotalCount: Integer
# @param PodInfoList: pod详细信息
- # @type PodInfoList: :class:`Tencentcloud::Tione.v20211111.models.PodInfo`
+ # @type PodInfoList: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PodNames, :TotalCount, :PodInfoList, :RequestId
@@ -4944,11 +4944,15 @@
def deserialize(params)
@PodNames = params['PodNames']
@TotalCount = params['TotalCount']
unless params['PodInfoList'].nil?
- @PodInfoList = PodInfo.new
- @PodInfoList.deserialize(params['PodInfoList'])
+ @PodInfoList = []
+ params['PodInfoList'].each do |i|
+ podinfo_tmp = PodInfo.new
+ podinfo_tmp.deserialize(i)
+ @PodInfoList << podinfo_tmp
+ end
end
@RequestId = params['RequestId']
end
end