Class: TencentCloud::Tdmq::V20200217::DescribeAMQPClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeAMQPClustersResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeAMQPClusters返回参数结构体
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) ⇒ DescribeAMQPClustersResponse
constructor
A new instance of DescribeAMQPClustersResponse.
Constructor Details
#initialize(clusterlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeAMQPClustersResponse
Returns a new instance of DescribeAMQPClustersResponse.
3438 3439 3440 3441 3442 |
# File 'lib/v20200217/models.rb', line 3438 def initialize(clusterlist=nil, totalcount=nil, requestid=nil) @ClusterList = clusterlist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3436 3437 3438 |
# File 'lib/v20200217/models.rb', line 3436 def ClusterList @ClusterList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3436 3437 3438 |
# File 'lib/v20200217/models.rb', line 3436 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3436 3437 3438 |
# File 'lib/v20200217/models.rb', line 3436 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 |
# File 'lib/v20200217/models.rb', line 3444 def deserialize(params) unless params['ClusterList'].nil? @ClusterList = [] params['ClusterList'].each do |i| amqpclusterdetail_tmp = AMQPClusterDetail.new amqpclusterdetail_tmp.deserialize(i) @ClusterList << amqpclusterdetail_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |