Class: TencentCloud::Tke::V20180525::DescribeEKSClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeEKSClustersResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeEKSClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, clusters = nil, requestid = nil) ⇒ DescribeEKSClustersResponse
constructor
A new instance of DescribeEKSClustersResponse.
Constructor Details
#initialize(totalcount = nil, clusters = nil, requestid = nil) ⇒ DescribeEKSClustersResponse
Returns a new instance of DescribeEKSClustersResponse.
7171 7172 7173 7174 7175 |
# File 'lib/v20180525/models.rb', line 7171 def initialize(totalcount=nil, clusters=nil, requestid=nil) @TotalCount = totalcount @Clusters = clusters @RequestId = requestid end |
Instance Attribute Details
#Clusters ⇒ Object
7169 7170 7171 |
# File 'lib/v20180525/models.rb', line 7169 def Clusters @Clusters end |
#RequestId ⇒ Object
7169 7170 7171 |
# File 'lib/v20180525/models.rb', line 7169 def RequestId @RequestId end |
#TotalCount ⇒ Object
7169 7170 7171 |
# File 'lib/v20180525/models.rb', line 7169 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 |
# File 'lib/v20180525/models.rb', line 7177 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 |