Class: TencentCloud::Dlc::V20210125::VpcInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::VpcInfo
- Defined in:
- lib/v20210125/models.rb
Overview
vpc信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, vpccidrblock = nil, ruleid = nil, accessgroupid = nil) ⇒ VpcInfo
constructor
A new instance of VpcInfo.
Constructor Details
#initialize(vpcid = nil, vpccidrblock = nil, ruleid = nil, accessgroupid = nil) ⇒ VpcInfo
Returns a new instance of VpcInfo.
17660 17661 17662 17663 17664 17665 |
# File 'lib/v20210125/models.rb', line 17660 def initialize(vpcid=nil, vpccidrblock=nil, ruleid=nil, accessgroupid=nil) @VpcId = vpcid @VpcCidrBlock = vpccidrblock @RuleId = ruleid @AccessGroupId = accessgroupid end |
Instance Attribute Details
#AccessGroupId ⇒ Object
17658 17659 17660 |
# File 'lib/v20210125/models.rb', line 17658 def AccessGroupId @AccessGroupId end |
#RuleId ⇒ Object
17658 17659 17660 |
# File 'lib/v20210125/models.rb', line 17658 def RuleId @RuleId end |
#VpcCidrBlock ⇒ Object
17658 17659 17660 |
# File 'lib/v20210125/models.rb', line 17658 def VpcCidrBlock @VpcCidrBlock end |
#VpcId ⇒ Object
17658 17659 17660 |
# File 'lib/v20210125/models.rb', line 17658 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
17667 17668 17669 17670 17671 17672 |
# File 'lib/v20210125/models.rb', line 17667 def deserialize(params) @VpcId = params['VpcId'] @VpcCidrBlock = params['VpcCidrBlock'] @RuleId = params['RuleId'] @AccessGroupId = params['AccessGroupId'] end |