Class: TencentCloud::Cvm::V20170312::DescribeHpcClustersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::DescribeHpcClustersResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeHpcClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hpcclusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeHpcClustersResponse
constructor
A new instance of DescribeHpcClustersResponse.
Constructor Details
#initialize(hpcclusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeHpcClustersResponse
Returns a new instance of DescribeHpcClustersResponse.
2241 2242 2243 2244 2245 |
# File 'lib/v20170312/models.rb', line 2241 def initialize(hpcclusterset=nil, totalcount=nil, requestid=nil) @HpcClusterSet = hpcclusterset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#HpcClusterSet ⇒ Object
2239 2240 2241 |
# File 'lib/v20170312/models.rb', line 2239 def HpcClusterSet @HpcClusterSet end |
#RequestId ⇒ Object
2239 2240 2241 |
# File 'lib/v20170312/models.rb', line 2239 def RequestId @RequestId end |
#TotalCount ⇒ Object
2239 2240 2241 |
# File 'lib/v20170312/models.rb', line 2239 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 |
# File 'lib/v20170312/models.rb', line 2247 def deserialize(params) unless params['HpcClusterSet'].nil? @HpcClusterSet = [] params['HpcClusterSet'].each do |i| hpcclusterinfo_tmp = HpcClusterInfo.new hpcclusterinfo_tmp.deserialize(i) @HpcClusterSet << hpcclusterinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |