Class: TencentCloud::Thpc::V20211109::DescribeClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20211109::DescribeClustersResponse
- Defined in:
- lib/v20211109/models.rb
Overview
DescribeClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClustersResponse
constructor
A new instance of DescribeClustersResponse.
Constructor Details
#initialize(clusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClustersResponse
Returns a new instance of DescribeClustersResponse.
510 511 512 513 514 |
# File 'lib/v20211109/models.rb', line 510 def initialize(clusterset=nil, totalcount=nil, requestid=nil) @ClusterSet = clusterset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterSet ⇒ Object
508 509 510 |
# File 'lib/v20211109/models.rb', line 508 def ClusterSet @ClusterSet end |
#RequestId ⇒ Object
508 509 510 |
# File 'lib/v20211109/models.rb', line 508 def RequestId @RequestId end |
#TotalCount ⇒ Object
508 509 510 |
# File 'lib/v20211109/models.rb', line 508 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
516 517 518 519 520 521 522 523 524 525 526 527 |
# File 'lib/v20211109/models.rb', line 516 def deserialize(params) unless params['ClusterSet'].nil? @ClusterSet = [] params['ClusterSet'].each do |i| clusteroverview_tmp = ClusterOverview.new clusteroverview_tmp.deserialize(i) @ClusterSet << clusteroverview_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |