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.
6909 6910 6911 6912 6913 |
# File 'lib/v20180525/models.rb', line 6909 def initialize(nodes=nil, totalcount=nil, requestid=nil) @Nodes = nodes @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Nodes ⇒ Object
6907 6908 6909 |
# File 'lib/v20180525/models.rb', line 6907 def Nodes @Nodes end |
#RequestId ⇒ Object
6907 6908 6909 |
# File 'lib/v20180525/models.rb', line 6907 def RequestId @RequestId end |
#TotalCount ⇒ Object
6907 6908 6909 |
# File 'lib/v20180525/models.rb', line 6907 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 |
# File 'lib/v20180525/models.rb', line 6915 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 |