Class: TencentCloud::Tke::V20180525::VirtualNodeSpec
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::VirtualNodeSpec
- Defined in:
- lib/v20180525/models.rb
Overview
超级节点
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(displayname = nil, subnetid = nil, tags = nil) ⇒ VirtualNodeSpec
constructor
A new instance of VirtualNodeSpec.
Constructor Details
#initialize(displayname = nil, subnetid = nil, tags = nil) ⇒ VirtualNodeSpec
Returns a new instance of VirtualNodeSpec.
20047 20048 20049 20050 20051 |
# File 'lib/v20180525/models.rb', line 20047 def initialize(displayname=nil, subnetid=nil, =nil) @DisplayName = displayname @SubnetId = subnetid @Tags = end |
Instance Attribute Details
#DisplayName ⇒ Object
20045 20046 20047 |
# File 'lib/v20180525/models.rb', line 20045 def DisplayName @DisplayName end |
#SubnetId ⇒ Object
20045 20046 20047 |
# File 'lib/v20180525/models.rb', line 20045 def SubnetId @SubnetId end |
#Tags ⇒ Object
20045 20046 20047 |
# File 'lib/v20180525/models.rb', line 20045 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 |
# File 'lib/v20180525/models.rb', line 20053 def deserialize(params) @DisplayName = params['DisplayName'] @SubnetId = params['SubnetId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |