Class: TencentCloud::Tke::V20180525::DescribeTKEEdgeClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeTKEEdgeClustersResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeTKEEdgeClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, clusters = nil, requestid = nil) ⇒ DescribeTKEEdgeClustersResponse
constructor
A new instance of DescribeTKEEdgeClustersResponse.
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
#Clusters ⇒ Object
10312 10313 10314 |
# File 'lib/v20180525/models.rb', line 10312 def Clusters @Clusters end |
#RequestId ⇒ Object
10312 10313 10314 |
# File 'lib/v20180525/models.rb', line 10312 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |