Class: TencentCloud::Tke::V20180525::DescribeEKSClustersResponse

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

Overview

DescribeEKSClusters返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeEKSClustersResponse.



7078
7079
7080
7081
7082
# File 'lib/v20180525/models.rb', line 7078

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。



7076
7077
7078
# File 'lib/v20180525/models.rb', line 7076

def Clusters
  @Clusters
end

#RequestIdObject

Parameters:

  • TotalCount:

    集群总个数

  • Clusters:

    集群信息列表

  • RequestId:

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



7076
7077
7078
# File 'lib/v20180525/models.rb', line 7076

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    集群总个数

  • Clusters:

    集群信息列表

  • RequestId:

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



7076
7077
7078
# File 'lib/v20180525/models.rb', line 7076

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
# File 'lib/v20180525/models.rb', line 7084

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