Class: TencentCloud::Cdwch::V20200915::DescribeInstanceNodesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::DescribeInstanceNodesResponse
- Defined in:
- lib/v20200915/models.rb
Overview
DescribeInstanceNodes返回参数结构体
Instance Attribute Summary collapse
-
#InstanceNodesList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instancenodeslist = nil, requestid = nil) ⇒ DescribeInstanceNodesResponse
constructor
A new instance of DescribeInstanceNodesResponse.
Constructor Details
#initialize(totalcount = nil, instancenodeslist = nil, requestid = nil) ⇒ DescribeInstanceNodesResponse
Returns a new instance of DescribeInstanceNodesResponse.
1326 1327 1328 1329 1330 |
# File 'lib/v20200915/models.rb', line 1326 def initialize(totalcount=nil, instancenodeslist=nil, requestid=nil) @TotalCount = totalcount @InstanceNodesList = instancenodeslist @RequestId = requestid end |
Instance Attribute Details
#InstanceNodesList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1324 1325 1326 |
# File 'lib/v20200915/models.rb', line 1324 def InstanceNodesList @InstanceNodesList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1324 1325 1326 |
# File 'lib/v20200915/models.rb', line 1324 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1324 1325 1326 |
# File 'lib/v20200915/models.rb', line 1324 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 |
# File 'lib/v20200915/models.rb', line 1332 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceNodesList'].nil? @InstanceNodesList = [] params['InstanceNodesList'].each do |i| instancenode_tmp = InstanceNode.new instancenode_tmp.deserialize(i) @InstanceNodesList << instancenode_tmp end end @RequestId = params['RequestId'] end |