Class: TencentCloud::Tdmq::V20200217::VpcInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

vpc信息(由UniqVpcId和UniqSubnetId组成)

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#SubnetIdObject

Parameters:

  • VpcId:

    vpc信息

  • SubnetId:

    子网信息



13556
13557
13558
# File 'lib/v20200217/models.rb', line 13556

def SubnetId
  @SubnetId
end

#VpcIdObject

Parameters:

  • VpcId:

    vpc信息

  • SubnetId:

    子网信息



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