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.
1981 1982 1983 1984 1985 |
# File 'lib/v20170312/models.rb', line 1981 def initialize(hpcclusterset=nil, totalcount=nil, requestid=nil) @HpcClusterSet = hpcclusterset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#HpcClusterSet ⇒ Object
1979 1980 1981 |
# File 'lib/v20170312/models.rb', line 1979 def HpcClusterSet @HpcClusterSet end |
#RequestId ⇒ Object
1979 1980 1981 |
# File 'lib/v20170312/models.rb', line 1979 def RequestId @RequestId end |
#TotalCount ⇒ Object
1979 1980 1981 |
# File 'lib/v20170312/models.rb', line 1979 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/v20170312/models.rb', line 1987 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 |