Class: TencentCloud::Tke::V20180525::DescribeClusterVirtualNodeResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterVirtualNodeResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterVirtualNode返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodes = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterVirtualNodeResponse
constructor
A new instance of DescribeClusterVirtualNodeResponse.
Constructor Details
#initialize(nodes = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterVirtualNodeResponse
Returns a new instance of DescribeClusterVirtualNodeResponse.
7452 7453 7454 7455 7456 |
# File 'lib/v20180525/models.rb', line 7452 def initialize(nodes=nil, totalcount=nil, requestid=nil) @Nodes = nodes @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Nodes ⇒ Object
7450 7451 7452 |
# File 'lib/v20180525/models.rb', line 7450 def Nodes @Nodes end |
#RequestId ⇒ Object
7450 7451 7452 |
# File 'lib/v20180525/models.rb', line 7450 def RequestId @RequestId end |
#TotalCount ⇒ Object
7450 7451 7452 |
# File 'lib/v20180525/models.rb', line 7450 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 |
# File 'lib/v20180525/models.rb', line 7458 def deserialize(params) unless params['Nodes'].nil? @Nodes = [] params['Nodes'].each do |i| virtualnode_tmp = VirtualNode.new virtualnode_tmp.deserialize(i) @Nodes << virtualnode_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |