Class: TencentCloud::Tdmq::V20200217::DescribeClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeClustersResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, clusterset = nil, requestid = nil) ⇒ DescribeClustersResponse
constructor
A new instance of DescribeClustersResponse.
Constructor Details
#initialize(totalcount = nil, clusterset = nil, requestid = nil) ⇒ DescribeClustersResponse
Returns a new instance of DescribeClustersResponse.
3719 3720 3721 3722 3723 |
# File 'lib/v20200217/models.rb', line 3719 def initialize(totalcount=nil, clusterset=nil, requestid=nil) @TotalCount = totalcount @ClusterSet = clusterset @RequestId = requestid end |
Instance Attribute Details
#ClusterSet ⇒ Object
3717 3718 3719 |
# File 'lib/v20200217/models.rb', line 3717 def ClusterSet @ClusterSet end |
#RequestId ⇒ Object
3717 3718 3719 |
# File 'lib/v20200217/models.rb', line 3717 def RequestId @RequestId end |
#TotalCount ⇒ Object
3717 3718 3719 |
# File 'lib/v20200217/models.rb', line 3717 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 |
# File 'lib/v20200217/models.rb', line 3725 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ClusterSet'].nil? @ClusterSet = [] params['ClusterSet'].each do |i| cluster_tmp = Cluster.new cluster_tmp.deserialize(i) @ClusterSet << cluster_tmp end end @RequestId = params['RequestId'] end |