Class: TencentCloud::Postgres::V20170312::DBInstanceNetInfo

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

Overview

描述实例的网络连接信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AddressObject



1805
1806
1807
# File 'lib/v20170312/models.rb', line 1805

def Address
  @Address
end

#IpObject



1805
1806
1807
# File 'lib/v20170312/models.rb', line 1805

def Ip
  @Ip
end

#NetTypeObject



1805
1806
1807
# File 'lib/v20170312/models.rb', line 1805

def NetType
  @NetType
end

#PortObject



1805
1806
1807
# File 'lib/v20170312/models.rb', line 1805

def Port
  @Port
end

#ProtocolTypeObject



1805
1806
1807
# File 'lib/v20170312/models.rb', line 1805

def ProtocolType
  @ProtocolType
end

#StatusObject



1805
1806
1807
# File 'lib/v20170312/models.rb', line 1805

def Status
  @Status
end

#SubnetIdObject



1805
1806
1807
# File 'lib/v20170312/models.rb', line 1805

def SubnetId
  @SubnetId
end

#VpcIdObject



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