Class: TencentCloud::Tdmq::V20200217::DescribeBindClustersResponse

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

Overview

DescribeBindClusters返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, clusterset = nil, requestid = nil) ⇒ DescribeBindClustersResponse

Returns a new instance of DescribeBindClustersResponse.



3555
3556
3557
3558
3559
# File 'lib/v20200217/models.rb', line 3555

def initialize(totalcount=nil, clusterset=nil, requestid=nil)
  @TotalCount = totalcount
  @ClusterSet = clusterset
  @RequestId = requestid
end

Instance Attribute Details

#ClusterSetObject

Parameters:

  • TotalCount:

    专享集群的数量

  • ClusterSet:

    专享集群的列表

  • RequestId:

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



3553
3554
3555
# File 'lib/v20200217/models.rb', line 3553

def ClusterSet
  @ClusterSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    专享集群的数量

  • ClusterSet:

    专享集群的列表

  • RequestId:

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



3553
3554
3555
# File 'lib/v20200217/models.rb', line 3553

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    专享集群的数量

  • ClusterSet:

    专享集群的列表

  • RequestId:

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



3553
3554
3555
# File 'lib/v20200217/models.rb', line 3553

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'lib/v20200217/models.rb', line 3561

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ClusterSet'].nil?
    @ClusterSet = []
    params['ClusterSet'].each do |i|
      bindcluster_tmp = BindCluster.new
      bindcluster_tmp.deserialize(i)
      @ClusterSet << bindcluster_tmp
    end
  end
  @RequestId = params['RequestId']
end