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.
18273 18274 18275 18276 18277 18278 18279 |
# File 'lib/v20180525/models.rb', line 18273 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
18271 18272 18273 |
# File 'lib/v20180525/models.rb', line 18271 def Arch @Arch end |
#Name ⇒ Object
18271 18272 18273 |
# File 'lib/v20180525/models.rb', line 18271 def Name @Name end |
#Os ⇒ Object
18271 18272 18273 |
# File 'lib/v20180525/models.rb', line 18271 def Os @Os end |
#SecurityGroups ⇒ Object
18271 18272 18273 |
# File 'lib/v20180525/models.rb', line 18271 def SecurityGroups @SecurityGroups end |
#SubnetId ⇒ Object
18271 18272 18273 |
# File 'lib/v20180525/models.rb', line 18271 def SubnetId @SubnetId end |
Instance Method Details
#deserialize(params) ⇒ Object
18281 18282 18283 18284 18285 18286 18287 |
# File 'lib/v20180525/models.rb', line 18281 def deserialize(params) @SubnetId = params['SubnetId'] @Name = params['Name'] @SecurityGroups = params['SecurityGroups'] @Os = params['Os'] @Arch = params['Arch'] end |