Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClustersResponse

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

Overview

DescribeDedicatedClusters返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DedicatedClusterSetObject

Parameters:

  • DedicatedClusterSet:

    符合查询条件的专用集群列表

  • TotalCount:

    符合条件的专用集群数量。

  • RequestId:

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



1430
1431
1432
# File 'lib/v20201214/models.rb', line 1430

def DedicatedClusterSet
  @DedicatedClusterSet
end

#RequestIdObject

Parameters:

  • DedicatedClusterSet:

    符合查询条件的专用集群列表

  • TotalCount:

    符合条件的专用集群数量。

  • RequestId:

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



1430
1431
1432
# File 'lib/v20201214/models.rb', line 1430

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • DedicatedClusterSet:

    符合查询条件的专用集群列表

  • TotalCount:

    符合条件的专用集群数量。

  • RequestId:

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



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