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.
9243 9244 9245 9246 9247 |
# File 'lib/v20180525/models.rb', line 9243 def initialize(totalcount=nil, podset=nil, requestid=nil) @TotalCount = totalcount @PodSet = podset @RequestId = requestid end |
Instance Attribute Details
#PodSet ⇒ Object
9241 9242 9243 |
# File 'lib/v20180525/models.rb', line 9241 def PodSet @PodSet end |
#RequestId ⇒ Object
9241 9242 9243 |
# File 'lib/v20180525/models.rb', line 9241 def RequestId @RequestId end |
#TotalCount ⇒ Object
9241 9242 9243 |
# File 'lib/v20180525/models.rb', line 9241 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 |
# File 'lib/v20180525/models.rb', line 9249 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 |