Class: TencentCloud::Tke::V20180525::DescribeTKEEdgeClustersResponse

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

Overview

DescribeTKEEdgeClusters返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, clusters = nil, requestid = nil) ⇒ DescribeTKEEdgeClustersResponse

Returns a new instance of DescribeTKEEdgeClustersResponse.



10314
10315
10316
10317
10318
# File 'lib/v20180525/models.rb', line 10314

def initialize(totalcount=nil, clusters=nil, requestid=nil)
  @TotalCount = totalcount
  @Clusters = clusters
  @RequestId = requestid
end

Instance Attribute Details

#ClustersObject

Parameters:

  • TotalCount:

    集群总个数

  • Clusters:

    集群信息列表

  • RequestId:

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



10312
10313
10314
# File 'lib/v20180525/models.rb', line 10312

def Clusters
  @Clusters
end

#RequestIdObject

Parameters:

  • TotalCount:

    集群总个数

  • Clusters:

    集群信息列表

  • RequestId:

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



10312
10313
10314
# File 'lib/v20180525/models.rb', line 10312

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    集群总个数

  • Clusters:

    集群信息列表

  • RequestId:

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



10312
10313
10314
# File 'lib/v20180525/models.rb', line 10312

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
# File 'lib/v20180525/models.rb', line 10320

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Clusters'].nil?
    @Clusters = []
    params['Clusters'].each do |i|
      edgecluster_tmp = EdgeCluster.new
      edgecluster_tmp.deserialize(i)
      @Clusters << edgecluster_tmp
    end
  end
  @RequestId = params['RequestId']
end