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.
19647 19648 19649 19650 19651 |
# File 'lib/v20180525/models.rb', line 19647 def initialize(displayname=nil, subnetid=nil, =nil) @DisplayName = displayname @SubnetId = subnetid @Tags = end |
Instance Attribute Details
#DisplayName ⇒ Object
19645 19646 19647 |
# File 'lib/v20180525/models.rb', line 19645 def DisplayName @DisplayName end |
#SubnetId ⇒ Object
19645 19646 19647 |
# File 'lib/v20180525/models.rb', line 19645 def SubnetId @SubnetId end |
#Tags ⇒ Object
19645 19646 19647 |
# File 'lib/v20180525/models.rb', line 19645 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 |
# File 'lib/v20180525/models.rb', line 19653 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 |