Class: TencentCloud::Tione::V20211111::ExposeNetworkConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::ExposeNetworkConfig
- Defined in:
- lib/v20211111/models.rb
Overview
暴露网络配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sshconfig = nil, exposeportconfig = nil) ⇒ ExposeNetworkConfig
constructor
A new instance of ExposeNetworkConfig.
Constructor Details
#initialize(sshconfig = nil, exposeportconfig = nil) ⇒ ExposeNetworkConfig
Returns a new instance of ExposeNetworkConfig.
4359 4360 4361 4362 |
# File 'lib/v20211111/models.rb', line 4359 def initialize(sshconfig=nil, exposeportconfig=nil) @SSHConfig = sshconfig @ExposePortConfig = exposeportconfig end |
Instance Attribute Details
#ExposePortConfig ⇒ Object
4357 4358 4359 |
# File 'lib/v20211111/models.rb', line 4357 def ExposePortConfig @ExposePortConfig end |
#SSHConfig ⇒ Object
4357 4358 4359 |
# File 'lib/v20211111/models.rb', line 4357 def SSHConfig @SSHConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 |
# File 'lib/v20211111/models.rb', line 4364 def deserialize(params) unless params['SSHConfig'].nil? @SSHConfig = SSHConfig.new @SSHConfig.deserialize(params['SSHConfig']) end unless params['ExposePortConfig'].nil? @ExposePortConfig = ExposePortConfig.new @ExposePortConfig.deserialize(params['ExposePortConfig']) end end |