Class: TencentCloud::Tse::V20201207::InstancePort
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::InstancePort
- Defined in:
- lib/v20201207/models.rb
Overview
实例监听端口信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(httpport = nil, httpsport = nil, tcpport = nil, udpport = nil) ⇒ InstancePort
constructor
A new instance of InstancePort.
Constructor Details
#initialize(httpport = nil, httpsport = nil, tcpport = nil, udpport = nil) ⇒ InstancePort
Returns a new instance of InstancePort.
8486 8487 8488 8489 8490 8491 |
# File 'lib/v20201207/models.rb', line 8486 def initialize(httpport=nil, httpsport=nil, tcpport=nil, udpport=nil) @HttpPort = httpport @HttpsPort = httpsport @TcpPort = tcpport @UdpPort = udpport end |
Instance Attribute Details
#HttpPort ⇒ Object
8484 8485 8486 |
# File 'lib/v20201207/models.rb', line 8484 def HttpPort @HttpPort end |
#HttpsPort ⇒ Object
8484 8485 8486 |
# File 'lib/v20201207/models.rb', line 8484 def HttpsPort @HttpsPort end |
#TcpPort ⇒ Object
8484 8485 8486 |
# File 'lib/v20201207/models.rb', line 8484 def TcpPort @TcpPort end |
#UdpPort ⇒ Object
8484 8485 8486 |
# File 'lib/v20201207/models.rb', line 8484 def UdpPort @UdpPort end |
Instance Method Details
#deserialize(params) ⇒ Object
8493 8494 8495 8496 8497 8498 |
# File 'lib/v20201207/models.rb', line 8493 def deserialize(params) @HttpPort = params['HttpPort'] @HttpsPort = params['HttpsPort'] @TcpPort = params['TcpPort'] @UdpPort = params['UdpPort'] end |