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.
8458 8459 8460 8461 8462 |
# File 'lib/v20180525/models.rb', line 8458 def initialize(totalcount=nil, podset=nil, requestid=nil) @TotalCount = totalcount @PodSet = podset @RequestId = requestid end |
Instance Attribute Details
#PodSet ⇒ Object
8456 8457 8458 |
# File 'lib/v20180525/models.rb', line 8456 def PodSet @PodSet end |
#RequestId ⇒ Object
8456 8457 8458 |
# File 'lib/v20180525/models.rb', line 8456 def RequestId @RequestId end |
#TotalCount ⇒ Object
8456 8457 8458 |
# File 'lib/v20180525/models.rb', line 8456 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 |
# File 'lib/v20180525/models.rb', line 8464 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 |