Class: TencentCloud::Tione::V20211111::PodSSHInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::PodSSHInfo
- Defined in:
- lib/v20211111/models.rb
Overview
SSH pod访问信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(host = nil, port = nil, logincommand = nil) ⇒ PodSSHInfo
constructor
A new instance of PodSSHInfo.
Constructor Details
#initialize(host = nil, port = nil, logincommand = nil) ⇒ PodSSHInfo
Returns a new instance of PodSSHInfo.
7125 7126 7127 7128 7129 |
# File 'lib/v20211111/models.rb', line 7125 def initialize(host=nil, port=nil, logincommand=nil) @Host = host @Port = port @LoginCommand = logincommand end |
Instance Attribute Details
#Host ⇒ Object
7123 7124 7125 |
# File 'lib/v20211111/models.rb', line 7123 def Host @Host end |
#LoginCommand ⇒ Object
7123 7124 7125 |
# File 'lib/v20211111/models.rb', line 7123 def LoginCommand @LoginCommand end |
#Port ⇒ Object
7123 7124 7125 |
# File 'lib/v20211111/models.rb', line 7123 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
7131 7132 7133 7134 7135 |
# File 'lib/v20211111/models.rb', line 7131 def deserialize(params) @Host = params['Host'] @Port = params['Port'] @LoginCommand = params['LoginCommand'] end |