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.
1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/v20180608/models.rb', line 1104 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
1102 1103 1104 |
# File 'lib/v20180608/models.rb', line 1102 def Cidr @Cidr end |
#Id ⇒ Object
1102 1103 1104 |
# File 'lib/v20180608/models.rb', line 1102 def Id @Id end |
#Name ⇒ Object
1102 1103 1104 |
# File 'lib/v20180608/models.rb', line 1102 def Name @Name end |
#Region ⇒ Object
1102 1103 1104 |
# File 'lib/v20180608/models.rb', line 1102 def Region @Region end |
#Target ⇒ Object
1102 1103 1104 |
# File 'lib/v20180608/models.rb', line 1102 def Target @Target end |
#Type ⇒ Object
1102 1103 1104 |
# File 'lib/v20180608/models.rb', line 1102 def Type @Type end |
#Zone ⇒ Object
1102 1103 1104 |
# File 'lib/v20180608/models.rb', line 1102 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1114 1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'lib/v20180608/models.rb', line 1114 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 |