Class: TencentCloud::Tem::V20201221::DescribeRunPodPage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::DescribeRunPodPage
- Defined in:
- lib/v20201221/models.rb
Overview
版本pod列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, totalcount = nil, requestid = nil, podlist = nil) ⇒ DescribeRunPodPage
constructor
A new instance of DescribeRunPodPage.
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
#Limit ⇒ Object
897 898 899 |
# File 'lib/v20201221/models.rb', line 897 def Limit @Limit end |
#Offset ⇒ Object
897 898 899 |
# File 'lib/v20201221/models.rb', line 897 def Offset @Offset end |
#PodList ⇒ Object
897 898 899 |
# File 'lib/v20201221/models.rb', line 897 def PodList @PodList end |
#RequestId ⇒ Object
897 898 899 |
# File 'lib/v20201221/models.rb', line 897 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |