Class: TencentCloud::Cloudhsm::V20191112::Vpc
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::Vpc
- Defined in:
- lib/v20191112/models.rb
Overview
VPC对象
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcname = nil, vpcid = nil, createdtime = nil, isdefault = nil) ⇒ Vpc
constructor
A new instance of Vpc.
Constructor Details
#initialize(vpcname = nil, vpcid = nil, createdtime = nil, isdefault = nil) ⇒ Vpc
Returns a new instance of Vpc.
1271 1272 1273 1274 1275 1276 |
# File 'lib/v20191112/models.rb', line 1271 def initialize(vpcname=nil, vpcid=nil, createdtime=nil, isdefault=nil) @VpcName = vpcname @VpcId = vpcid @CreatedTime = createdtime @IsDefault = isdefault end |
Instance Attribute Details
#CreatedTime ⇒ Object
1269 1270 1271 |
# File 'lib/v20191112/models.rb', line 1269 def CreatedTime @CreatedTime end |
#IsDefault ⇒ Object
1269 1270 1271 |
# File 'lib/v20191112/models.rb', line 1269 def IsDefault @IsDefault end |
#VpcId ⇒ Object
1269 1270 1271 |
# File 'lib/v20191112/models.rb', line 1269 def VpcId @VpcId end |
#VpcName ⇒ Object
1269 1270 1271 |
# File 'lib/v20191112/models.rb', line 1269 def VpcName @VpcName end |
Instance Method Details
#deserialize(params) ⇒ Object
1278 1279 1280 1281 1282 1283 |
# File 'lib/v20191112/models.rb', line 1278 def deserialize(params) @VpcName = params['VpcName'] @VpcId = params['VpcId'] @CreatedTime = params['CreatedTime'] @IsDefault = params['IsDefault'] end |