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.
7761 7762 7763 7764 7765 |
# File 'lib/v20180525/models.rb', line 7761 def initialize(totalcount=nil, clusters=nil, requestid=nil) @TotalCount = totalcount @Clusters = clusters @RequestId = requestid end |
Instance Attribute Details
#Clusters ⇒ Object
7759 7760 7761 |
# File 'lib/v20180525/models.rb', line 7759 def Clusters @Clusters end |
#RequestId ⇒ Object
7759 7760 7761 |
# File 'lib/v20180525/models.rb', line 7759 def RequestId @RequestId end |
#TotalCount ⇒ Object
7759 7760 7761 |
# File 'lib/v20180525/models.rb', line 7759 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 |
# File 'lib/v20180525/models.rb', line 7767 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 |