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.
1433 1434 1435 1436 1437 |
# File 'lib/v20200915/models.rb', line 1433 def initialize(totalcount=nil, instancenodeslist=nil, requestid=nil) @TotalCount = totalcount @InstanceNodesList = instancenodeslist @RequestId = requestid end |
Instance Attribute Details
#InstanceNodesList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1431 1432 1433 |
# File 'lib/v20200915/models.rb', line 1431 def InstanceNodesList @InstanceNodesList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1431 1432 1433 |
# File 'lib/v20200915/models.rb', line 1431 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1431 1432 1433 |
# File 'lib/v20200915/models.rb', line 1431 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'lib/v20200915/models.rb', line 1439 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 |