Class: TencentCloud::Thpc::V20220401::DescribeNodesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::DescribeNodesResponse
- Defined in:
- lib/v20220401/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.
1131 1132 1133 1134 1135 |
# File 'lib/v20220401/models.rb', line 1131 def initialize(nodeset=nil, totalcount=nil, requestid=nil) @NodeSet = nodeset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NodeSet ⇒ Object
1129 1130 1131 |
# File 'lib/v20220401/models.rb', line 1129 def NodeSet @NodeSet end |
#RequestId ⇒ Object
1129 1130 1131 |
# File 'lib/v20220401/models.rb', line 1129 def RequestId @RequestId end |
#TotalCount ⇒ Object
1129 1130 1131 |
# File 'lib/v20220401/models.rb', line 1129 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 |
# File 'lib/v20220401/models.rb', line 1137 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 |