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.
8436 8437 8438 8439 8440 |
# File 'lib/v20180525/models.rb', line 8436 def initialize(totalcount=nil, podset=nil, requestid=nil) @TotalCount = totalcount @PodSet = podset @RequestId = requestid end |
Instance Attribute Details
#PodSet ⇒ Object
8434 8435 8436 |
# File 'lib/v20180525/models.rb', line 8434 def PodSet @PodSet end |
#RequestId ⇒ Object
8434 8435 8436 |
# File 'lib/v20180525/models.rb', line 8434 def RequestId @RequestId end |
#TotalCount ⇒ Object
8434 8435 8436 |
# File 'lib/v20180525/models.rb', line 8434 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 |
# File 'lib/v20180525/models.rb', line 8442 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 |