Class: TencentCloud::Tcb::V20180608::CloudBaseRunVpcSubnet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::CloudBaseRunVpcSubnet
- Defined in:
- lib/v20180608/models.rb
Overview
子网信息
Instance Attribute Summary collapse
- #Cidr ⇒ Object
- #Id ⇒ Object
- #Name ⇒ Object
- #Region ⇒ Object
- #Target ⇒ Object
- #Type ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, cidr = nil, zone = nil, type = nil, target = nil, region = nil, name = nil) ⇒ CloudBaseRunVpcSubnet
constructor
A new instance of CloudBaseRunVpcSubnet.
Constructor Details
#initialize(id = nil, cidr = nil, zone = nil, type = nil, target = nil, region = nil, name = nil) ⇒ CloudBaseRunVpcSubnet
Returns a new instance of CloudBaseRunVpcSubnet.
1358 1359 1360 1361 1362 1363 1364 1365 1366 |
# File 'lib/v20180608/models.rb', line 1358 def initialize(id=nil, cidr=nil, zone=nil, type=nil, target=nil, region=nil, name=nil) @Id = id @Cidr = cidr @Zone = zone @Type = type @Target = target @Region = region @Name = name end |
Instance Attribute Details
#Cidr ⇒ Object
1356 1357 1358 |
# File 'lib/v20180608/models.rb', line 1356 def Cidr @Cidr end |
#Id ⇒ Object
1356 1357 1358 |
# File 'lib/v20180608/models.rb', line 1356 def Id @Id end |
#Name ⇒ Object
1356 1357 1358 |
# File 'lib/v20180608/models.rb', line 1356 def Name @Name end |
#Region ⇒ Object
1356 1357 1358 |
# File 'lib/v20180608/models.rb', line 1356 def Region @Region end |
#Target ⇒ Object
1356 1357 1358 |
# File 'lib/v20180608/models.rb', line 1356 def Target @Target end |
#Type ⇒ Object
1356 1357 1358 |
# File 'lib/v20180608/models.rb', line 1356 def Type @Type end |
#Zone ⇒ Object
1356 1357 1358 |
# File 'lib/v20180608/models.rb', line 1356 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/v20180608/models.rb', line 1368 def deserialize(params) @Id = params['Id'] @Cidr = params['Cidr'] @Zone = params['Zone'] @Type = params['Type'] @Target = params['Target'] @Region = params['Region'] @Name = params['Name'] end |