Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQClustersResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQClusters返回参数结构体
Instance Attribute Summary collapse
-
#ClusterList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQClustersResponse
constructor
A new instance of DescribeRocketMQClustersResponse.
Constructor Details
#initialize(clusterlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQClustersResponse
Returns a new instance of DescribeRocketMQClustersResponse.
5883 5884 5885 5886 5887 |
# File 'lib/v20200217/models.rb', line 5883 def initialize(clusterlist=nil, totalcount=nil, requestid=nil) @ClusterList = clusterlist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5881 5882 5883 |
# File 'lib/v20200217/models.rb', line 5881 def ClusterList @ClusterList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5881 5882 5883 |
# File 'lib/v20200217/models.rb', line 5881 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5881 5882 5883 |
# File 'lib/v20200217/models.rb', line 5881 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 |
# File 'lib/v20200217/models.rb', line 5889 def deserialize(params) unless params['ClusterList'].nil? @ClusterList = [] params['ClusterList'].each do |i| rocketmqclusterdetail_tmp = RocketMQClusterDetail.new rocketmqclusterdetail_tmp.deserialize(i) @ClusterList << rocketmqclusterdetail_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |