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.
507 508 509 510 511 |
# File 'lib/v20211109/models.rb', line 507 def initialize(clusterset=nil, totalcount=nil, requestid=nil) @ClusterSet = clusterset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterSet ⇒ Object
505 506 507 |
# File 'lib/v20211109/models.rb', line 505 def ClusterSet @ClusterSet end |
#RequestId ⇒ Object
505 506 507 |
# File 'lib/v20211109/models.rb', line 505 def RequestId @RequestId end |
#TotalCount ⇒ Object
505 506 507 |
# File 'lib/v20211109/models.rb', line 505 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
513 514 515 516 517 518 519 520 521 522 523 524 |
# File 'lib/v20211109/models.rb', line 513 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 |