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.
18622 18623 18624 |
# File 'lib/v20180525/models.rb', line 18622 def initialize(port=nil) @Port = port end |
Instance Attribute Details
#Port ⇒ Object
18620 18621 18622 |
# File 'lib/v20180525/models.rb', line 18620 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
18626 18627 18628 |
# File 'lib/v20180525/models.rb', line 18626 def deserialize(params) @Port = params['Port'] end |