Class: TencentCloud::Cdb::V20170320::AddressInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::AddressInfo
- Defined in:
- lib/v20170320/models.rb
Overview
实例地址信息
Instance Attribute Summary collapse
- #ResourceId ⇒ Object
- #UniqSubnetId ⇒ Object
- #UniqVpcId ⇒ Object
- #Vip ⇒ Object
- #VPort ⇒ Object
- #WanDomain ⇒ Object
- #WanPort ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourceid = nil, uniqvpcid = nil, uniqsubnetid = nil, vip = nil, vport = nil, wandomain = nil, wanport = nil) ⇒ AddressInfo
constructor
A new instance of AddressInfo.
Constructor Details
#initialize(resourceid = nil, uniqvpcid = nil, uniqsubnetid = nil, vip = nil, vport = nil, wandomain = nil, wanport = nil) ⇒ AddressInfo
Returns a new instance of AddressInfo.
173 174 175 176 177 178 179 180 181 |
# File 'lib/v20170320/models.rb', line 173 def initialize(resourceid=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil, wandomain=nil, wanport=nil) @ResourceId = resourceid @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @Vip = vip @VPort = vport @WanDomain = wandomain @WanPort = wanport end |
Instance Attribute Details
#ResourceId ⇒ Object
171 172 173 |
# File 'lib/v20170320/models.rb', line 171 def ResourceId @ResourceId end |
#UniqSubnetId ⇒ Object
171 172 173 |
# File 'lib/v20170320/models.rb', line 171 def UniqSubnetId @UniqSubnetId end |
#UniqVpcId ⇒ Object
171 172 173 |
# File 'lib/v20170320/models.rb', line 171 def UniqVpcId @UniqVpcId end |
#Vip ⇒ Object
171 172 173 |
# File 'lib/v20170320/models.rb', line 171 def Vip @Vip end |
#VPort ⇒ Object
171 172 173 |
# File 'lib/v20170320/models.rb', line 171 def VPort @VPort end |
#WanDomain ⇒ Object
171 172 173 |
# File 'lib/v20170320/models.rb', line 171 def WanDomain @WanDomain end |
#WanPort ⇒ Object
171 172 173 |
# File 'lib/v20170320/models.rb', line 171 def WanPort @WanPort end |
Instance Method Details
#deserialize(params) ⇒ Object
183 184 185 186 187 188 189 190 191 |
# File 'lib/v20170320/models.rb', line 183 def deserialize(params) @ResourceId = params['ResourceId'] @UniqVpcId = params['UniqVpcId'] @UniqSubnetId = params['UniqSubnetId'] @Vip = params['Vip'] @VPort = params['VPort'] @WanDomain = params['WanDomain'] @WanPort = params['WanPort'] end |