Class: TencentCloud::Tcaplusdb::V20190823::DescribeClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DescribeClustersResponse
- Defined in:
- lib/v20190823/models.rb
Overview
DescribeClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, clusters = nil, requestid = nil) ⇒ DescribeClustersResponse
constructor
A new instance of DescribeClustersResponse.
Constructor Details
#initialize(totalcount = nil, clusters = nil, requestid = nil) ⇒ DescribeClustersResponse
Returns a new instance of DescribeClustersResponse.
1622 1623 1624 1625 1626 |
# File 'lib/v20190823/models.rb', line 1622 def initialize(totalcount=nil, clusters=nil, requestid=nil) @TotalCount = totalcount @Clusters = clusters @RequestId = requestid end |
Instance Attribute Details
#Clusters ⇒ Object
1620 1621 1622 |
# File 'lib/v20190823/models.rb', line 1620 def Clusters @Clusters end |
#RequestId ⇒ Object
1620 1621 1622 |
# File 'lib/v20190823/models.rb', line 1620 def RequestId @RequestId end |
#TotalCount ⇒ Object
1620 1621 1622 |
# File 'lib/v20190823/models.rb', line 1620 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 |
# File 'lib/v20190823/models.rb', line 1628 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Clusters'].nil? @Clusters = [] params['Clusters'].each do |i| clusterinfo_tmp = ClusterInfo.new clusterinfo_tmp.deserialize(i) @Clusters << clusterinfo_tmp end end @RequestId = params['RequestId'] end |