Class: TencentCloud::Tdmq::V20200217::DescribeBindClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeBindClustersResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeBindClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, clusterset = nil, requestid = nil) ⇒ DescribeBindClustersResponse
constructor
A new instance of DescribeBindClustersResponse.
Constructor Details
#initialize(totalcount = nil, clusterset = nil, requestid = nil) ⇒ DescribeBindClustersResponse
Returns a new instance of DescribeBindClustersResponse.
3555 3556 3557 3558 3559 |
# File 'lib/v20200217/models.rb', line 3555 def initialize(totalcount=nil, clusterset=nil, requestid=nil) @TotalCount = totalcount @ClusterSet = clusterset @RequestId = requestid end |
Instance Attribute Details
#ClusterSet ⇒ Object
3553 3554 3555 |
# File 'lib/v20200217/models.rb', line 3553 def ClusterSet @ClusterSet end |
#RequestId ⇒ Object
3553 3554 3555 |
# File 'lib/v20200217/models.rb', line 3553 def RequestId @RequestId end |
#TotalCount ⇒ Object
3553 3554 3555 |
# File 'lib/v20200217/models.rb', line 3553 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 |
# File 'lib/v20200217/models.rb', line 3561 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ClusterSet'].nil? @ClusterSet = [] params['ClusterSet'].each do |i| bindcluster_tmp = BindCluster.new bindcluster_tmp.deserialize(i) @ClusterSet << bindcluster_tmp end end @RequestId = params['RequestId'] end |