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.
18604 18605 18606 18607 18608 18609 18610 |
# File 'lib/v20180525/models.rb', line 18604 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
18602 18603 18604 |
# File 'lib/v20180525/models.rb', line 18602 def Arch @Arch end |
#Name ⇒ Object
18602 18603 18604 |
# File 'lib/v20180525/models.rb', line 18602 def Name @Name end |
#Os ⇒ Object
18602 18603 18604 |
# File 'lib/v20180525/models.rb', line 18602 def Os @Os end |
#SecurityGroups ⇒ Object
18602 18603 18604 |
# File 'lib/v20180525/models.rb', line 18602 def SecurityGroups @SecurityGroups end |
#SubnetId ⇒ Object
18602 18603 18604 |
# File 'lib/v20180525/models.rb', line 18602 def SubnetId @SubnetId end |
Instance Method Details
#deserialize(params) ⇒ Object
18612 18613 18614 18615 18616 18617 18618 |
# File 'lib/v20180525/models.rb', line 18612 def deserialize(params) @SubnetId = params['SubnetId'] @Name = params['Name'] @SecurityGroups = params['SecurityGroups'] @Os = params['Os'] @Arch = params['Arch'] end |