Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClusterTypesResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201214/models.rb

Overview

DescribeDedicatedClusterTypes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DedicatedClusterTypeSetObject

Parameters:

  • DedicatedClusterTypeSet:

    专用集群配置列表

  • TotalCount:

    符合条件的个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1359
1360
1361
# File 'lib/v20201214/models.rb', line 1359

def DedicatedClusterTypeSet
  @DedicatedClusterTypeSet
end

#RequestIdObject

Parameters:

  • DedicatedClusterTypeSet:

    专用集群配置列表

  • TotalCount:

    符合条件的个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1359
1360
1361
# File 'lib/v20201214/models.rb', line 1359

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • DedicatedClusterTypeSet:

    专用集群配置列表

  • TotalCount:

    符合条件的个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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