Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClusterTypesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::DescribeDedicatedClusterTypesResponse
- Defined in:
- lib/v20201214/models.rb
Overview
DescribeDedicatedClusterTypes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dedicatedclustertypeset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClusterTypesResponse
constructor
A new instance of DescribeDedicatedClusterTypesResponse.
Constructor Details
#initialize(dedicatedclustertypeset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClusterTypesResponse
Returns a new instance of DescribeDedicatedClusterTypesResponse.
1361 1362 1363 1364 1365 |
# File 'lib/v20201214/models.rb', line 1361 def initialize(dedicatedclustertypeset=nil, totalcount=nil, requestid=nil) @DedicatedClusterTypeSet = dedicatedclustertypeset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#DedicatedClusterTypeSet ⇒ Object
1359 1360 1361 |
# File 'lib/v20201214/models.rb', line 1359 def DedicatedClusterTypeSet @DedicatedClusterTypeSet end |
#RequestId ⇒ Object
1359 1360 1361 |
# File 'lib/v20201214/models.rb', line 1359 def RequestId @RequestId end |
#TotalCount ⇒ Object
1359 1360 1361 |
# File 'lib/v20201214/models.rb', line 1359 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'lib/v20201214/models.rb', line 1367 def deserialize(params) unless params['DedicatedClusterTypeSet'].nil? @DedicatedClusterTypeSet = [] params['DedicatedClusterTypeSet'].each do |i| dedicatedclustertype_tmp = DedicatedClusterType.new dedicatedclustertype_tmp.deserialize(i) @DedicatedClusterTypeSet << dedicatedclustertype_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |