Class: TencentCloud::Tem::V20210701::DescribeRunPodPage

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

Overview

版本pod列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, totalcount = nil, requestid = nil, podlist = nil) ⇒ DescribeRunPodPage



2418
2419
2420
2421
2422
2423
2424
# File 'lib/v20210701/models.rb', line 2418

def initialize(offset=nil, limit=nil, totalcount=nil, requestid=nil, podlist=nil)
  @Offset = offset
  @Limit = limit
  @TotalCount = totalcount
  @RequestId = requestid
  @PodList = podlist
end

Instance Attribute Details

#LimitObject



2416
2417
2418
# File 'lib/v20210701/models.rb', line 2416

def Limit
  @Limit
end

#OffsetObject



2416
2417
2418
# File 'lib/v20210701/models.rb', line 2416

def Offset
  @Offset
end

#PodListObject



2416
2417
2418
# File 'lib/v20210701/models.rb', line 2416

def PodList
  @PodList
end

#RequestIdObject



2416
2417
2418
# File 'lib/v20210701/models.rb', line 2416

def RequestId
  @RequestId
end

#TotalCountObject



2416
2417
2418
# File 'lib/v20210701/models.rb', line 2416

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
# File 'lib/v20210701/models.rb', line 2426

def deserialize(params)
  @Offset = params['Offset']
  @Limit = params['Limit']
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
  unless params['PodList'].nil?
    @PodList = []
    params['PodList'].each do |i|
      runversionpod_tmp = RunVersionPod.new
      runversionpod_tmp.deserialize(i)
      @PodList << runversionpod_tmp
    end
  end
end