Class: TencentCloud::Tem::V20201221::DescribeRunPodPage

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201221/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



899
900
901
902
903
904
905
# File 'lib/v20201221/models.rb', line 899

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



897
898
899
# File 'lib/v20201221/models.rb', line 897

def Limit
  @Limit
end

#OffsetObject



897
898
899
# File 'lib/v20201221/models.rb', line 897

def Offset
  @Offset
end

#PodListObject



897
898
899
# File 'lib/v20201221/models.rb', line 897

def PodList
  @PodList
end

#RequestIdObject



897
898
899
# File 'lib/v20201221/models.rb', line 897

def RequestId
  @RequestId
end

#TotalCountObject



897
898
899
# File 'lib/v20201221/models.rb', line 897

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'lib/v20201221/models.rb', line 907

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