Class: TencentCloud::Tdmq::V20200217::VpcInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::VpcInfo
- Defined in:
- lib/v20200217/models.rb
Overview
vpc信息(由UniqVpcId和UniqSubnetId组成)
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil) ⇒ VpcInfo
constructor
A new instance of VpcInfo.
Constructor Details
#initialize(vpcid = nil, subnetid = nil) ⇒ VpcInfo
Returns a new instance of VpcInfo.
13558 13559 13560 13561 |
# File 'lib/v20200217/models.rb', line 13558 def initialize(vpcid=nil, subnetid=nil) @VpcId = vpcid @SubnetId = subnetid end |
Instance Attribute Details
#SubnetId ⇒ Object
13556 13557 13558 |
# File 'lib/v20200217/models.rb', line 13556 def SubnetId @SubnetId end |
#VpcId ⇒ Object
13556 13557 13558 |
# File 'lib/v20200217/models.rb', line 13556 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
13563 13564 13565 13566 |
# File 'lib/v20200217/models.rb', line 13563 def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] end |