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.
1432 1433 1434 1435 1436 |
# File 'lib/v20201214/models.rb', line 1432 def initialize(dedicatedclusterset=nil, totalcount=nil, requestid=nil) @DedicatedClusterSet = dedicatedclusterset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#DedicatedClusterSet ⇒ Object
1430 1431 1432 |
# File 'lib/v20201214/models.rb', line 1430 def DedicatedClusterSet @DedicatedClusterSet end |
#RequestId ⇒ Object
1430 1431 1432 |
# File 'lib/v20201214/models.rb', line 1430 def RequestId @RequestId end |
#TotalCount ⇒ Object
1430 1431 1432 |
# File 'lib/v20201214/models.rb', line 1430 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 |
# File 'lib/v20201214/models.rb', line 1438 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 |