Class: TencentCloud::Tke::V20180525::DescribePodsBySpecResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePodsBySpecResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePodsBySpec返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, podset = nil, requestid = nil) ⇒ DescribePodsBySpecResponse
constructor
A new instance of DescribePodsBySpecResponse.
Constructor Details
#initialize(totalcount = nil, podset = nil, requestid = nil) ⇒ DescribePodsBySpecResponse
Returns a new instance of DescribePodsBySpecResponse.
9100 9101 9102 9103 9104 |
# File 'lib/v20180525/models.rb', line 9100 def initialize(totalcount=nil, podset=nil, requestid=nil) @TotalCount = totalcount @PodSet = podset @RequestId = requestid end |
Instance Attribute Details
#PodSet ⇒ Object
9098 9099 9100 |
# File 'lib/v20180525/models.rb', line 9098 def PodSet @PodSet end |
#RequestId ⇒ Object
9098 9099 9100 |
# File 'lib/v20180525/models.rb', line 9098 def RequestId @RequestId end |
#TotalCount ⇒ Object
9098 9099 9100 |
# File 'lib/v20180525/models.rb', line 9098 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 |
# File 'lib/v20180525/models.rb', line 9106 def deserialize(params) @TotalCount = params['TotalCount'] unless params['PodSet'].nil? @PodSet = [] params['PodSet'].each do |i| podnodeinfo_tmp = PodNodeInfo.new podnodeinfo_tmp.deserialize(i) @PodSet << podnodeinfo_tmp end end @RequestId = params['RequestId'] end |