Class: TencentCloud::Tke::V20180525::SubnetInfos
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::SubnetInfos
- Defined in:
- lib/v20180525/models.rb
Overview
子网信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subnetid = nil, name = nil, securitygroups = nil, os = nil, arch = nil) ⇒ SubnetInfos
constructor
A new instance of SubnetInfos.
Constructor Details
#initialize(subnetid = nil, name = nil, securitygroups = nil, os = nil, arch = nil) ⇒ SubnetInfos
Returns a new instance of SubnetInfos.
20103 20104 20105 20106 20107 20108 20109 |
# File 'lib/v20180525/models.rb', line 20103 def initialize(subnetid=nil, name=nil, securitygroups=nil, os=nil, arch=nil) @SubnetId = subnetid @Name = name @SecurityGroups = securitygroups @Os = os @Arch = arch end |
Instance Attribute Details
#Arch ⇒ Object
20101 20102 20103 |
# File 'lib/v20180525/models.rb', line 20101 def Arch @Arch end |
#Name ⇒ Object
20101 20102 20103 |
# File 'lib/v20180525/models.rb', line 20101 def Name @Name end |
#Os ⇒ Object
20101 20102 20103 |
# File 'lib/v20180525/models.rb', line 20101 def Os @Os end |
#SecurityGroups ⇒ Object
20101 20102 20103 |
# File 'lib/v20180525/models.rb', line 20101 def SecurityGroups @SecurityGroups end |
#SubnetId ⇒ Object
20101 20102 20103 |
# File 'lib/v20180525/models.rb', line 20101 def SubnetId @SubnetId end |
Instance Method Details
#deserialize(params) ⇒ Object
20111 20112 20113 20114 20115 20116 20117 |
# File 'lib/v20180525/models.rb', line 20111 def deserialize(params) @SubnetId = params['SubnetId'] @Name = params['Name'] @SecurityGroups = params['SecurityGroups'] @Os = params['Os'] @Arch = params['Arch'] end |