Class: TencentCloud::Tke::V20180525::TcpSocket
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::TcpSocket
- Defined in:
- lib/v20180525/models.rb
Overview
探针使用TcpSocket检测容器
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil) ⇒ TcpSocket
constructor
A new instance of TcpSocket.
Constructor Details
#initialize(port = nil) ⇒ TcpSocket
Returns a new instance of TcpSocket.
20134 20135 20136 |
# File 'lib/v20180525/models.rb', line 20134 def initialize(port=nil) @Port = port end |
Instance Attribute Details
#Port ⇒ Object
20132 20133 20134 |
# File 'lib/v20180525/models.rb', line 20132 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
20138 20139 20140 |
# File 'lib/v20180525/models.rb', line 20138 def deserialize(params) @Port = params['Port'] end |