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.
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
#Clusters ⇒ Object
7076 7077 7078 |
# File 'lib/v20180525/models.rb', line 7076 def Clusters @Clusters end |
#RequestId ⇒ Object
7076 7077 7078 |
# File 'lib/v20180525/models.rb', line 7076 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |