Class: TencentCloud::Tdmq::V20200217::VpcConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::VpcConfig
- Defined in:
- lib/v20200217/models.rb
Overview
VPC配置信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil) ⇒ VpcConfig
constructor
A new instance of VpcConfig.
Constructor Details
#initialize(vpcid = nil, subnetid = nil) ⇒ VpcConfig
Returns a new instance of VpcConfig.
13508 13509 13510 13511 |
# File 'lib/v20200217/models.rb', line 13508 def initialize(vpcid=nil, subnetid=nil) @VpcId = vpcid @SubnetId = subnetid end |
Instance Attribute Details
#SubnetId ⇒ Object
13506 13507 13508 |
# File 'lib/v20200217/models.rb', line 13506 def SubnetId @SubnetId end |
#VpcId ⇒ Object
13506 13507 13508 |
# File 'lib/v20200217/models.rb', line 13506 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
13513 13514 13515 13516 |
# File 'lib/v20200217/models.rb', line 13513 def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] end |