Class: TencentCloud::Thpc::V20230321::DescribeNodesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeNodesResponse
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeNodes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodeset = nil, totalcount = nil, requestid = nil) ⇒ DescribeNodesResponse
constructor
A new instance of DescribeNodesResponse.
Constructor Details
#initialize(nodeset = nil, totalcount = nil, requestid = nil) ⇒ DescribeNodesResponse
Returns a new instance of DescribeNodesResponse.
1682 1683 1684 1685 1686 |
# File 'lib/v20230321/models.rb', line 1682 def initialize(nodeset=nil, totalcount=nil, requestid=nil) @NodeSet = nodeset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NodeSet ⇒ Object
1680 1681 1682 |
# File 'lib/v20230321/models.rb', line 1680 def NodeSet @NodeSet end |
#RequestId ⇒ Object
1680 1681 1682 |
# File 'lib/v20230321/models.rb', line 1680 def RequestId @RequestId end |
#TotalCount ⇒ Object
1680 1681 1682 |
# File 'lib/v20230321/models.rb', line 1680 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 |
# File 'lib/v20230321/models.rb', line 1688 def deserialize(params) unless params['NodeSet'].nil? @NodeSet = [] params['NodeSet'].each do |i| nodeoverview_tmp = NodeOverview.new nodeoverview_tmp.deserialize(i) @NodeSet << nodeoverview_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |