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.
6777 6778 6779 6780 6781 |
# File 'lib/v20180525/models.rb', line 6777 def initialize(nodes=nil, totalcount=nil, requestid=nil) @Nodes = nodes @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Nodes ⇒ Object
6775 6776 6777 |
# File 'lib/v20180525/models.rb', line 6775 def Nodes @Nodes end |
#RequestId ⇒ Object
6775 6776 6777 |
# File 'lib/v20180525/models.rb', line 6775 def RequestId @RequestId end |
#TotalCount ⇒ Object
6775 6776 6777 |
# File 'lib/v20180525/models.rb', line 6775 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 |
# File 'lib/v20180525/models.rb', line 6783 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 |