Class: TencentCloud::Postgres::V20170312::DBInstanceNetInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DBInstanceNetInfo
- Defined in:
- lib/v20170312/models.rb
Overview
描述实例的网络连接信息。
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Ip ⇒ Object
- #NetType ⇒ Object
- #Port ⇒ Object
- #ProtocolType ⇒ Object
- #Status ⇒ Object
- #SubnetId ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(address = nil, ip = nil, port = nil, nettype = nil, status = nil, vpcid = nil, subnetid = nil, protocoltype = nil) ⇒ DBInstanceNetInfo
constructor
A new instance of DBInstanceNetInfo.
Constructor Details
#initialize(address = nil, ip = nil, port = nil, nettype = nil, status = nil, vpcid = nil, subnetid = nil, protocoltype = nil) ⇒ DBInstanceNetInfo
1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 |
# File 'lib/v20170312/models.rb', line 1807 def initialize(address=nil, ip=nil, port=nil, nettype=nil, status=nil, vpcid=nil, subnetid=nil, protocoltype=nil) @Address = address @Ip = ip @Port = port @NetType = nettype @Status = status @VpcId = vpcid @SubnetId = subnetid @ProtocolType = protocoltype end |
Instance Attribute Details
#Address ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def Address @Address end |
#Ip ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def Ip @Ip end |
#NetType ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def NetType @NetType end |
#Port ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def Port @Port end |
#ProtocolType ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def ProtocolType @ProtocolType end |
#Status ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def Status @Status end |
#SubnetId ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def SubnetId @SubnetId end |
#VpcId ⇒ Object
1805 1806 1807 |
# File 'lib/v20170312/models.rb', line 1805 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'lib/v20170312/models.rb', line 1818 def deserialize(params) @Address = params['Address'] @Ip = params['Ip'] @Port = params['Port'] @NetType = params['NetType'] @Status = params['Status'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @ProtocolType = params['ProtocolType'] end |