Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClustersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::DescribeDedicatedClustersResponse
- Defined in:
- lib/v20201214/models.rb
Overview
DescribeDedicatedClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dedicatedclusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClustersResponse
constructor
A new instance of DescribeDedicatedClustersResponse.
Constructor Details
#initialize(dedicatedclusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClustersResponse
Returns a new instance of DescribeDedicatedClustersResponse.
1428 1429 1430 1431 1432 |
# File 'lib/v20201214/models.rb', line 1428 def initialize(dedicatedclusterset=nil, totalcount=nil, requestid=nil) @DedicatedClusterSet = dedicatedclusterset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#DedicatedClusterSet ⇒ Object
1426 1427 1428 |
# File 'lib/v20201214/models.rb', line 1426 def DedicatedClusterSet @DedicatedClusterSet end |
#RequestId ⇒ Object
1426 1427 1428 |
# File 'lib/v20201214/models.rb', line 1426 def RequestId @RequestId end |
#TotalCount ⇒ Object
1426 1427 1428 |
# File 'lib/v20201214/models.rb', line 1426 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 |
# File 'lib/v20201214/models.rb', line 1434 def deserialize(params) unless params['DedicatedClusterSet'].nil? @DedicatedClusterSet = [] params['DedicatedClusterSet'].each do |i| dedicatedcluster_tmp = DedicatedCluster.new dedicatedcluster_tmp.deserialize(i) @DedicatedClusterSet << dedicatedcluster_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |